X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=theme%2Fmkdocs_windmill%2Fbase.html;fp=theme%2Fmkdocs_windmill%2Fbase.html;h=8b4feb89a4df6ec5205af67871778cc807bd86c7;hb=6b1ab1c2161da3cd7a3d54fe684906e73da23674;hp=0000000000000000000000000000000000000000;hpb=d03401d2cdcddf2bc24f4eff0954f69fa5aa61ec;p=AGL%2Fdocumentation.git diff --git a/theme/mkdocs_windmill/base.html b/theme/mkdocs_windmill/base.html new file mode 100644 index 0000000..8b4feb8 --- /dev/null +++ b/theme/mkdocs_windmill/base.html @@ -0,0 +1,166 @@ + + + + {% set is_top = (page and page.is_homepage) and not force_plain_page %} + {% set base_url = base_url or "." %} + + {%- block site_meta %} + + + + {% if page and page.is_homepage %}{% endif %} + {% if config.site_author %}{% endif %} + {% if page and page.canonical_url %}{% endif %} + {% if config.site_favicon %} + {% else %}{% endif %} + + {%- endblock %} + + {%- block htmltitle %} + {% if page and page.title and not page.is_homepage %}{{ page.title }} - {% endif %}{{ config.site_name }} + {%- endblock %} + + {%- block styles %} + + + + + {%- for path in extra_css %} + + {%- endfor %} + {%- endblock %} + + {%- block libs %} + + + + + + + {% if is_top %} + + {% endif %} + + {%- endblock %} + + {%- block scripts %} + + + {%- for path in extra_javascript %} + + {%- endfor %} + {%- endblock %} + + {%- block analytics %} + {%- if config.google_analytics %} + + {%- endif %} + {%- endblock %} + + {%- block extrahead %} {% endblock %} + + + + + +{# + # Code for the top frame. It should ideally be separate from the index page (which is likely + # possible once theme_config is released with mkdocs 1.0). + #} +{%- if is_top -%} + {% include 'topbar.html' %} + +
+ {% include 'nav-pane.html' %} +
+ +
+
+ +{%- endif -%} + +{# Code for the main template for all content pages. #} + +
+ + {%- if config.extra.article_nav_top != False %} + {% include "article-nav.html" %} + {%- endif %} + + {%- block content %} + {% if page and page.meta.source %} + + {% endif %} + + {{ page.content }} + {%- endblock %} + +
+ {%- if config.extra.article_nav_bottom != False %} + {% include "article-nav.html" %} +
+ {%- endif %} +
+ + + + + +{%- if is_top %} + +{%- endif %}