diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 5010828..25ea32c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -17,33 +17,36 @@ {{ if .Params.tags }} - - {{ range .Params.tags }} - #{{ . }}  - {{ end }} - + + {{ range .Params.tags }} + # + {{- . -}} +   + {{ end }} + {{ end }} {{ with .Params.Cover }} - + {{ end }}
{{ if .Params.showFullContent }} - {{ .Content | markdownify }} + {{ .Content | markdownify }} {{ else if .Description }} - {{ .Description | markdownify }} + {{ .Description | markdownify }} {{ else }} - {{ if .Truncated }} - {{ .Summary | markdownify }} - {{ end }} + {{ if .Truncated }} + {{ .Summary | markdownify }} + {{ end }} {{ end }}
{{ if not .Params.showFullContent }} -
- {{ $.Site.Params.ReadMore }} → -
+
+ {{ $.Site.Params.ReadMore }} → +
{{ end }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 700d737..dafde5a 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,61 +1,67 @@ {{ define "main" }} -
-

{{ .Title | markdownify }}

-
- - {{ with .Params.Author }}{{ end }} -
- - {{ if .Params.tags }} - - {{ range .Params.tags }} - #{{ . }}  - {{ end }} - +
+

+ {{ .Title | markdownify }}

+ + + {{ if .Params.tags }} + + {{ end }} + + {{ with .Params.Cover }} + + {{ end }} + + {{ if .Params.Toc }} +
+ {{ .TableOfContents }} +
+ {{ end }} + +
+ {{ .Content }} +
+ {{ if or .NextInSection .PrevInSection }} + + {{ end }} + + {{ partial "comments.html" . }} +
{{ end }}