|
9 | 9 | <i class="fas fa-calendar-alt fa-fw" aria-hidden="true"></i>
|
10 | 10 | <%= date(post.date, config.date_format) %>
|
11 | 11 | </time>
|
12 |
| - <% if (config.leancloud_analytics && config.leancloud_analytics.app_id && config.leancloud_analytics.app_key) { %> |
13 |
| - <div class="browse leancloud_analytics"><i class="fas fa-eye fa-fw" aria-hidden="true"></i> |
| 12 | + <% if (config.leancloud && config.leancloud.app_id && config.leancloud.app_key) { %> |
| 13 | + <div class="browse leancloud"><i class="fas fa-eye fa-fw" aria-hidden="true"></i> |
14 | 14 | <span id="<%= url_for(post.path) %>" class="leancloud_visitors" data-flag-title="<%= post.title %>">
|
15 | 15 | <span class="leancloud-visitors-count"></span>
|
16 | 16 | </span>
|
|
127 | 127 |
|
128 | 128 | <% if (post.comments) { %>
|
129 | 129 |
|
| 130 | + <h4><i class="fas fa-comments fa-fw" aria-hidden="true"></i> 评论</h4> |
130 | 131 | <% if (config.disqus_shortname) { %>
|
131 |
| - <h4><i class="fas fa-comments fa-fw" aria-hidden="true"></i> Disqus评论</h4> |
132 | 132 | <section id="comments">
|
133 | 133 | <div id="disqus_thread">
|
134 | 134 | ⚠️ 无法加载评论系统,请确保您的网络能够正常访问 <a href="https://disqus.com">Disqus</a> 。
|
|
137 | 137 | <% } %>
|
138 | 138 |
|
139 | 139 | <% if (config.livere_uid){ %>
|
140 |
| - <h4><i class="fas fa-comments fa-fw" aria-hidden="true"></i> LiveRe评论</h4> |
141 | 140 | <section id="comments">
|
142 | 141 | <div id="lv-container" data-id="city" data-uid="<%= config.livere_uid %>">
|
143 | 142 | <noscript>为正常使用来必力评论功能请激活JavaScript</noscript>
|
|
147 | 146 |
|
148 | 147 | <% if (config.valine){ %>
|
149 | 148 | <% if (config.valine.enable && config.valine.app_id && config.valine.app_key){ %>
|
150 |
| - <h4><i class="fas fa-comments fa-fw" aria-hidden="true"></i> Valine评论</h4> |
151 | 149 | <div class="subtitle">
|
152 |
| - <h6><b>文明评论,请勿灌水。</b>为了便于区分和接收回复提醒,请您在留言时填写一下<b>昵称</b>和<b>邮箱</b>。 |
153 |
| - 不定期清理没有昵称和灌水的评论。</h6> |
| 150 | + <h6><b>文明评论,请勿灌水。</b>为了便于区分和接收回复提醒,请您在留言时填写一下<b>昵称</b>和<b>邮箱</b>。</h6> |
154 | 151 | <div>
|
155 | 152 | <section id="comments">
|
156 | 153 | <div id="valine_container" class="valine_thread">
|
|
0 commit comments