aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/blog/single.html3
-rw-r--r--static/scss/blog.scss4
2 files changed, 6 insertions, 1 deletions
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index 155fc6b..22f5e43 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -1,6 +1,7 @@
{{ define "main" }}
<div>
- <h1 style="text-align: center;">{{ .Title }}</h1>
+ <h1 id="post-title">{{ .Title }}</h1>
{{ .Content }}
+ <hr/>
</div>
{{ end }}
diff --git a/static/scss/blog.scss b/static/scss/blog.scss
index f1360bb..43fc736 100644
--- a/static/scss/blog.scss
+++ b/static/scss/blog.scss
@@ -71,6 +71,10 @@ main img {
border: 1px solid $headingColor4;
}
+#post-title {
+ text-align: center;
+}
+
// linked images have the same border color as a link
main a img {
border: 1px solid $linkColor;