github-actions[bot] on gh-pages
Deployed 5bda328 with MkDocs ve… (compare)
squidfunk on master
Fixed lint script (compare)
squidfunk on 7.0.3
github-actions[bot] on gh-pages
Deployed 4d0912e with MkDocs ve… (compare)
squidfunk on master
Prepare 7.0.3 release (compare)
github-actions[bot] on gh-pages
Deployed 9c30ddb with MkDocs ve… (compare)
squidfunk on master
Documentation (compare)
github-actions[bot] on gh-pages
Deployed 4b6edc1 with MkDocs ve… (compare)
squidfunk on master
Adde --watch and --dirty mode t… (compare)
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 %}
og:
meta properties.
meta
extension).
base.html
template does it: https://github.com/squidfunk/mkdocs-material/blob/b72314d7da0e7c8bd2dda2f45c21d9cf55557706/src/base.html#L41-L46
{% if page and page.meta and page.meta.description %}