aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/html-head.html
diff options
context:
space:
mode:
authorJordi Bares <jordibares@hotmail.com>2019-04-04 22:36:51 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-04-09 22:31:24 +0200
commitaa07b876fed0ebcbb15a988fb3768e4f7158f8c8 (patch)
tree3a1e6ac27d5c1a1e55f4c18ee3813c1d295ccd3f /layouts/partials/docs/html-head.html
parent3742e6f0f48a66a64ada190d3aa98a6fc211ee24 (diff)
Remove copyright note and flags, fix bug with paths
Diffstat (limited to 'layouts/partials/docs/html-head.html')
-rw-r--r--layouts/partials/docs/html-head.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html
index 40fbfe0..24f675a 100644
--- a/layouts/partials/docs/html-head.html
+++ b/layouts/partials/docs/html-head.html
@@ -11,12 +11,12 @@
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
<!-- Custom stylesheet - for your changes -->
-{{ if (fileExists "static/img/banner.jpg") -}}
+{{ if (fileExists "styles.css" | relURL) -}}
<link rel="stylesheet" href="{{ "styles.css" | relURL }}?v={{ now.Unix }}" type='text/css' media='all'>
{{- end }}
<!-- Favicon -->
-<link rel="icon" href="{{ "img/favicon.ico" | absURL }}" type="image/x-icon">
+<link rel="icon" href="{{ "img/favicon.ico" | relURL }}" type="image/x-icon">
<!-- RSS -->
{{ if .RSSLink }}