diff options
author | Meet Mangukiya <meetmangukiya98@gmail.com> | 2020-02-25 03:29:49 +0530 |
---|---|---|
committer | Meet Mangukiya <meetmangukiya98@gmail.com> | 2020-02-25 03:38:10 +0530 |
commit | c6393f86d70ca33385cc8029e9e5029c5627d5c3 (patch) | |
tree | 54e02315d44f4e5cf7d4fd026a3b16536e24ff2c /docs/src/themes/mitmproxydocs | |
parent | 9da85619e6bd1f274210a90883aba395497225d0 (diff) | |
download | mitmproxy-c6393f86d70ca33385cc8029e9e5029c5627d5c3.tar.gz mitmproxy-c6393f86d70ca33385cc8029e9e5029c5627d5c3.tar.bz2 mitmproxy-c6393f86d70ca33385cc8029e9e5029c5627d5c3.zip |
Remove yarn/npm from docs
Closes https://github.com/mitmproxy/mitmproxy/issues/3716
Diffstat (limited to 'docs/src/themes/mitmproxydocs')
-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 }} |