From ff79ae29b5f8c220cdcf2dfc11ff3a45260591d7 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sun, 10 Oct 2021 15:02:20 -0500 Subject: [PATCH] Add header link icon but commented out because it looks weird --- assets/css/bobastyle.css | 15 +++++++++++++++ layouts/_default/_markup/render-heading.html | 5 +++++ 2 files changed, 20 insertions(+) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index f2d0dd4..1a7ad4d 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -49,6 +49,21 @@ color: inherit; } +/* this took too much work but doesn't quite fit the theme +.section-header { + position: relative; +} + +.section-header a { + text-decoration: none; +} + +.section-header-link { + position: absolute; + left: -30px; +} +*/ + /* Content formatting */ diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html index 6740666..012c920 100644 --- a/layouts/_default/_markup/render-heading.html +++ b/layouts/_default/_markup/render-heading.html @@ -1,5 +1,10 @@ + {{/* this took too much work but doesn't quite fit the theme + + {{ partial "icon.html" "link" }} + */}} + {{ .Text | safeHTML }}