forked from cssbristol/cssbristol.co.uk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
30 lines (27 loc) · 978 Bytes
/
index.html
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
---
layout: default
hero:
pretitle: University of Bristol
title: Computer Science Society
buttons:
- location: /newsletter
text: Newsletter
- location: /event/2016/11/11/bae-capture-the-flag
text: Cyber Security CTF
---
<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 %}
</div>
</div>
{% include social-links.html %}
{% include twitter-feed.html %}