added option to add underline to title links
This commit is contained in:
parent
867330290e
commit
b07d16cbee
|
@ -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"
|
||||
|
||||
|
|
|
@ -186,7 +186,9 @@ h1, h2, h3, h4, h5, h6 {
|
|||
font-family: "Symbols Nerd Font", $title_font;
|
||||
a {
|
||||
color: $accent_color;
|
||||
border-bottom: none;
|
||||
{{ if not (.Site.Params.underlineTitleLinks | default false) }}
|
||||
border-bottom: none;
|
||||
{{ end }}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue