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

github.com/AngeloStavrow/indigo.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.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index b4061f9..b6aab03 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -20,7 +20,10 @@
<!-- IndieAuth endpoint -->
<link rel="authorization_endpoint" href="https://indieauth.com/auth">
<!-- Other stuff to make the site work -->
- <style type="text/css">{{ partial "fonts.css" . | safeCSS }}</style>
- <link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css" />
+ <link rel="stylesheet" href="/css/fonts.css" />
+ <link rel="stylesheet" href="/css/style.css" />
+ {{ if (fileExists "/static/css/custom.css") -}}
+ <link rel="stylesheet" href="/css/custom.css" />
+ {{- end }}
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>