aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-01-05 20:27:06 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-01-05 20:27:06 +0530
commit58974666f1a35aeae72c8b7adb2ef1dd8c98c319 (patch)
tree5b5a671b6ece6cf6c88ff41ee5f2c94379295595 /layouts
parentefbe64374708fe253fe988d47a4bd3142d98fe42 (diff)
removed inline CSS for centering blog title, added it to blog.scss instead
Diffstat (limited to 'layouts')
-rw-r--r--layouts/blog/single.html3
1 files changed, 2 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 }}