diff options
Diffstat (limited to 'themes/docsy/layouts/blog/content.html')
-rw-r--r-- | themes/docsy/layouts/blog/content.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/themes/docsy/layouts/blog/content.html b/themes/docsy/layouts/blog/content.html new file mode 100644 index 0000000..7193b19 --- /dev/null +++ b/themes/docsy/layouts/blog/content.html @@ -0,0 +1,16 @@ +<div class="td-content"> + <h1>{{ .Title }}</h1> + {{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }} + <div class="td-byline mb-4"> + {{ with .Params.author }}{{ T "post_byline_by" }} <b>{{ . | markdownify }}</b> |{{ end}} + <time datetime="{{ $.Date.Format "2006-01-02" }}" class="text-muted">{{ $.Date.Format $.Site.Params.time_format_blog }}</time> + </div> + {{ .Content }} + {{ if (.Site.DisqusShortname) }} + <br /> + {{ partial "disqus-comment.html" . }} + <br /> + {{ end }} + + {{ partial "pager.html" . }} +</div> |