fix docs 404 (#3979)

This commit is contained in:
Praveen Durairaju 2020-02-28 12:47:50 +05:30 committed by GitHub
parent da5e4498d3
commit f01c19d580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,7 @@
{%- endif %}
{{- metatags }}
{%- if pagename == "404" %}
<base href="/{{ version }}/{{ pagename }}">
<base href="/docs/{{ version }}/{{ pagename }}">
{% endif %}
{%- block htmltitle %}
<title>{{ title|striptags|e }}{{ titlesuffix }}</title>