diff --git a/layouts/post/single.html b/layouts/post/single.html index a3ddcb4..1938c7d 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -1,11 +1,11 @@ {{ define "main" }} -
+
{{ $page := . }}
-
+
-
+

{{ $page.Date.Format "January 2, 2006" }}

{{ $page.WordCount }} words @@ -20,30 +20,29 @@ {{- with .Resources.Match "images/banner.svg" -}} {{ range . }} -
-
- {{ $page.Title }} -
+
+
+ {{ $page.Title }}
+
{{- end -}} {{- end -}} {{- with $page.Params.tags -}}
-
+
{{- range . -}} - - {{ . }} - + + {{ . }} + {{- end -}}
{{- end -}} -
-
+
{{ $page.Content }}
@@ -52,15 +51,9 @@
-
-
- {{ template "_internal/disqus.html" . }} -
-
- {{- if .Site.Params.commento.enable -}}
-
+
@@ -68,6 +61,12 @@ {{- end -}}
+
+ +
{{ partial "related.html" $page }} diff --git a/src/scss/toc.scss b/src/scss/toc.scss new file mode 100644 index 0000000..6473eb3 --- /dev/null +++ b/src/scss/toc.scss @@ -0,0 +1,15 @@ +div.toc-sidebar { + position: fixed; + right: 0; + background-color: rgb(245,245,245); + height: 100%; + margin-top: -500%; + padding-top: 500%; + padding-bottom: 500%; + margin-right: 5%; + + & li { + list-style: none; + padding-bottom: 5px; + } +}