i18n 1.0.4
xaoxuu 6 years ago
parent b54bda4f17
commit 999350c549
  1. 2
      _config.yml
  2. 4
      layout/_third-party/comments.ejs

@ -8,7 +8,7 @@ info:
name: Material X name: Material X
docs: https://xaoxuu.com/wiki/material-x/ docs: https://xaoxuu.com/wiki/material-x/
# 主题的CDN地址。如需启用CDN,请在主目录的config中设置,详见文档。 # 主题的CDN地址。如需启用CDN,请在主目录的config中设置,详见文档。
cdn: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@1.0/ cdn: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@1.0.3/
############################### 主题样式 ############################### ############################### 主题样式 ###############################

@ -25,14 +25,14 @@
<% if (config.disqus_shortname) { %> <% if (config.disqus_shortname) { %>
<section id="comments"> <section id="comments">
<div id="disqus_thread"> <div id="disqus_thread">
<%- __(post.comments_placeholder) %> <a href="https://disqus.com">Disqus</a> 。 <%- __('post.comments_placeholder') %> <a href="https://disqus.com">Disqus</a> 。
</div> </div>
</section> </section>
<% } %> <% } %>
<% if (config.livere_uid){ %> <% if (config.livere_uid){ %>
<section id="comments"> <section id="comments">
<div id="lv-container" data-id="city" data-uid="<%= config.livere_uid %>"> <div id="lv-container" data-id="city" data-uid="<%= config.livere_uid %>">
<noscript>⚠ <%- __(post.comments_placeholder) %></noscript> <noscript>⚠ <%- __('post.comments_placeholder') %></noscript>
</div> </div>
</section> </section>
<% } %> <% } %>

Loading…
Cancel
Save