mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
提取出配置做成通用模板
This commit is contained in:
parent
07d3f7e399
commit
c86c180e3f
3 changed files with 18 additions and 1 deletions
|
|
@ -44,3 +44,14 @@
|
|||
})();
|
||||
</script>
|
||||
{% endif %}
|
||||
{% if BAIDU_ANALYTICS %}
|
||||
<script>
|
||||
var _hmt = _hmt || [];
|
||||
(function() {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "//hm.baidu.com/hm.js?{{ BAIDU_ANALYTICS }}";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
</script>
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -74,9 +74,10 @@
|
|||
</address><!-- /#about -->
|
||||
|
||||
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
||||
{% include 'china_icp_license.html' %}
|
||||
</footer><!-- /#contentinfo -->
|
||||
|
||||
{% include 'analytics.html' %}
|
||||
{% include 'analytics.html' %}
|
||||
{% include 'disqus_script.html' %}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
{% if CHINA_ICP_LICENSE %}
|
||||
<p>
|
||||
<a href="http://www.miitbeian.gov.cn/">{{ CHINA_ICP_LICENSE }}</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue