From 30c904fe5f01bc6d37d01656811f466ceb5f7b1b Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 16 May 2020 17:10:44 +0200 Subject: update hugo --- .github/workflows/main.yml | 2 +- docs/src/content/overview-getting-started.md | 2 +- docs/src/themes/mitmproxydocs/layouts/partials/header.html | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0d234358..2e739fa0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -146,7 +146,7 @@ jobs: python-version: '3.8' - run: pip install tox - run: | - wget https://github.com/gohugoio/hugo/releases/download/v0.65.3/hugo_extended_0.65.3_Linux-64bit.deb + wget https://github.com/gohugoio/hugo/releases/download/v0.70.0/hugo_extended_0.70.0_Linux-64bit.deb sudo dpkg -i hugo*.deb - run: tox -e docs diff --git a/docs/src/content/overview-getting-started.md b/docs/src/content/overview-getting-started.md index ff018c3b..6061fdc3 100644 --- a/docs/src/content/overview-getting-started.md +++ b/docs/src/content/overview-getting-started.md @@ -34,7 +34,7 @@ environment variables, etc. You can check that your web traffic is going through mitmproxy by browsing to http://mitm.it - it should present you with a [simple page]({{< relref -"concepts-certificates/#quick-setup">}}) to install the mitmproxy Certificate +"concepts-certificates#quick-setup">}}) to install the mitmproxy Certificate Authority - which is also the next steps. Follow the instructions for your OS / system and install the CA (and make sure to enable it, some system require multiple steps!). diff --git a/docs/src/themes/mitmproxydocs/layouts/partials/header.html b/docs/src/themes/mitmproxydocs/layouts/partials/header.html index 925631d6..8210b56b 100644 --- a/docs/src/themes/mitmproxydocs/layouts/partials/header.html +++ b/docs/src/themes/mitmproxydocs/layouts/partials/header.html @@ -17,9 +17,9 @@ {{ $style := resources.Get "style.scss" | toCSS | minify }} - {{ if .RSSLink -}} - - {{- end }} + {{ range .AlternativeOutputFormats -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} {{ hugo.Generator }} -- cgit v1.2.3