diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-10-21 14:56:46 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-10-21 14:56:46 +0200 |
commit | fb34cbea3705f3ab7eeb1b07f0dc7caffb0fd23a (patch) | |
tree | e9981689f382fab4bb902595acef3e1d2345c87a /layouts | |
parent | 9587e2cf3a9a08d9e88d70733a82f38c1ec75376 (diff) | |
download | hugo-minimalist-theme-fb34cbea3705f3ab7eeb1b07f0dc7caffb0fd23a.tar.gz hugo-minimalist-theme-fb34cbea3705f3ab7eeb1b07f0dc7caffb0fd23a.tar.bz2 hugo-minimalist-theme-fb34cbea3705f3ab7eeb1b07f0dc7caffb0fd23a.zip |
CV explicit styling with new ox-hugo
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/_markup/render-heading.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html index 3df797e..3ebfeb6 100644 --- a/layouts/_default/_markup/render-heading.html +++ b/layouts/_default/_markup/render-heading.html @@ -1,5 +1,5 @@ <!-- https://discourse.gohugo.io/t/adding-anchor-next-to-headers/1726/24 --> -<h{{ .Level }} id="{{ .Anchor | safeURL }}"> +<h{{ .Level }} id="{{ .Anchor | safeURL }}"{{ with .Attributes.class }} class="{{ . }}"{{ end }}> {{ .Text | safeHTML }} <a class="heading-anchor" href="#{{ .Anchor | safeURL }}"> <i class="fa fa-chain" aria-hidden="true"></i> |