_includes/layouts/footer.html in jekyll-theme-h2o-ac-1.3.5 vs _includes/layouts/footer.html in jekyll-theme-h2o-ac-1.3.6
- old
+ new
@@ -4,96 +4,114 @@
<footer class="g-footer">
<div class="g-container">
<div class="g-left">
<section class="links">
{{ footer.driver }}
- {% if site.version %} (<a href="https://github.com/zhonger/jekyll-theme-H2O-ac/releases/tag/v{{ site.version }}" target="_blank" class="extlinks">v{{ site.version }}</a>){% endif %}
- {% if site.supports.webify %} & <a href="https://webify.cloudbase.net/" target="_blank" class="extlinks">CloudBase Webify</a> {% endif %}
+ {% if site.version %} (<a href="https://github.com/zhonger/jekyll-theme-H2O-ac/releases/tag/v{{ site.version }}"
+ target="_blank" class="extlinks">v{{ site.version }}</a>){% endif %}
+ {% if site.supports.webify %} & <a href="https://webify.cloudbase.net/" target="_blank"
+ class="extlinks">CloudBase Webify</a> {% endif %}
</section>
<section class="links">{{ site.title }} ©
{% assign current = "now" | date: "%Y" | plus: 0%}
{% unless site.footer.since and site.footer.since == current %}
- {{ site.footer.since }}
- -
+ {{ site.footer.since }}
+ -
{% endunless %}
{{ current }}
{% if site.beian and site.beian != "" %}
- <a href="https://beian.miit.gov.cn/" target="_blank" class="extlinks">{{ site.beian }}</a>
+ <a href="https://beian.miit.gov.cn/" target="_blank" class="extlinks">{{ site.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
+ </svg> RSS
</a>
<a href="/tos" target="_blank" aria-label="Terms of Service" class="others">
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-tos"></use>
- </svg> {{footer.tos.name}}
+ </svg> {{footer.tos.name}}
</a>
</section>
{% if site.busuanzi %}
<section class="links">
<span id="busuanzi_container_site_pv">
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-pv"></use>
- </svg> {{ footer.views }} <span id="busuanzi_value_site_pv"></span> <b>·</b>
+ </svg> {{ footer.views }}
+ {% if site.busuanzi_url %}
+ <span id="busuanzi_site_pv">
+ {% else %}
+ <span id="busuanzi_value_site_pv"></span>
+ {% endif %}
+ <b>·</b>
+ </span>
</span>
<span id="busuanzi_container_site_uv">
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-user"></use>
- </svg> {{ footer.visitors }} <span id="busuanzi_value_site_uv"></span>
+ </svg> {{ footer.visitors }}
+ {% if site.busuanzi_url %}
+ <span id="busuanzi_site_uv"></span>
+ {% else %}
+ <span id="busuanzi_value_site_uv"></span>
+ {% endif %}
</span>
</section>
{% endif %}
<section>
{% if site.alivetime %}
- {{ footer.running.info }}
- <span class="alivetime_days"></span> {{ footer.running.day }}
- <span class="alivetime_hours"></span> {{ footer.running.hour }}
- <span class="alivetime_minutes"></span> {{ footer.running.minute }}
- <span class="alivetime_seconds"></span> {{ footer.running.second }}
+ {{ footer.running.info }}
+ <span class="alivetime_days"></span> {{ footer.running.day }}
+ <span class="alivetime_hours"></span> {{ footer.running.hour }}
+ <span class="alivetime_minutes"></span> {{ footer.running.minute }}
+ <span class="alivetime_seconds"></span> {{ footer.running.second }}
{% endif %}
</section>
</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" | relative_url }}" class="upyun" alt="upyun" /></a>
+ <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>
</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="https://img.foreverblog.cn/logo_en_default.png" alt="">
- </a>
+ <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">
+ </a>
{% endif %}
{% if site.badges.wormhole %}
- <a href="https://www.foreverblog.cn/go.html" target="_blank" class="wormhole" aria-label="wormhole">
- <img src="https://img.foreverblog.cn/wormhole_3.gif" alt="" title="穿梭虫洞-随机访问十年之约友链博客">
- </a>
+ <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="穿梭虫洞-随机访问十年之约友链博客">
+ </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="https://cdn.jsdelivr.net/gh/travellings-link/travellings/assets/logo.gif" alt="开往-友链接力">
- </a>
+ <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="开往-友链接力">
+ </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">
- </a>
+ <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">
+ </a>
{% endif %}
</section>
{% endif %}
</div>
{% if site.cnzz %}
- <script type="text/javascript">document.write(unescape("%3Cspan id='cnzz_stat_icon_{{ site.cnzz }}'%3E%3C/span%3E%3Cscript src='https://v1.cnzz.com/z_stat.php%3Fid%3D{{ site.cnzz }}%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
+ <script
+ type="text/javascript">document.write(unescape("%3Cspan id='cnzz_stat_icon_{{ site.cnzz }}'%3E%3C/span%3E%3Cscript src='https://v1.cnzz.com/z_stat.php%3Fid%3D{{ site.cnzz }}%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
{% endif %}
</div>
</footer>
<div class="cookie-tip">
- {{ cookie.cookieconsent_status }} {{ footer.tos.left }}「 <a href="{{ site.tos | prepend: site.baseurl }}">{{ footer.tos.middle }}</a> 」{{ footer.tos.right }}
+ {{ cookie.cookieconsent_status }} {{ footer.tos.left }}「 <a href="{{ site.tos | prepend: site.baseurl }}">{{
+ footer.tos.middle }}</a> 」{{ footer.tos.right }}
<button id="accept-tos">{{ footer.tos.btn }}</button>
</div>
<section id="tools">
@@ -105,10 +123,11 @@
<svg class="icon b2" aria-hidden="true">
<use xlink:href="#icon-exit"></use>
</svg>
</div>
{% endif %}
- {% if page.content contains 'h1' or page.content contains 'h2' or page.content contains 'h3' or page.content contains 'h4' or page.content contains 'h5' or page.content contains 'h6' and site.toc %}
+ {% if page.content contains 'h1' or page.content contains 'h2' or page.content contains 'h3' or page.content contains
+ 'h4' or page.content contains 'h5' or page.content contains 'h6' and site.toc %}
<div class="tool toc">
<svg class="icon b1 active" aria-hidden="true">
<use xlink:href="#icon-toc"></use>
</svg>
<svg class="icon b2" aria-hidden="true">
\ No newline at end of file