diff --git a/README.md b/README.md index 65a15f1..bc95f52 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ summaryLength = 70 # number of words for article summaries favicon = "/images/myfavicon.png" showTags = true # show the Tags menu item; default true showRss = true # show the link for the RSS feed; default true - + imageInArticlePreview = false # show images in article preview; default false navtype = "standard" # changes the style of the pagination, available styles are: "standard", "circle" @@ -72,12 +72,15 @@ summaryLength = 70 # number of words for article summaries # telegram # phone # rss - links = [ - ["GitLab", "https://gitlab.com/gabmus"], - ["GNOME", "https://gitlab.gnome.org/gabmus"], - ["YouTube", "https://youtube.com/TechPillsNet"], - ["Email", "mailto:gabmus@disroot.org"] - ] + + + # WARNING: deprecated! Use [[menu.icons]] instead, look below + # links = [ + # ["GitLab", "https://gitlab.com/gabmus"], + # ["GNOME", "https://gitlab.gnome.org/gabmus"], + # ["YouTube", "https://youtube.com/TechPillsNet"], + # ["Email", "mailto:gabmus@disroot.org"] + # ] # you can customize all of the colors in this theme # the values shown are the defaults @@ -94,6 +97,28 @@ summaryLength = 70 # number of words for article summaries infiniteScrolling = false # activates infinite scrolling instead of regular pagination +[menu] + # these links will be added to the main navigation menu, sorted by weight + # other elements in this menu are added automatically from the "pages" folder + # the folder it will look into can be customized with the pages variable + # in params above + [[menu.main]] + identifier = "about" + name = "About" + url = "/about/" + weight = 10 + # these links (menu.icons) will be added as icon links below the main nav + [[menu.icons]] + identifier = "gitlab" + name = "GitLab" + url = "https://gitlab.com/gabmus" + weight = 10 + [[menu.icons]] + identifier = "gnome" + name = "GNOME GitLab" + url = "https://gitlab.gnome.org/gabmus" + weight = 20 + # this section is necessary if you want infinite scrolling # it allows to output the article list as paged JSON so that "pages" can be retrieved via javascript [outputs] diff --git a/assets/scss/style.scss b/assets/scss/style.scss index ccb0744..d880121 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -226,6 +226,7 @@ h1, h2, h3, h4, h5, h6 { border-radius: 3px; color: $fg_color; display: none; + background-color: $bg_color; } &:hover { .pseudofont { diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 80a2657..1af203a 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -14,6 +14,9 @@ {{ range $pagesList }}