第三方服务维护指南

Page Miscellaneous

Mark Chen | 03 Jun 2021

评论区

网页的评论区基于 Valinelean cloud 搭建

<!-- Script Header for valine comment area -->
<script src='//unpkg.com/valine/dist/Valine.min.js'></script>
<h3>评论区</h3>
<div class="no-decoration">
    <div id="vcomments"></div>
        <script>
            new Valine({
                el: '#vcomments',
                appId: '8fKQHmL2KKgtJSxGo7d3SfGV-gzGzoHsz',
                appKey: 'YWf5Di35XGX8gboR1cSLKafj',
                placeholder: '欢迎在这里分享自己的独到见解 : ) 评论区支持 Markdown 语法'
            })
    </script>
</div>

百度统计

百度统计的代码在源文件中的 ./_includes/thirdParty/baidu-Statistics.html

<script>
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?1d1abbfeb50113aa21bb45c09fd225fa";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
</script>