From 3a1d7848cb3ceb122b573737b4fba8106792ab5d Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Thu, 11 Jul 2024 02:38:39 +0100 Subject: initial commit --- templates/archives.html | 3 +++ templates/base.html | 40 ++++++++++++++++++++++++++++++++++++++++ templates/default.html | 33 +++++++++++++++++++++++++++++++++ templates/post-list.html | 7 +++++++ templates/post.html | 30 ++++++++++++++++++++++++++++++ templates/sitemap.xml | 23 +++++++++++++++++++++++ templates/tag.html | 4 ++++ templates/thumbs.html | 27 +++++++++++++++++++++++++++ 8 files changed, 167 insertions(+) create mode 100644 templates/archives.html create mode 100644 templates/base.html create mode 100644 templates/default.html create mode 100644 templates/post-list.html create mode 100644 templates/post.html create mode 100644 templates/sitemap.xml create mode 100644 templates/tag.html create mode 100644 templates/thumbs.html (limited to 'templates') diff --git a/templates/archives.html b/templates/archives.html new file mode 100644 index 0000000..2398a94 --- /dev/null +++ b/templates/archives.html @@ -0,0 +1,3 @@ +
+ $partial("templates/post-list.html")$ +
\ No newline at end of file diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..c818385 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,40 @@ + + + + + + + + $if(title)$ + info{culture} - $title$ + $else$ + info{culture} + $endif$ + + + + + +
+ infoculture +
+ + + + $body$ + + + + + \ No newline at end of file diff --git a/templates/default.html b/templates/default.html new file mode 100644 index 0000000..e91badc --- /dev/null +++ b/templates/default.html @@ -0,0 +1,33 @@ + + + + + + + My Hakyll Blog - $title$ + + + +
+ + +
+ +
+

$title$

+ $body$ +
+ + + + diff --git a/templates/post-list.html b/templates/post-list.html new file mode 100644 index 0000000..22fcc2f --- /dev/null +++ b/templates/post-list.html @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..77986ae --- /dev/null +++ b/templates/post.html @@ -0,0 +1,30 @@ +
+
+ $if(thumbnail)$ +
$thumbnail$
+ $endif$ +
+
+
+

$title$

+ permalink + raw +
+
+ $if(author)$ +

$author$

+ $endif$ +

$date$

+ $if(tags)$ +

$tags$

+ $endif$ +
+
+
+
+
+ $body$ +
+
+
+
\ No newline at end of file diff --git a/templates/sitemap.xml b/templates/sitemap.xml new file mode 100644 index 0000000..1ff6a8e --- /dev/null +++ b/templates/sitemap.xml @@ -0,0 +1,23 @@ + + + + $root$ + daily + 1.0 + +$for(pages)$ + + $root$$url$ + $if(updated)$$updated$$else$$if(date)$$date$$endif$$endif$ + weekly + 0.8 + +$endfor$ + diff --git a/templates/tag.html b/templates/tag.html new file mode 100644 index 0000000..3909f17 --- /dev/null +++ b/templates/tag.html @@ -0,0 +1,4 @@ +
+

$title$

+ $partial("templates/post-list.html")$ +
\ No newline at end of file diff --git a/templates/thumbs.html b/templates/thumbs.html new file mode 100644 index 0000000..91cfd74 --- /dev/null +++ b/templates/thumbs.html @@ -0,0 +1,27 @@ +
+ $for(posts)$ +
+ $if(thumbnail)$ +
$thumbnail$
+
+ $endif$ + + $if(subtitle)$ +
+ $subtitle$ +
+ $endif$ +
+ $endfor$ +
\ No newline at end of file -- cgit