added option to add underline to title links

This commit is contained in:
Gabriele Musco 2021-12-13 11:09:21 +01:00
parent 867330290e
commit b07d16cbee
No known key found for this signature in database
GPG Key ID: 0587A5D65B5DC99E
2 changed files with 5 additions and 1 deletions

View File

@ -82,6 +82,8 @@ summaryLength = 70 # number of words for article summaries
enableFeatured = false # enable a particular view for articles marked as featured (featured: true in the article frontmatter)
underlineTitleLinks = false # show an underline also for links that are titles
# enable comments support with commento using the script from your server
commento = "https://example.com/js/commento.js"

View File

@ -186,7 +186,9 @@ h1, h2, h3, h4, h5, h6 {
font-family: "Symbols Nerd Font", $title_font;
a {
color: $accent_color;
{{ if not (.Site.Params.underlineTitleLinks | default false) }}
border-bottom: none;
{{ end }}
}
}