From 0b4fc95a1ab256899e9e787e71078f9c51a7fdd6 Mon Sep 17 00:00:00 2001 From: Bhumi Shah Date: Thu, 1 May 2025 10:39:12 -0500 Subject: [PATCH] convert blog post titles to h1 while keeping the styles --- _layouts/post.html | 2 +- _sass/modules/_post.scss | 5 +++++ category/foundation.html | 2 +- category/news.html | 2 +- category/releases.html | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index f0b3ba62..516c93a4 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -11,7 +11,7 @@
{{ page.date | date: '%A, %B %-d, %Y' }}
-

{{ page.title | strip_html }}

+

{{ page.title | strip_html }}

{% if page.author %}
Posted by {{ page.author }}
{% endif %} diff --git a/_sass/modules/_post.scss b/_sass/modules/_post.scss index 79ae6131..ea82fb9a 100755 --- a/_sass/modules/_post.scss +++ b/_sass/modules/_post.scss @@ -12,6 +12,11 @@ margin: -7px 30px -6px 30px; text-align: center; + h1 { + font-size: 55px; + line-height: 52px; + } + h5 { margin-bottom: 16px; } diff --git a/category/foundation.html b/category/foundation.html index e5241ab1..f3772b0b 100644 --- a/category/foundation.html +++ b/category/foundation.html @@ -10,7 +10,7 @@
-
+

{{ page.title }}

diff --git a/category/news.html b/category/news.html index 78d9826d..94c10e43 100644 --- a/category/news.html +++ b/category/news.html @@ -10,7 +10,7 @@
-
+

{{ page.title }}

diff --git a/category/releases.html b/category/releases.html index d1c8779a..a5ec4304 100644 --- a/category/releases.html +++ b/category/releases.html @@ -10,7 +10,7 @@
-
+

{{ page.title }}