Restore the <base> and rel="canonical" URLs to the layout <head>

This commit is contained in:
Danielle McLean 2018-06-28 11:19:32 +10:00
parent dec5ef153b
commit bc8d7923b4
Signed by untrusted user: 00dani
GPG key ID: 8EB789DDF3ABD240

View file

@ -13,10 +13,12 @@
{% endif %} {% endif %}
{% block head %}{% endblock %} {% block head %}{% endblock %}
<base href="{{ request.build_absolute_uri(url('home:index')) }}" />
<link rel="authorization_endpoint" href="{{ url('lemonauth:indie') }}" /> <link rel="authorization_endpoint" href="{{ url('lemonauth:indie') }}" />
<link rel="canonical" href="{{ request.build_absolute_uri() }}" />
<link rel="hub" href="{{ settings.PUSH_HUB }}" />
<link rel="manifest" href="{{ url('wellknowns:manifest') }}" /> <link rel="manifest" href="{{ url('wellknowns:manifest') }}" />
<link rel="micropub" href="{{ url('micropub:micropub') }}" /> <link rel="micropub" href="{{ url('micropub:micropub') }}" />
<link rel="hub" href="{{ settings.PUSH_HUB }}" />
<link rel="token_endpoint" href="{{ url('lemonauth:token') }}" /> <link rel="token_endpoint" href="{{ url('lemonauth:token') }}" />
<meta name="generator" content="{{ package.name }} {{ package.version }}" /> <meta name="generator" content="{{ package.name }} {{ package.version }}" />