Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ExchangeRate-API/strange-case.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Kaye <jordan.kaye2@gmail.com>2020-12-14 04:26:08 +0300
committerJordan Kaye <jordan.kaye2@gmail.com>2020-12-14 04:26:08 +0300
commitaa133bcfe83440b629d827306f04183fe3ac5c23 (patch)
tree0ab2d9d28e417f95328bf72836607865fb7ac62a
parenta3085912f725dacb7973a4e4da0d637197e35502 (diff)
Better styling for individual posts
-rw-r--r--layouts/_default/single.html2
-rw-r--r--static/css/strange-case.css3
2 files changed, 4 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 26fec55..a97dfa8 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -13,7 +13,7 @@
<div class="post-heading">
<h1>{{ .Title }}</h1>
- <span class="post-date"><a href="{{ .Permalink }}"># {{ .Date.Format "Jan 2, 2006" }}{{ if .Params.author }} by {{ .Params.author }}{{ end }}</a></span>
+ <span class="post-date"># {{ .Date.Format "Jan 2, 2006" }}{{ if .Params.author }} by {{ .Params.author }}{{ end }}</span>
</div>
{{ .Content }}
diff --git a/static/css/strange-case.css b/static/css/strange-case.css
index 880d713..9cebf14 100644
--- a/static/css/strange-case.css
+++ b/static/css/strange-case.css
@@ -51,6 +51,9 @@ img {
.post {
margin-bottom: 3em;
}
+.post a {
+ text-decoration: underline;
+}
.post .post-heading {
margin-bottom: 1em;
}