mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2026-02-10 15:55:36 +08:00
添加赞助商
This commit is contained in:
28
docs/theme/partials/toc.html
vendored
Normal file
28
docs/theme/partials/toc.html
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<nav class="md-nav md-nav--secondary" aria-label="{{ title }}">
|
||||
{% set toc = page.toc %} {% set first = toc | first %} {% if first and first.level == 1 %} {% set toc = first.children %} {% endif %} {% if toc %}
|
||||
<label class="md-nav__title" for="__toc">
|
||||
<span class="md-nav__icon md-icon"></span>
|
||||
{{ title }}
|
||||
</label>
|
||||
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
||||
{% for toc_item in toc %} {% include "partials/toc-item.html" %} {% endfor %}
|
||||
</ul>
|
||||
|
||||
<div class="md-nav__sponsor-bottom">
|
||||
<div class="sponsor-label">
|
||||
<strong>赞助商</strong>
|
||||
</div>
|
||||
<div class="sponsor-wrapper">
|
||||
<a href="https://arcadia.cool" target="_blank" class="sponsor-item">
|
||||
<img id="sponsor-img" src="/assets/images/sponsor/arcadia-light.png#only-light" alt="Arcadia 一站式代码运维平台" style="width: 80%" />
|
||||
<img id="sponsor-img" src="/assets/images/sponsor/arcadia-dark.png#only-dark" alt="Arcadia 一站式代码运维平台" style="width: 80%" />
|
||||
</a>
|
||||
<a href="/sponsor/" target="_blank" class="sponsor-item">
|
||||
<span class="sponsor-item" style="font-size: 0.8rem">
|
||||
<strong>成为赞助商</strong>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</nav>
|
||||
Reference in New Issue
Block a user