diff options
| author | Maximilian Hils <git@maximilianhils.com> | 2018-03-21 00:51:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-21 00:51:23 +0100 |
| commit | 2dd8ad36ae5815aae9a0d25116e86e5b98b4f3ae (patch) | |
| tree | d475aebbd0559174d1a2e51fba31eb89b357eb21 /docs/src/layouts/partials/outdated.html | |
| parent | c6932cbde51c17486e73d909d35b311a5f97c8f4 (diff) | |
| parent | 4eb6954c7d7b5327c59dfbd86cebfc3ea10c1033 (diff) | |
| download | mitmproxy-2dd8ad36ae5815aae9a0d25116e86e5b98b4f3ae.tar.gz mitmproxy-2dd8ad36ae5815aae9a0d25116e86e5b98b4f3ae.tar.bz2 mitmproxy-2dd8ad36ae5815aae9a0d25116e86e5b98b4f3ae.zip | |
Merge pull request #3004 from mhils/docs-improvements
Docs Improvements
Diffstat (limited to 'docs/src/layouts/partials/outdated.html')
| -rw-r--r-- | docs/src/layouts/partials/outdated.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/src/layouts/partials/outdated.html b/docs/src/layouts/partials/outdated.html new file mode 100644 index 00000000..5b3dd6ed --- /dev/null +++ b/docs/src/layouts/partials/outdated.html @@ -0,0 +1,9 @@ +{{- if (getenv "DOCS_ARCHIVE") -}} +<article class="message is-warning"> + <div class="message-body"> + You are not viewing the most up to date version of the documentation. + Click <a href="https://docs.mitmproxy.org/stable{{ .Page.URL }}">here</a> + to view the latest version. + </div> +</article> +{{- end -}} |
