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

github.com/aerohub/hugrid.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Kanyshev <aerohub@users.noreply.github.com>2017-04-08 23:10:00 +0300
committerGitHub <noreply@github.com>2017-04-08 23:10:00 +0300
commit4025925fb0e6a2c9fa003c80adca2886d62eb2cd (patch)
treec044eed6ed3e893356eedc0ed874be0d54a06ebc /layouts
parent8d63455cdd7778b1d4ed5fc7722f6b4a5d5a69ef (diff)
parentc2f99392641a1f083d7d7286b0e741b6a14cf0c3 (diff)
Merge pull request #5 from gilbsgilbs/custom-css
Allow to add custom CSS files.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 56aba86..e39d567 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,6 +1,6 @@
<meta charset="UTF-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ .Site.Title }}</title>
<meta name="description" content="{{ with .Site.Params.description }}{{ . }}{{ end }}" />
<meta name="keywords" content="{{ with .Site.Params.keywords }}{{ . }}{{ end }}" />
@@ -14,4 +14,7 @@
</style>
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/default.css" />
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/component.css" />
- <script src="{{ .Site.BaseURL }}js/modernizr.custom.js"></script> \ No newline at end of file
+ {{ range .Site.Params.custom_css }}
+ <link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
+ {{ end }}
+ <script src="{{ .Site.BaseURL }}js/modernizr.custom.js"></script>