1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-20 17:42:21 +01:00

Simplify site-specific css tweaks.

This commit is contained in:
Mike Lococo 2017-04-08 22:32:15 -04:00
parent dc0201301b
commit 605143f318
2 changed files with 9 additions and 0 deletions

View File

@ -68,6 +68,12 @@ paginate = 5
# or by specifying menu entries in a similar way to the sidebar menu above. # or by specifying menu entries in a similar way to the sidebar menu above.
#custom_navbar = true #custom_navbar = true
# The css stylesheet included with the theme is minified, which makes it
# difficult to tweak just one or two styles. Optionally create
# static/css/site-style.css and uncomment the line below, or add as many
# files to the array as you wish with paths relative to your site root.
#custom_css = ["css/site-style.css"]
# show sharing icons on pages/posts (default: true) # show sharing icons on pages/posts (default: true)
#sharingicons = true #sharingicons = true

View File

@ -14,6 +14,9 @@
{{ "<!-- combined, minified CSS -->" | safeHTML }} {{ "<!-- combined, minified CSS -->" | safeHTML }}
<link href="{{ .Site.BaseURL }}css/style.css" rel="stylesheet" integrity="{{ .Site.Data.sri.style}}" crossorigin="anonymous"> <link href="{{ .Site.BaseURL }}css/style.css" rel="stylesheet" integrity="{{ .Site.Data.sri.style}}" crossorigin="anonymous">
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
{{ end }}
{{ if .RSSLink }} {{ if .RSSLink }}
{{ "<!-- RSS 2.0 feed -->" | safeHTML }} {{ "<!-- RSS 2.0 feed -->" | safeHTML }}