Cosmetic upgrade with latest mkdocs-material upgrade

This commit is contained in:
Gauthier Provost 2020-04-20 15:59:58 +08:00
parent 08d02a6c07
commit 1d0b5d2d18
22 changed files with 389 additions and 255 deletions

View file

@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
@ -21,21 +21,30 @@
-->
<!-- Main navigation -->
<nav class="md-nav md-nav--primary" data-md-level="0">
<nav
class="md-nav md-nav--primary"
aria-label="{{ lang.t('nav.title') }}"
data-md-level="0"
>
<!-- Site title -->
<label class="md-nav__title md-nav__title--site" for="__drawer">
<a href="{{ config.site_url | default(nav.homepage.url, true) | url }}"
title="{{ config.site_name }}" class="md-nav__button md-logo">
{% if config.theme.logo.icon %}
<i class="md-icon">{{ config.theme.logo.icon }}</i>
{% else %}
<img src="{{ config.theme.logo | url }}" width="64" height="12" />
{% endif %}
<label class="md-nav__title" for="__drawer">
<a
href="{{ config.site_url | default(nav.homepage.url, true) | url }}"
title="{{ config.site_name }}"
class="md-nav__button md-logo"
aria-label="{{ config.site_name }}"
>
{% include "partials/logo.html" %}
</a>
{{ config.site_name }}
</label>
<!-- Download Section -->
<div class="md-nav__source">
{% include "partials/download.html" %}
</div>
<!-- Repository containing source -->
{% if config.repo_url %}
<div class="md-nav__source">
@ -43,20 +52,6 @@
</div>
{% endif %}
<div class="md-nav__source">
<a href="/helios4/download" title="Go to Download" class="md-source">
<div class="md-source__icon">
<img src="/img/sd.png" style="position:relative; left:8px; top:8px">
</div>
<div class="md-source__repository">
Download IMG
<ul class="md-source__facts">
<li class="md-source__fact">Latest build : {{ config.extra.sd_release.latest }}</li>
</ul>
</div>
</a>
</div>
<!-- Render item list -->
<ul class="md-nav__list" data-md-scrollfix>
{% for nav_item in nav %}