feling.net/_includes/footer-no-ad.html

41 lines
1.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div>
<div class="uk-width-small-1-1 uk-width-medium-1-1 uk-width-large-1-3 uk-text-small uk-text-muted"
style="padding-left:10px; padding-top: 10px;float:left;">
{% if page.url contains "/pages/" or page.url contains "/rank/" %}
{% else %}
<input id="shy-footer-checkbox" class="uk-hidden" type="checkbox">
<label class="uk-label" for="shy-footer-checkbox" style="float: right;margin-right: 20px;"
data-uk-tooltip
title="害羞的Footer一般不会被看到相当于去广告页面更干净<br/><br/>翻翻网页源代码你会知道怎么让Footer害羞起来。">
害羞的Footer:
<span id="shy-footer-on" style="display: none;"></span>
<span id="shy-footer-off" style="display: none;">未生效</span>
</label>
{% endif %}
<span>最新构建于: {{ site.time | date: "%Y-%m-%d %H:%M" }}</span><br><br>
<span>
<a href="http://beian.miit.gov.cn" rel="nofollow">闽ICP备17033777号</a>
</span><br><br>
<span>开源地址: https://gitee.com/apihub/feling.net</span>
</div>
{% if page.url contains "/pages/" or page.url contains "/rank/" %}
<script>
// (adsbygoogle = window.adsbygoogle || []).push({});
</script>
{% else %}
<script>
if (localStorage.shyFooter == 'true') {
$('#content').css('min-height', 'calc(100% - 40px - 10px - 10px)')
$('footer').hide()
$('#shy-footer-on').show()
$('#shy-footer-off').hide()
} else {
// (adsbygoogle = window.adsbygoogle || []).push({});
$('#shy-footer-on').hide()
$('#shy-footer-off').show()
}
</script>
{% endif %}
</div>