From 2a7a427992f7942b271bc141c930e84460244169 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 2 Oct 2021 20:20:44 -0500 Subject: [PATCH] Fix #10 --- assets/css/bobastyle.css | 2 +- layouts/_default/_markup/render-heading.html | 5 +++++ theme.toml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 layouts/_default/_markup/render-heading.html diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index 2d9e075..8133834 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -49,7 +49,7 @@ body { text-decoration: inherit; } -.header a { +.header a, .section-header a { color: inherit; } diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html new file mode 100644 index 0000000..6740666 --- /dev/null +++ b/layouts/_default/_markup/render-heading.html @@ -0,0 +1,5 @@ + + + {{ .Text | safeHTML }} + + diff --git a/theme.toml b/theme.toml index 5b86e74..b793919 100644 --- a/theme.toml +++ b/theme.toml @@ -8,7 +8,7 @@ description = "Simple Hugo theme for boba.best and bbaovanc.com" homepage = "https://boba.best/" tags = [] features = [] -min_version = "0.41.0" +min_version = "0.71.0" [author] name = "bbaovanc"