diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/single.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..f74ec16 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,26 @@ +{{ define "main" }} +{{ if .Menus }} +<nav class="post-navigation"> + {{ range .Menus }} + <a href="{{ .URL | absLangURL }}" title="{{ .Title }}">{{ .Name }}</a> + {{ end }} +</nav> +{{ end }} + +<article class="post h-entry"> + <header class="post-header"> + <h1 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}">{{ trim .Title " " }}</h1> + </header> + <div class="content e-content"> + {{ .Content }} + </div> + {{ partial "postInfo.html" . }} +</article> + +{{ if and (.Site.Params.paginationSinglePost) (ne .Type "page") }} +{{ partial "paginationPost.html" . }} +{{ end }} + +{{ partial "custom-webring.html" }} + +{{ end }} |