diff options
Diffstat (limited to 'docs/src/themes')
-rw-r--r-- | docs/src/themes/mitmproxydocs/layouts/partials/header.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/src/themes/mitmproxydocs/layouts/partials/header.html b/docs/src/themes/mitmproxydocs/layouts/partials/header.html index 559115f0..1dcf3a23 100644 --- a/docs/src/themes/mitmproxydocs/layouts/partials/header.html +++ b/docs/src/themes/mitmproxydocs/layouts/partials/header.html @@ -13,7 +13,10 @@ {{ with .Site.Params.author }} <meta name="author" content="{{ . }}"> {{ end }} - <link rel="stylesheet" href="/css/style.css"> + + {{ $style := resources.Get "style.scss" | toCSS | minify }} + <link rel="stylesheet" href="{{ $style.Permalink }}"> + {{ if .RSSLink -}} <link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}"> {{- end }} |