From 0a267e4172dc893963feb27fc5d1f405f9e6d7b1 Mon Sep 17 00:00:00 2001 From: sijanec Date: Thu, 5 Nov 2020 18:44:37 +0100 Subject: initial commit --- _layouts/author.html | 28 ++++++++++++++++++++++++++++ _layouts/default.html | 21 +++++++++++++++++++++ _layouts/post.html | 23 +++++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 _layouts/author.html create mode 100644 _layouts/default.html create mode 100644 _layouts/post.html (limited to '_layouts') diff --git a/_layouts/author.html b/_layouts/author.html new file mode 100644 index 0000000..7c5cddc --- /dev/null +++ b/_layouts/author.html @@ -0,0 +1,28 @@ +--- +layout: default +--- +

+ {{ page.name }} +

+

+ {{ page.position }} +

+{{ content }} + +

objave:

+ diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..1f3aee4 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,21 @@ + + + + + + {{ page.title }} + + + + {% feed_meta %} + {% seo %} + {% if jekyll.environment == "production" %} + + {% endif %} + + + {% include navigation.html %} + {{ content }} + {% include footer.html %} + + diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..4e63808 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,23 @@ +--- +layout: default +--- +

+ {{ page.title }} +

+

+ {{ page.date | date: site.short_date_format }} + {% assign author = site.authors | where: 'short_name', page.author | first %} + {% assign anon = site.authors | where: 'short_name', "anonymous" | first %} + - + {% if author %} + + {{ author.name }} + + {% else %} + + {{ anon.name }} + + {% endif %} +

+ +{{ content }} -- cgit v1.2.3