From d31db27e97037113604dfd2458cc7dc11364ec20 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 31 Aug 2023 03:43:27 +0400 Subject: Refined blog post headers --- sass/_blog.scss | 3 +++ sass/styles.scss | 1 + templates/post.html | 11 ++++++++++- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 sass/_blog.scss diff --git a/sass/_blog.scss b/sass/_blog.scss new file mode 100644 index 0000000..662cfba --- /dev/null +++ b/sass/_blog.scss @@ -0,0 +1,3 @@ +.post_header { + text-align: center; +} \ No newline at end of file diff --git a/sass/styles.scss b/sass/styles.scss index 909197c..2a2b43c 100644 --- a/sass/styles.scss +++ b/sass/styles.scss @@ -16,3 +16,4 @@ $font-size-base: 1.8rem; @import "framework"; @import "navbar"; @import "print"; +@import "blog"; \ No newline at end of file diff --git a/templates/post.html b/templates/post.html index 76f15c9..9c6cc94 100644 --- a/templates/post.html +++ b/templates/post.html @@ -1,8 +1,17 @@ {% extends 'base.html' %} {% block content %} -
+

{{ page.title | trim | safe }}

+ +

+ + Posted + + by Valentin Popov ‐ + {{ page.reading_time | safe }} min read + +

-- cgit v1.2.3