Ability to add extra custom CSS (#22)

This commit is contained in:
Khosrow Moossavi 2018-05-14 08:51:23 -04:00 committed by Luiz F. A. de Prá
parent 82fab8b82a
commit 9a070c2380
2 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,9 @@ disqusShortname = "yourdiscussshortname"
hideCredits = false
hideCopyright = false
# Custom CSS
custom_css = []
[[params.social]]
name = "Github"
weight = 1

View File

@ -18,6 +18,10 @@
<link rel="stylesheet" href="//cdn.rawgit.com/necolas/normalize.css/master/normalize.css">
<link rel="stylesheet" href="{{ "css/style.min.css" | absURL }}">
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ . | absURL }}">
{{ end }}
<link rel="icon" type="image/png" href="{{ "/images/favicon-32x32.png" | absURL }}" sizes="32x32">
<link rel="icon" type="image/png" href="{{ "/images/favicon-16x16.png" | absURL }}" sizes="16x16">