diff options
-rw-r--r-- | layouts/partials/head.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b4061f9..b5fe1a5 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -21,6 +21,9 @@ <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/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> |