Skip to content

Commit

Permalink
Fix #10
Browse files Browse the repository at this point in the history
  • Loading branch information
BBaoVanC committed Oct 3, 2021
1 parent 72cfb08 commit 2a7a427
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/css/bobastyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ body {
text-decoration: inherit;
}

.header a {
.header a, .section-header a {
color: inherit;
}

Expand Down
5 changes: 5 additions & 0 deletions layouts/_default/_markup/render-heading.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<h{{ .Level }} id="{{ .Anchor | safeURL }}" class="section-header">
<a href="#{{ .Anchor | safeURL }}">
{{ .Text | safeHTML }}
</a>
</h{{ .Level }}>
2 changes: 1 addition & 1 deletion theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2a7a427

Please sign in to comment.