From ed161e7fb20a697ecba070ef7db4c231d700f245 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 25 Mar 2020 05:12:40 +0100 Subject: Move to my own static generator --- templates/index.twig | 56 ++++++++++++++++++++++++++++++++++++ templates/page.twig | 52 +++++++++++++++++++++++++++++++++ templates/partials/navigation.twig | 6 ++++ templates/post.twig | 59 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 173 insertions(+) create mode 100644 templates/index.twig create mode 100644 templates/page.twig create mode 100644 templates/partials/navigation.twig create mode 100644 templates/post.twig (limited to 'templates') diff --git a/templates/index.twig b/templates/index.twig new file mode 100644 index 0000000..4a0eb00 --- /dev/null +++ b/templates/index.twig @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + {{ global.title }} + + + + + + + + + + + + + + + + + + +
+ + {% include "partials/navigation.twig" %} + +

Notes

+ + + +
+ + + {{ global.ga }} + + + + diff --git a/templates/page.twig b/templates/page.twig new file mode 100644 index 0000000..128e321 --- /dev/null +++ b/templates/page.twig @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + {{ options.title }} + + + + + + + + + + + + + + + + + + +
+ + {% include "partials/navigation.twig" %} + +
+
+

{{ options.title }}

+
+ {{ content }} +
+ +
+ + + {{ global.ga }} + + + + diff --git a/templates/partials/navigation.twig b/templates/partials/navigation.twig new file mode 100644 index 0000000..cff6152 --- /dev/null +++ b/templates/partials/navigation.twig @@ -0,0 +1,6 @@ + diff --git a/templates/post.twig b/templates/post.twig new file mode 100644 index 0000000..bd9fdaa --- /dev/null +++ b/templates/post.twig @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + {{ options.title }} + + + + + + + + + + + + + + + + + + +
+ + {% include "partials/navigation.twig" %} + +
+
+

{{ options.title }}

+
+ + by {{ global.author }} +
+
+ {{ content }} +
+ +
+ + + {{ global.highlight }} + + + {{ global.ga }} + + + + -- cgit v1.2.3