diff --git a/assets/main.scss b/assets/main.scss index 02d0b651..6e77f0d7 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -161,6 +161,10 @@ h1 { } } } + + .to-top { + margin: 45px 0 0; + } } } diff --git a/themes/tsc_vfl/layouts/_default/single.html b/themes/tsc_vfl/layouts/_default/single.html index 25904c71..3c5215ca 100644 --- a/themes/tsc_vfl/layouts/_default/single.html +++ b/themes/tsc_vfl/layouts/_default/single.html @@ -1,4 +1,7 @@ {{ define "main" }} -

{{ .Title }}

+ +

{{ .Title }}

+
{{ .Content }} + {{ partial "totop" }} {{ end }} diff --git a/themes/tsc_vfl/layouts/partials/totop.html b/themes/tsc_vfl/layouts/partials/totop.html new file mode 100644 index 00000000..778c31f1 --- /dev/null +++ b/themes/tsc_vfl/layouts/partials/totop.html @@ -0,0 +1,3 @@ +
+ [Nach oben] +