summaryrefslogtreecommitdiff
path: root/template.txt
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2019-12-31 02:31:23 +1030
committerDaniel Jones <admin@danieljon.es>2019-12-31 02:31:23 +1030
commite4582742b95840f234b47c8f7b264ac3867fc817 (patch)
tree11af87d417204ad5a06024a786710345180ec974 /template.txt
parent1bc7d1547275671f3243ea16cacad0aea6cef649 (diff)
downloadwebsitegenerator-e4582742b95840f234b47c8f7b264ac3867fc817.tar.gz
websitegenerator-e4582742b95840f234b47c8f7b264ac3867fc817.zip
start generating posts
currently gets every file in the posts directory, sorts them and temporarily creates empty txt files in output/posts. lots to do still.
Diffstat (limited to 'template.txt')
-rw-r--r--template.txt15
1 files changed, 13 insertions, 2 deletions
diff --git a/template.txt b/template.txt
index 6542c90..df43a69 100644
--- a/template.txt
+++ b/template.txt
@@ -11,13 +11,24 @@
<!--<link rel="icon" type="image/png" href="https://danieljon.es/favicon.png">-->
<title>{TITLE}</title>
<style>
-body{font-family: "Misc Fixed"; font-weight: bold; /*background: #aaaaaa;*/}
+@font-face
+{
+ font-family: 'Agave-Regular';
+ src: url(/media/fonts/Agave-Regular.eot);
+ src: url(/media/fonts/Agave-Regular.eot?#iefix) format('embedded-opentype'),
+ url(/media/fonts/Agave-Regular.woff2) format('woff2'),
+ url(/media/fonts/Agave-Regular.woff) format('woff'),
+ url(/media/fonts/Agave-Regular.ttf) format('truetype'),
+ url(/media/fontsassets/Agave-Regular.svg#Agave-Regular) format('svg');
+}
+
+body{font-family: "Agave-Regular"; background: #d2d2d2;}
img{max-width: 100%; max-height: 100%; overflow: hidden;}
pre{overflow: auto; border-width: 1px; border-style: solid; border-color: black}
.middle{text-align: center;}
.middiv{margin: auto; width: 80%;}
#gentag{text-align: center; font-size: 75%;}
-h1,h2,h3,h4{font-family: "Misc Fixed"; padding-left: 5px;}
+h1,h2,h3,h4{font-family: "Agave-Regular"; padding-left: 5px;}
hr{border-color: black;}
div.viewing{max-width: 70%; width: 100%; display: inline-block; margin: 10px;}
div.cover{display:inline-block; vertical-align: top; padding-top: 28px; padding-left: 15px; padding-bottom: 20px;}