diff options
author | Valentin Popov <info@valentineus.link> | 2019-05-03 03:02:31 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2019-05-03 03:02:31 +0300 |
commit | 5668edea38da9fd1cad629db9c768ff19e62e094 (patch) | |
tree | 80f9ecfb2ad32304c61d1f7aecae955d7cf4ecf2 /_layouts | |
parent | 515a3ed0a74bdc10861c12f3798b19c3c9ff44f9 (diff) | |
download | popov.link-5668edea38da9fd1cad629db9c768ff19e62e094.tar.xz popov.link-5668edea38da9fd1cad629db9c768ff19e62e094.zip |
Have added new structure sites
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/default.html | 7 | ||||
-rw-r--r-- | _layouts/page.html | 12 | ||||
-rw-r--r-- | _layouts/post.html | 21 |
3 files changed, 24 insertions, 16 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 0b2b632..5da4845 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -7,10 +7,9 @@ layout: compress {% include head.html %} <body> - {% include navbar.html %} + {{ content }} - <main class="container" role="main"> - {{ content }} - </main> + {% include aside.html %} </body> + </html> diff --git a/_layouts/page.html b/_layouts/page.html index 42c6c1c..561017a 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -2,10 +2,10 @@ layout: default --- -<article> - <hr /> +<main class="container" role="main"> + <header> + <h1>{{ page.title | default: site.title | strip_newlines | strip_html| strip | normalize_whitespace | smartify | xml_escape }}</h1> + </header> - <section role="article"> - {{ content }} - </section> -</article> + {{ content }} +</main> diff --git a/_layouts/post.html b/_layouts/post.html index 9d63a38..c792d23 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,13 +2,22 @@ layout: default --- -<article> - <hr /> +<article class="container" role="main"> + <header> + <h1>{{ page.title | strip_newlines | strip_html| strip | normalize_whitespace | smartify | xml_escape }}</h1> - <section role="article"> - {{ content }} - </section> + <small> + Published <time datetime="{{ page.date | date_to_xmlschema }}"> + {{ page.date | date: '%Y-%m-%d' | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} + </time> on <a href="{{ site.url | absolute_url | uri_escape }}" target="_self"> + {{ site.title | strip_newlines | strip_html| strip | normalize_whitespace | smartify | xml_escape }} + </a> | <a href="{{ page.url | absolute_url | uri_escape }}" target="_blank"> + Permalink + </a> + </small> + </header> + + {{ content }} - <!-- Comments --> {% include disqus.html %} </article> |