diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-01-13 11:20:02 +0100 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-01-31 14:31:07 +0100 |
commit | 64a13956d5611117c7ec4913a79363694f1e70c3 (patch) | |
tree | 849800993cef582f3378e346c7d9d726308a788d /doc-tool/resources/_layouts | |
parent | be9c3799aad4c5712f85948e0e4c29321bdcb9a4 (diff) | |
download | dotty-64a13956d5611117c7ec4913a79363694f1e70c3.tar.gz dotty-64a13956d5611117c7ec4913a79363694f1e70c3.tar.bz2 dotty-64a13956d5611117c7ec4913a79363694f1e70c3.zip |
Add missing info to blog posts
Diffstat (limited to 'doc-tool/resources/_layouts')
-rw-r--r-- | doc-tool/resources/_layouts/blog.html | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/doc-tool/resources/_layouts/blog.html b/doc-tool/resources/_layouts/blog.html index 2125440e9..d7a08414a 100644 --- a/doc-tool/resources/_layouts/blog.html +++ b/doc-tool/resources/_layouts/blog.html @@ -1,4 +1,28 @@ --- -layout: doc-page +layout: doc --- -{{ content }} + +<div id="post-title"> + <h3 id="post-date"> + {{ page.date | date: '%B %d, %Y' }} + </h3> + <h1 id="main-title">{{ page.title }}</h1> + {% if page.subTitle %} + <h2 id="sub-title">{{ page.subTitle }}</h2> + {% endif %} +</div> + +<div id="blog-post-container"> + {{ content }} +</div> + +{% if page.author %} +<div id="post-footer"> + {% if page.authorImg %} + <img id="author-image" src="{{ site.baseurl }}/{{ page.authorImg }}"> + {% endif %} + <span id="post-author"> + {% if page.authorImg == null %}- {% endif %}{{ page.author }} + </span> +</div> +{% endif %} |