Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

Commit

Permalink
Add workaround for themeColors
Browse files Browse the repository at this point in the history
See #13
  • Loading branch information
digitalcraftsman committed Nov 27, 2016
1 parent d21deb4 commit 07c344f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layouts/partials/head.html
Expand Up @@ -37,5 +37,6 @@
{{ end }}

{{ "<!-- Stylesheet for theme color -->" | safeHTML }}
{{ partial (printf "themes/%s-theme" .Site.Params.themeColor) . }}
{{ $color := default "green" .Site.Params.themecolor }}
{{ partial (printf "themes/%s-theme" $color) . }}
</head>

0 comments on commit 07c344f

Please sign in to comment.