From b07d16cbee23769cce7a26a2fe1073260b526f1e Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Mon, 13 Dec 2021 11:09:21 +0100 Subject: [PATCH] added option to add underline to title links --- README.md | 2 ++ assets/scss/style.scss | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 314830d..b343e42 100644 --- a/README.md +++ b/README.md @@ -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" diff --git a/assets/scss/style.scss b/assets/scss/style.scss index d755ec7..a109739 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -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 }} } }