aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2020-05-16 17:10:44 +0200
committerMaximilian Hils <git@maximilianhils.com>2020-05-16 17:10:44 +0200
commit30c904fe5f01bc6d37d01656811f466ceb5f7b1b (patch)
tree68dcf1b63e74016e142a8f4acf3b5dccb39ecbbd
parentb4bd1741eb48971a62b26d366bc6e2768350783e (diff)
downloadmitmproxy-30c904fe5f01bc6d37d01656811f466ceb5f7b1b.tar.gz
mitmproxy-30c904fe5f01bc6d37d01656811f466ceb5f7b1b.tar.bz2
mitmproxy-30c904fe5f01bc6d37d01656811f466ceb5f7b1b.zip
update hugo
-rw-r--r--.github/workflows/main.yml2
-rw-r--r--docs/src/content/overview-getting-started.md2
-rw-r--r--docs/src/themes/mitmproxydocs/layouts/partials/header.html6
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 }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
- {{ if .RSSLink -}}
- <link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}">
- {{- end }}
+ {{ range .AlternativeOutputFormats -}}
+ {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
+ {{ end -}}
{{ hugo.Generator }}
</head>
<body>