mirror of https://github.com/luizdepra/hugo-coder.git

Khosrow Moossavi
14.51.2018 9a070c238083e03ebbe799f6eb958381531fbbc8
Ability to add extra custom CSS (#22)

2 files modified
7 ■■■■■ changed files
exampleSite/config.toml 3 ●●●●● patch | view | raw | blame | history
layouts/_default/baseof.html 4 ●●●● patch | view | raw | blame | history
exampleSite/config.toml
@@ -23,6 +23,9 @@
    hideCredits = false
    hideCopyright = false
    # Custom CSS
    custom_css = []
[[params.social]]
    name = "Github"
    weight = 1
layouts/_default/baseof.html
@@ -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">