From 9fce418b46c9f0894f429384ef9e3dabaeffbeb4 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 14 Apr 2015 16:36:17 -0700 Subject: Change file hierarchy and rewrite makefile - File hierarchy is now as follows: - / - appendix/ < appendix source files - backlinks/ < backlink sources & builds - hapax/ < *.hapax source files - scripts/ < scripts, like *.js, *.hs, etc. - templates/ < templates for outputs - text/ < source files - trunk/ < assets, like css, images, heads, etc. - index.html - *.html - Makefile --- templates/backlinks.html | 124 +++++++++++++++++++++++++++++++++++++++++++++ templates/page.html | 128 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 252 insertions(+) create mode 100644 templates/backlinks.html create mode 100644 templates/page.html (limited to 'templates') diff --git a/templates/backlinks.html b/templates/backlinks.html new file mode 100644 index 0000000..52d3657 --- /dev/null +++ b/templates/backlinks.html @@ -0,0 +1,124 @@ + + + + + + + + + + + $title$ | Autocento of the breakfast table + + + + + + + + $for(header-includes)$ + $headerincludes$ + $endfor$ + + + $for(include-before)$ $include-before$ $endfor$ + +
+
+ + $if(title)$

$title$

$endif$ + $if(subtitle)$

$subtitle$

$endif$ + +
+ $if(dedication)$ + +
$dedication$
+ $endif$ + + $if(epigraph.content)$ + +
+ $if(epigraph.link)$ + $epigraph.content$ + $else$ + $epigraph.content$ + $endif$ + + $if(epigraph.attrib)$ +
$epigraph.attrib$
+ $endif$ +
+ $endif$ +
+
+ + $if(ekphrastic.image)$ +
+ $if(ekphrastic.link)$ + + $ekphrastic.alt$ + + $else$ + $ekphrastic.alt$ + $endif$ +
+ $endif$ + +
+ $body$ +
+
+ + + $for(include-after)$ $include-after$ $endfor$ + + diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..dda13e1 --- /dev/null +++ b/templates/page.html @@ -0,0 +1,128 @@ + + + + + + + + + + +$title$ | Autocento of the breakfast table + + + + + + + +$for(header-includes)$ +$headerincludes$ +$endfor$ + + +$for(include-before)$ +$include-before$ +$endfor$ + +
+
+ +$if(title)$

$title$

$endif$ +$if(subtitle)$

$subtitle$

$endif$ + +
+$if(dedication)$ + +
$dedication$
+$endif$ + +$if(epigraph.content)$ + +
+$if(epigraph.link)$ +$epigraph.content$ +$else$ +$epigraph.content$ +$endif$ + +$if(epigraph.attrib)$ +
$epigraph.attrib$
+$endif$ +
+$endif$ +
+
+ +$if(ekphrastic.image)$ +
+$if(ekphrastic.link)$ + + + +$else$ + +$endif$ +
+$endif$ + +
+$body$ +
+
+ + +$for(include-after)$ +$include-after$ +$endfor$ + + -- cgit 1.4.1-21-gabe81