diff --git a/material/overrides/blog.html b/material/overrides/blog.html deleted file mode 100644 index 609da2588..000000000 --- a/material/overrides/blog.html +++ /dev/null @@ -1,10 +0,0 @@ -{#- - This file was automatically generated - do not edit --#} -{% extends "overrides/main.html" %} -{% block content %} - {{ super() }} -

{{ lang.t("meta.comments") }}

- - -{% endblock %} diff --git a/material/overrides/main.html b/material/overrides/main.html index d61ab0c83..f414b841f 100644 --- a/material/overrides/main.html +++ b/material/overrides/main.html @@ -14,9 +14,6 @@ Twitter {% endblock %} -{% block content %} - {% include "overrides/partials/content.html" %} -{% endblock %} {% block scripts %} {{ super() }} diff --git a/material/overrides/partials/content.html b/material/overrides/partials/content.html deleted file mode 100644 index 10acfc0cc..000000000 --- a/material/overrides/partials/content.html +++ /dev/null @@ -1,18 +0,0 @@ -{#- - This file was automatically generated - do not edit --#} -{% if "tags" in config.plugins %} - {% include "partials/tags.html" %} -{% endif %} -{% include "overrides/partials/actions.html" %} -{% if not "\x3ch1" in page.content %} -

{{ page.title | d(config.site_name, true)}}

-{% endif %} -{{ page.content }} -{% if page.meta and ( - page.meta.git_revision_date_localized or - page.meta.revision_date -) %} - {% include "partials/source-file.html" %} -{% endif %} -{% include "partials/feedback.html" %} diff --git a/mkdocs.yml b/mkdocs.yml index 603dcec3e..341d58b67 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -36,6 +36,7 @@ copyright: Copyright © 2016 - 2022 Martin Donath # Configuration theme: name: material + custom_dir: material/overrides features: # - announce.dismiss - content.code.annotate diff --git a/src/overrides/blog.html b/src/overrides/blog.html deleted file mode 100644 index ddbd3ed80..000000000 --- a/src/overrides/blog.html +++ /dev/null @@ -1,76 +0,0 @@ - - -{% extends "overrides/main.html" %} - - -{% block content %} - {{ super() }} - - -

{{ lang.t("meta.comments") }}

- - - - -{% endblock %} diff --git a/src/overrides/main.html b/src/overrides/main.html index 5aeb7e294..88a14e8f7 100644 --- a/src/overrides/main.html +++ b/src/overrides/main.html @@ -43,11 +43,6 @@ {% endblock %} - -{% block content %} - {% include "overrides/partials/content.html" %} -{% endblock %} - {% block scripts %} {{ super() }} diff --git a/src/overrides/partials/content.html b/src/overrides/partials/content.html deleted file mode 100644 index b954431ad..000000000 --- a/src/overrides/partials/content.html +++ /dev/null @@ -1,51 +0,0 @@ - - - -{% if "tags" in config.plugins %} - {% include "partials/tags.html" %} -{% endif %} - - -{% include "overrides/partials/actions.html" %} - - -{% if not "\x3ch1" in page.content %} -

{{ page.title | d(config.site_name, true)}}

-{% endif %} - - -{{ page.content }} - - -{% if page.meta and ( - page.meta.git_revision_date_localized or - page.meta.revision_date -) %} - {% include "partials/source-file.html" %} -{% endif %} - - -{% include "partials/feedback.html" %}