diff --git a/mkdocs.yml b/mkdocs.yml index e75e0d0..8eb9f73 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -48,12 +48,20 @@ google_analytics: - 'UA-96982596-2' - 'auto' +# Plugins +plugins: + - search + - git-revision-date + # Extensions markdown_extensions: - admonition - - codehilite(guess_lang=false) - - toc(permalink=true) - - lightgallery + - codehilite: + guess_lang: false + - toc: + permalink: true +# - lightgallery + # Page naming pages: diff --git a/theme/main.html b/theme/main.html index 023e667..061cc14 100644 --- a/theme/main.html +++ b/theme/main.html @@ -19,3 +19,10 @@ } {% endblock scripts %} + +{% block content %} + {{ super() }} + {% if page.meta.revision_date %} + Updated on {{ page.meta.revision_date }} + {% endif %} +{% endblock %}