aboutsummaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-05-15 03:07:21 +0300
committerValentin Popov <info@valentineus.link>2018-05-15 03:16:48 +0300
commit377877f3bd98ab4dd4a8db2c2a1d28fb5bab96fb (patch)
treebae73056c4fd1d7b0e11b68fc68f61099260c97b /_layouts/post.html
parent08e2450b5977cf4f03f94a810aef87294f198480 (diff)
downloadpopov.link-377877f3bd98ab4dd4a8db2c2a1d28fb5bab96fb.tar.xz
popov.link-377877f3bd98ab4dd4a8db2c2a1d28fb5bab96fb.zip
Post template
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html22
1 files changed, 12 insertions, 10 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index 8cfd061..b573239 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -2,15 +2,17 @@
layout: default
---
-<div class="content">
- <article>
- <header>
- <small><time datetime="{{ page.date | date_to_xmlschema}}">{{ page.date | date_to_long_string }}</time></small>
- <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1>
- </header>
+<article>
+ <header>
+ <h1>
+ {{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
+ <p>
+ <small><time datetime="{{ page.date | date_to_xmlschema}}">{{ page.date | date_to_long_string }}</time></small>
+ </p>
+ </h1>
+ </header>
- {{ content }}
+ {{ content }}
- {% include disqus.html %}
- </article>
-</div>
+ {% include disqus.html %}
+</article>