aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-04-09 22:59:29 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-04-09 22:59:29 +0200
commit31a262451ae123a50d59bf4f8ad748d2cd14cdb1 (patch)
tree2b08db4532b2a9d47574d54b2e0bf14ab3760b13 /layouts
parent6ef4a4b69ce51a6c38aa5a2350bb6be7a3ee6bc4 (diff)
Move from custom.css to custom.scss to be able to use variables
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/docs/html-head.html7
1 files changed, 1 insertions, 6 deletions
diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html
index 2e1a57d..72542ca 100644
--- a/layouts/partials/docs/html-head.html
+++ b/layouts/partials/docs/html-head.html
@@ -5,16 +5,11 @@
<!-- Fonts for the theme -->
<link href="https://fonts.googleapis.com/css?family=Oxygen|Oxygen+Mono:300,400,700" rel="stylesheet">
-<!-- Theme stylesheet, if possible do not edit this stylesheet -->
+<!-- Theme stylesheet, you can customize scss by creatig `assets/custom.scss` in your website -->
<link rel="stylesheet" href="{{ "normalize.min.css" | relURL }}">
{{ $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
-<!-- Custom stylesheet - for your changes -->
-{{ 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="{{ "favicon.png" | relURL }}" type="image/x-icon">