added back button to single posts

This commit is contained in:
2020-07-15 23:33:51 +02:00
parent da4f675726
commit 68f37299e0
3 changed files with 12 additions and 0 deletions

View File

@@ -233,3 +233,9 @@
} }
} }
} }
.back-button{
padding:5px 20px;
border-style: solid;
color: $fg-color !important;
}

View File

@@ -46,6 +46,9 @@
} }
} }
} }
.back-button{
color: $fg-color-dark !important;
}
} }
body.colorscheme-dark { body.colorscheme-dark {
@@ -57,3 +60,5 @@ body.colorscheme-auto {
@include content_dark(); @include content_dark();
} }
} }

View File

@@ -3,6 +3,7 @@
{{ end }} {{ end }}
{{ define "content" }} {{ define "content" }}
<section class="container post"> <section class="container post">
<a href="/" class="back-button">Go Back</a>
<article> <article>
<header> <header>
<div class="post-title"> <div class="post-title">