diff options
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 %} |