20 lines
875 B
HTML
20 lines
875 B
HTML
<div id="footer1">Copyright © <span id="copyrightYear"></span> <a href="{{ blogBase['homeUrl'] }}">{{ blogBase['title'] }}</a></div>
|
|
<div id="footer2">
|
|
{%- if blogBase['filingNum']!='' -%}
|
|
<span id="filingNum"><a href="https://beian.miit.gov.cn/" target="_blank">{{ blogBase['filingNum'] }}</a> • </span>
|
|
{%- endif %}
|
|
<span id="runday"></span><span>Powered by <a href="https://meekdai.com/Gmeek.html" target="_blank">Gmeek</a></span>
|
|
</div>
|
|
|
|
<script>
|
|
var now=new Date();
|
|
document.getElementById("copyrightYear").innerHTML=now.getFullYear();
|
|
|
|
if("{{ blogBase['startSite'] }}"!=""){
|
|
var startSite=new Date("{{ blogBase['startSite'] }}");
|
|
var diff=now.getTime()-startSite.getTime();
|
|
var diffDay=Math.floor(diff/(1000*60*60*24));
|
|
document.getElementById("runday").innerHTML="{{ i18n['run'] }}"+diffDay+"{{ i18n['days'] }}"+" • ";
|
|
}
|
|
</script>
|