children
and url
search.xml
change: I was trying to integrate OpenSearch, which is a standard that allows to search directly from the browser bar (i.e. try to type "github.com" and then TAB), you can search GitHub directly. I haven't managed yet to get it working on Chrome, but it works 'okayish' on Firefox:
mkdocs-minify-plugin
for minification. However, 404.html
never gets minified. This is because the on_post_page
event isn't fired for 404.html, and the plugin uses that event for HTML minification
on_template
by hooking during on_env
{% extends "base.html" %}
{% block extrahead %}
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ page.title }}" />
<meta property="og:url" content="{{ page.canonical_url }}" />
<meta property="meta" content="{{ page.meta }}" />
{% endblock %}