forked from cssbristol/cssbristol.co.uk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (33 loc) · 1.09 KB
/
index.html
File metadata and controls
36 lines (33 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
layout: default
hero:
pretitle: University of Bristol
title: Computer Science Society
buttons:
---
<!--
<div class="page-section hero ">
<h1 style="font-weight: 700">
<img style="width: 2em; height: 2em;" src="/assets/images/contrib/1up.png" alt="" />
</h1>
<p>
</p>
</div>
--!>
<div class="page-section">
<h1>Latest</h1>
<div class="featured-items">
{% for post in site.posts limit:4 %}
<a class="featured-item featured-item--{{ site.data.colour-names | sample }} {% if post.category %}featured-item--{{ post.category }}{% endif %}" href="{{ post.url }}">
<h3 class="featured-item__title">{{ post.title }}</h3>
<p class="featured-item__meta">{{ post.author }} on {{ post.date | date: '%B %d, %Y' }}</p>
{% if post.category == "event" %}
<p class="featured-item__meta">Event: {{ post.event_date | date: '%B %d, %Y' }}</p>
{% endif %}
</a>
{% endfor %}
<p><a href="/blog" class="btn">More</a></p>
</div>
</div>
{% include social-links.html %}
{% include twitter-feed.html %}