<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-content" data-md-component="content">
    <div class="sponsor sponsor-toc">
      <div class="sponsor-label">
        <strong>赞助商</strong>
      </div>
      <div class="sponsor-wrapper sponsor-flex-wrapper-toc">
        <a class="sponsor-item sponsor-item-toc sponsor-item-toc-full-row" target="_blank" href="https://1panel.cn" title="新一代的 Linux 服务器运维管理面板">
          <img src="/assets/images/sponsor/1panel.png" alt="1Panel" style="filter: grayscale(1) invert(0.6)" />
        </a>
        <a class="sponsor-item sponsor-item-toc sponsor-item-toc-darker" target="_blank" href="https://arcadia.cool" title="一站式代码运维平台">
          <img src="/assets/images/sponsor/arcadia-light.png#only-light" alt="Arcadia" style="padding: 0 2px; filter: grayscale(1) invert(0.5)" />
          <img src="/assets/images/sponsor/arcadia-dark.png#only-dark" alt="Arcadia" style="padding: 0 2px; filter: grayscale(1) invert(0.4)" />
        </a>
        <a class="sponsor-item sponsor-item-toc sponsor-item-toc-darker" target="_blank" href="https://www.dkdun.cn/aff/VAWGETUL" title="林枫云 - 专注独立IP高频VPS｜R9/i9系列定制">
          <img src="/assets/images/sponsor/linfengyun-light.png#only-light" alt="林枫云" style="filter: grayscale(1) invert(0.5)" />
          <img src="/assets/images/sponsor/linfengyun-dark.png#only-dark" alt="林枫云" style="filter: grayscale(1) invert(0.4)" />
        </a>
        <a class="sponsor-item sponsor-item-toc sponsor-item-toc-darker" target="_blank" href="https://www.qiaoxh.com/?from=linuxmirrors.cn" title="乔星欢 - 香港4核4G服务器28元起_香港500Mbps大带宽">
          <img src="/assets/images/sponsor/qiaoxh-light.svg#only-light" alt="乔星欢" style="margin-bottom: 6px; filter: grayscale(1) invert(0.5)" />
          <img src="/assets/images/sponsor/qiaoxh-dark.svg#only-dark" alt="乔星欢" style="margin-bottom: 6px; filter: grayscale(1) brightness(0.6)" />
        </a>
        <a class="sponsor-item sponsor-item-toc" target="_blank" href="https://www.sutuoyun.com" title="速拓云 - 国内高防云服务器新用户享5折优惠">
          <img src="/assets/images/sponsor/sutuoyun.svg#only-light" alt="速拓云" />
          <img src="/assets/images/sponsor/sutuoyun.svg#only-dark" alt="速拓云" style="filter: grayscale(1) invert(0.6)" />
        </a>
        <a class="sponsor-item sponsor-item-toc" target="_blank" href="https://yunyoo.cc/aff/KPTJHNWM" title="云悠YUNYOO - 全球高性价比云服务器｜低至15.99元起">
          <img src="/assets/images/sponsor/yunyoo.png" alt="云悠YUNYOO" />
        </a>
        <a class="sponsor-item sponsor-item-toc" target="_blank" href="https://www.shengdaoyun.com" title="圣道云 - 稳定高效云服务器｜低至9.9元/月起">
          <img src="/assets/images/sponsor/shengdaoyun-light.png#only-light" alt="圣道云" style="filter: grayscale(1) invert(0.4)" />
          <img src="/assets/images/sponsor/shengdaoyun-dark.png#only-dark" alt="圣道云" style="filter: grayscale(1) brightness(0.8)" />
        </a>
        <a class="sponsor-item sponsor-item-toc" target="_blank" href="https://fufuidc.com" title="芙芙云 - 助力低价极速上云">
          <img src="/assets/images/sponsor/fufuyun.png#only-light" alt="芙芙云" style="filter: grayscale(1) brightness(0.8)" />
          <img src="/assets/images/sponsor/fufuyun.png#only-dark" alt="芙芙云" style="filter: grayscale(1) brightness(1.2)" />
        </a>
        <a class="sponsor-item sponsor-item-toc" target="_blank" href="https://www.xinniaoyun.com" title="新鸟云 - 2核2G云主机特价15元/月">
          <img src="/assets/images/sponsor/xinniaoyun.png#only-light" alt="新鸟云" style="filter: grayscale(1) invert(0.5)" />
          <img src="/assets/images/sponsor/xinniaoyun.png#only-dark" alt="新鸟云" style="filter: grayscale(1) invert(0.6)" />
        </a>
        <!-- <a class="sponsor-item sponsor-item-toc sponsor-item-toc-darker" target="_blank" title="成为赞助商" href="/sponsor/">
          <span style="font-size: 0.6rem; opacity: 0.5">
            <strong>成为赞助商</strong>
          </span>
        </a> -->
      </div>
    </div>
  </div>
  {% endif %}
</nav>
