_includes/layouts/footer.html in jekyll-theme-h2o-ac-1.3.6 vs _includes/layouts/footer.html in jekyll-theme-h2o-ac-1.4.0

- old
+ new

@@ -19,10 +19,13 @@ {% endunless %} {{ current }} {% if site.beian and site.beian != "" %} <a href="https://beian.miit.gov.cn/" target="_blank" class="extlinks">{{ site.beian }}</a> {% endif %} + {% if site.moe_beian and site.moe_beian != "" %} + <a href="https://icp.gov.moe/?keyword={{ site.moe_beian }}" target="_blank" class="extlinks">萌ICP备{{ site.moe_beian }}号</a> + {% endif %} <a href="/rss.xml" target="_blank" aria-label="Terms of Service" class="others"> <svg class="icon" aria-hidden="true"> <use xlink:href="#icon-rss"></use> </svg> RSS </a> @@ -70,33 +73,52 @@ </div> <div class="g-right"> {% if site.supports.upyun %} <section> <a href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral" target="_blank" class="extlinks">{{ - footer.upyun }} <img src="{{ " /assets/icons/upyun.png" | prepend: site.baseurl }}" class="upyun" alt="upyun" /></a> + footer.upyun }} <img src="{{ "/assets/icons/upyun.png" | prepend: site.baseurl }}" class="upyun" alt="upyun" /></a> </section> {% endif %} + {% if site.badges.netlify or site.badges.vercel or site.badges.cloudflare %} + <section class="badges"> + {% if site.badges.netlify %} + <a href="https://netlify.com" target="_blank" class="netlify" aria-label="netlify"> + <img src="{{ "/assets/icons/netlify-icon-light.svg" | prepend: site.baseurl }}" alt="netlify"> + </a> + {% endif %} + {% if site.badges.vercel %} + <a href="https://vercel.com" target="_blank" class="vercel" aria-label="vercel"> + <img src="{{ "/assets/icons/vercel-logotype-dark.png" | prepend: site.baseurl }}" alt="vercel"> + </a> + {% endif %} + {% if site.badges.cloudflare %} + <a href="https://www.cloudflare.com" target="_blank" class="cloudflare" aria-label="cloudflare"> + <img src="{{ "/assets/icons/cloudflare-logo.webp" | prepend: site.baseurl }}" alt="cloudflare"> + </a> + {% endif %} + </section> + {% endif %} {% if site.badges.foreverblog or site.badges.wormhole or site.badges.travelling or site.badges.notbyAI %} <section class="badges"> {% if site.badges.foreverblog %} <a href="https://www.foreverblog.cn/" target="_blank" class="foreverblog" aria-label="foreverblog"> - <img src="{{ " /assets/icons/forever_en_default.png" | prepend: site.baseurl }}" alt="foreverblog"> + <img src="{{ "/assets/icons/forever_en_default.png" | prepend: site.baseurl }}" alt="foreverblog"> </a> {% endif %} {% if site.badges.wormhole %} <a href="https://www.foreverblog.cn/go.html" target="_blank" class="wormhole" aria-label="wormhole"> - <img src="{{ " /assets/icons/wormhole_3.gif" | prepend: site.baseurl }}" alt="" title="穿梭虫洞-随机访问十年之约友链博客"> + <img src="{{ "/assets/icons/wormhole_3.gif" | prepend: site.baseurl }}" alt="" title="穿梭虫洞-随机访问十年之约友链博客"> </a> {% endif%} {% if site.badges.travelling %} <a href="https://www.travellings.cn/go.html" target="_blank" class="travelling-badge" aria-label="Travelling" rel="noopener" title="开往-友链接力"> - <img src="{{ " /assets/icons/travellings.gif" | prepend: site.baseurl }}" alt="开往-友链接力"> + <img src="{{ "/assets/icons/travellings.gif" | prepend: site.baseurl }}" alt="开往-友链接力"> </a> {% endif %} {% if site.badges.notbyAI %} <a href="https://notbyai.fyi/" target="_blank" class="notbyAI" aria-label="notbyAI"> - <img src="{{ " /assets/icons/notbyAI-white.png" | prepend: site.baseurl }}" alt="Written by Human, Not by AI"> + <img src="{{ "/assets/icons/notbyAI-white.png" | prepend: site.baseurl }}" alt="Written by Human, Not by AI"> </a> {% endif %} </section> {% endif %} </div> \ No newline at end of file