summaryrefslogtreecommitdiffhomepage
path: root/themes/docsy/layouts/blog/content.html
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-03-29 22:40:11 -0400
committerIan Lewis <ianmlewis@gmail.com>2019-03-29 22:40:11 -0400
commit22f1890a9beab11d8cfdceba3a4d66f8bbbb468c (patch)
tree110ec3a84a72560244ee4476852295b86a737eb0 /themes/docsy/layouts/blog/content.html
Initial commit
Diffstat (limited to 'themes/docsy/layouts/blog/content.html')
-rw-r--r--themes/docsy/layouts/blog/content.html16
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 000000000..7193b191d
--- /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>