diff options
| author | Lee <nanxiaobei@gmail.com> | 2018-01-09 00:28:39 +0800 |
|---|---|---|
| committer | Lee <nanxiaobei@gmail.com> | 2018-01-09 00:28:39 +0800 |
| commit | 6315d0ab8f4a7ded53342d2f97d47305901bbdb8 (patch) | |
| tree | 79085165b7e2586b6b07a3f13e7c2560842adf40 /layouts/_default/single.html | |
| parent | ae9627cb6fb805d95fa28038a662066bdafd1492 (diff) | |
Initial commit
Diffstat (limited to 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..70b88b8 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,23 @@ +{{ partial "header.html" . }} +<article class="post post-view"> + <header class="post-header"> + <h1 class="post-title">{{ .Title }}</h1> + <p class="post-meta"> + {{- if or .Params.author .Site.Params.author -}} + {{ .Params.author | default .Site.Params.author }} ยท {{ end }} + {{- .Date.Format "2006.1.2" -}} + </p> + </header> + <div class="post-content">{{ .Content }}</div> + <footer class="post-footer"> + {{ if .Params.tags }} + <ul class="post-tags"> + {{ range .Params.tags }} + <li><a href="{{ `/tags/` | absURL }}{{ . | urlize }}/">{{ . }}</a></li> + {{ end }} + </ul> + {{ end }} + </footer> + <!-- Comments system area --> +</article> +{{ partial "footer.html" . }}
\ No newline at end of file |
