diff --git a/mkdocs.yml b/mkdocs.yml index a71eb8e..f993cee 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -13,6 +13,7 @@ use_directory_urls: false # Theme configuration theme: name: material + custom_dir: overrides logo: assets/images/OrcaSlicer.png favicon: assets/images/OrcaSlicer.ico features: diff --git a/overrides/partials/header.html b/overrides/partials/header.html new file mode 100644 index 0000000..0924b75 --- /dev/null +++ b/overrides/partials/header.html @@ -0,0 +1,69 @@ +{#- + This file was automatically generated - do not edit +-#} +{% set class = "md-header" %} +{% if "navigation.tabs.sticky" in features %} + {% set class = class ~ " md-header--shadow md-header--lifted" %} +{% elif "navigation.tabs" not in features %} + {% set class = class ~ " md-header--shadow" %} +{% endif %} +
+ + {% if "navigation.tabs.sticky" in features %} + {% if "navigation.tabs" in features %} + {% include "partials/tabs.html" %} + {% endif %} + {% endif %} +