Add a meta[name='generator'] tag to the layout

This commit is contained in:
Danielle McLean 2018-04-21 14:03:09 +10:00
parent 132da5d69b
commit 23ab0c4329
Signed by: 00dani
GPG key ID: 8EB789DDF3ABD240

View file

@ -24,6 +24,8 @@
<link rel="manifest" href="{% url 'wellknowns:manifest' %}" /> <link rel="manifest" href="{% url 'wellknowns:manifest' %}" />
<meta name="theme-color" content="{% theme_colour 2 %}" /> <meta name="theme-color" content="{% theme_colour 2 %}" />
{% get_package_json as package %}
<meta name="generator" content="{{ package.name }} {{ package.version }}" />
<meta property="og:url" content="{{ uri }}" /> <meta property="og:url" content="{{ uri }}" />
<meta property="og:title" content="{% firstof title site_name %}" /> <meta property="og:title" content="{% firstof title site_name %}" />
@ -105,7 +107,6 @@
</nav> </nav>
{% endif %} {% endif %}
{% get_package_json as package %}
<p>powered by <a rel="code-repository" href="{{ package.repository }}/tree/v{{ package.version }}">{{ package.name }} {{ package.version }}</a></p> <p>powered by <a rel="code-repository" href="{{ package.repository }}/tree/v{{ package.version }}">{{ package.name }} {{ package.version }}</a></p>
</footer> </footer>