Skip to content

Commit

Permalink
1、增加livere评论系统
Browse files Browse the repository at this point in the history
2、去掉于iOS相关技术的文章
  • Loading branch information
leopardpan committed Jul 13, 2020
1 parent b84ce35 commit 4cbea2e
Show file tree
Hide file tree
Showing 25 changed files with 98 additions and 2,198 deletions.
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ enableToc: true

# Comment
comment:
disqus: leopard
livere: MTAyMC81MDk5NC8yNzQ3Ng # https://www.livere.com
# disqus: leopard
# uyan: 2143225 # 有言id,登录有言官网申请

# Social
Expand Down
18 changes: 15 additions & 3 deletions _includes/comments.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
<section class="post-comments">

{% if site.comment.uyan %}
<div id="uyan_frame"></div>
{% if site.comment.livere %}

<script type="text/javascript" src="http://v2.uyan.cc/code/uyan.js?uid="+'{{ site.comment.uyan }}'></script>
<div id="lv-container" data-id="city" data-uid="{{site.comment.livere}}">
<script type="text/javascript">
(function(d, s) {
var j, e = d.getElementsByTagName(s)[0];

if (typeof LivereTower === 'function') { return; }
j = d.createElement(s);
j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
j.async = true;
e.parentNode.insertBefore(j, e);
})(document, 'script');
</script>
<noscript>为正常使用来必力评论功能请激活JavaScript</noscript>
</div>

{% elsif site.comment.disqus %}
<div id="disqus_thread"></div>
Expand Down
2 changes: 1 addition & 1 deletion _posts/2015-08-25-HEXO搭建个人博客.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: post
title: "HEXO搭建个人博客"
date: 2015-08-25
description: "HEXO配置,HEXO+Github,搭建自己的博客"
tag: 博客
tag: hexo
---

  经过各种找资料,踩过各种坑,终于使用 hexo 搭建个人博客初步完成了,域名目前用得时 github 的,我的 hexo 是 3.1.1 版本,hexo 不同的版本,很多配置都不一样。好吧,废话不多说了,开始吧。
Expand Down
107 changes: 0 additions & 107 deletions _posts/2015-09-26-iOS9_Note.md

This file was deleted.

104 changes: 0 additions & 104 deletions _posts/2016-01-09-iOS_OTA.md

This file was deleted.

Loading

0 comments on commit 4cbea2e

Please sign in to comment.