Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/balaramadurai/hugo-travelify-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandip Bhattacharya <sandipb@showmethesource.org>2020-09-13 12:17:32 +0300
committerSandip Bhattacharya <sandipb@showmethesource.org>2020-09-13 12:31:28 +0300
commit671b88c5b45673863023e52be96be1802d284cc4 (patch)
tree3d6a97fc967bf5dabffab9865f4f530ff421d92e
parent2d1bc207c9fbe51d44895a1cae30390478a3bb4f (diff)
Actually add custom_css stylesheets
-rw-r--r--layouts/partials/header.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 97ae602..504571b 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -75,5 +75,8 @@
ga('send', 'pageview');
</script>
-{{ end }}
+ {{ end }}
+ {{ range $i, $src := .Site.Params.custom_css }}
+ <link rel='stylesheet' id='custom_css_{{ $i }}' href="{{ $src | absURL }}" type='text/css' media='all' />
+ {{ end }}
</head>