pub / zeitung

News-Aggregator in newspaper style as HTML/PDF/EPUB
git clone src.jayvii.de/pub/zeitung.git
Home | Log | Files | Exports | Refs | README | RSS

index.tt (1577B)


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