-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
42 lines (38 loc) · 1.25 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
---
postFilters: layout
postProcessFilters: template-ejs
layout: home.html
makeListLatestVars:
_ALL_: 10
section.announcements: 4
section.end_users: 4
section.games: 4
section.humour: 4
section.interviews: 4
section.reviews: 4
section.hacking: 4
section.opinions: 4
---
<% function showList(info, title, section) { %>
<h3 class="mt-5"><%= title %></h3>
<hr class="mt-0">
<div class="row">
<!-- FIXME: Generation does not work here -->
<% info.listLatestData[section].forEach(function(article) { %>
<div class="col-sm-6 col-lg-4 mb-4">
<%- include('articleCard', { article: article }); %>
</div>
<% }); %>
</div>
<% } %>
<% showList(info, 'All', '_ALL_') %>
<% showList(info, 'Development', 'section.opinions') %>
<% showList(info, 'Hacking', 'section.hacking') %>
<% showList(info, 'End Users', 'section.end_users') %>
<% showList(info, 'Games', 'section.games') %>
<% showList(info, 'Humour', 'section.humour') %>
<% showList(info, 'Interviews', 'section.interviews') %>
<% showList(info, 'Reviews', 'section.reviews') %>
<% showList(info, 'Announcements', 'section.announcements') %>
<hr class="my-5">
<p class="text-center">We organise Free Software Magazine with <a href="http://www.apollohq.com">Apollo Project Management</a></p>