index.tt (1776B)
1 ---
2 title: "Zeitung"
3 subtitle: "There are [COUNT] articles today."
4 date: "[% feed.modified %]"
5 titlepage: true
6 titlepage-text-color: "FFFFFF"
7 titlepage-rule-color: "360049"
8 titlepage-rule-height: 0
9 titlepage-background: "templates/background.pdf"
10 toc: true
11 toc-depth: 1
12 toc-own-page: true
13 number-sections: true
14 book: true
15 papersize: a4
16 documentclass: article
17 header-includes:
18 - \usepackage{multicol}
19 - \newcommand{\hideFromPandoc}[1]{#1}
20 - \hideFromPandoc{\let\Begin\begin \let\End\end}
21 ---
22
23 # Overview
24
25 [% FOREACH entry IN feed.entries %]
26 <!--START:[% entry.issued | html %]-->
27 #### ([NUMBER]/[COUNT]) [% entry.title | html %] {#overview-HASH:[% entry.link | url | html %]:HASH}
28
29 - [% entry.issued | html %][% IF entry.author %] by [% entry.author | html %][% END %] via DOMAIN:[% entry.link | url | html %]:DOMAIN
30 - _[[Read article](#HASH:[% entry.link | url | html %]:HASH)]_
31
32 [% IF entry.summary.body %] [% entry.summary.body %] [% ELSE %] [% entry.content.body %] [% END %]
33
34 <!--STOP:[% entry.issued | html %]-->
35 [% END %]
36
37 ---
38
39 \newpage
40
41 # Articles
42
43 \Begin{multicols}{2}
44
45 [% FOREACH entry IN feed.entries %]
46 <!--START:[% entry.issued | html %]-->
47 ## [% entry.title | html %] {#HASH:[% entry.link | url | html %]:HASH}
48
49 - [% entry.issued | html %][% IF entry.author %] by [% entry.author | html %][% END %]
50 - _[[Read article on DOMAIN:[% entry.link | url | html %]:DOMAIN]([% entry.link | url | html %])]_
51 - _[[Back to the overview](#overview-HASH:[% entry.link | url | html %]:HASH)]_
52
53 [% IF entry.content.body %]
54 [% entry.content.body %]
55 [% ELSE %]
56 The content of the article could not be found.
57 [% END %]
58
59 _[[Back to the overview](#overview-HASH:[% entry.link | url | html %]:HASH)]_
60
61 ---
62 <!--STOP:[% entry.issued | html %]-->
63 [% END %]
64
65 \End{multicols}