mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-20 09:32:19 +01:00
Simplify site-specific css tweaks.
This commit is contained in:
parent
dc0201301b
commit
605143f318
@ -68,6 +68,12 @@ paginate = 5
|
||||
# or by specifying menu entries in a similar way to the sidebar menu above.
|
||||
#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)
|
||||
#sharingicons = true
|
||||
|
||||
|
@ -14,6 +14,9 @@
|
||||
|
||||
{{ "<!-- combined, minified CSS -->" | safeHTML }}
|
||||
<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 }}
|
||||
{{ "<!-- RSS 2.0 feed -->" | safeHTML }}
|
||||
|
Loading…
Reference in New Issue
Block a user