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

github.com/Chen-Zhe/photo-grid.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html19
1 files changed, 13 insertions, 6 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 9200fae..1446652 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -5,17 +5,24 @@
<meta name="description" content="{{ with .Site.Params.description }}{{ . }}{{ end }}" />
<meta name="keywords" content="{{ with .Site.Params.keywords }}{{ . }}{{ end }}" />
<meta name="author" content="{{ with .Site.Params.author }}{{ . }}{{ end }}" />
- <link rel="icon" href="{{ .Site.Params.BaseURL }}favicon.ico" />
+ {{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}">{{ end }}
{{ .Hugo.Generator }}
<style>
body {
- background: {{ .Site.Params.bodybgcolor }};
- color: {{ .Site.Params.bodytextcolor }};
+ background: {{ .Site.Params.bodybgcolor }};
+ color: {{ .Site.Params.bodytextcolor }};
+ }
+ a {
+ color: {{ .Site.Params.bodytextcolor }};
+ }
+ button {
+ color: {{ .Site.Params.bodytextcolor }};
}
</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" />
+ <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Lato:300,400,700" />
+ <link rel="stylesheet" type="text/css" href="{{ "css/default.css" | absURL }}" />
+ <link rel="stylesheet" type="text/css" href="{{ "css/component.css" | absURL }}" />
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ . }}">
{{ end }}
- <script src="{{ .Site.BaseURL }}js/modernizr.custom.js"></script>
+ <script src="{{ "js/modernizr.custom.js" | absURL }}"></script>