File tree Expand file tree Collapse file tree 3 files changed +34
-1
lines changed
Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -105,13 +105,29 @@ npm run font
105105
106106See the [ _ config.yml.example] ( https://github.com/HyunSeob/hexo-theme-overdose/blob/master/_config.yml.example ) file.
107107
108- ## Disqus
108+ ### Disqus
109109
110110``` yml
111111# _config.yml of base, not theme config
112112# Please put your shortname of disqus here.
113113disqus_shortname :
114114` ` `
115+ ### LiveRe
116+
117+ LiveRe is social media comment platcform suitable for Korean SNS, like disqus. <br>
118+ see [LiveRe](https://livere.com/). <br>
119+ You can get your uid from livere setting code as below.
120+
121+ ` ` ` html
122+ <div id="lv-container" data-id="city" data-uid="your uid code">
123+ ```
124+ how to set
125+
126+ ``` yml
127+ # Please put your uid of live here.
128+ liveRe :
129+ uid :
130+ ` ` `
115131
116132### Post Front matter
117133
Original file line number Diff line number Diff line change @@ -74,3 +74,7 @@ facebook:
7474fb_admin:
7575twitter:
7676google_plus:
77+
78+ #liveRe
79+ liveRe:
80+ uid:
Original file line number Diff line number Diff line change @@ -50,6 +50,19 @@ article#article.article(itemscope itemtype="https://schema.org/BlogPosting")
5050 meta( itemprop ="name" content ="#{config .author } " )
5151
5252 include sharer
53+
54+ if theme .liveRe .uid
55+ #lv-container ( data-id ="city" , data-uid ="#{theme .liveRe .uid } " )
56+ script .
57+ (function (d , s ) {
58+ var j, e = d .getElementsByTagName (s)[0 ];
59+ if (typeof LivereTower === ' function' ) { return ; }
60+ j = d .createElement (s);
61+ j .src = ' https://cdn-city.livere.com/js/embed.dist.js' ;
62+ j .async = true ;
63+ e .parentNode .insertBefore (j, e);
64+ })(document , ' script' );
65+
5366
5467 // Disqus Code
5568 if config .disqus_shortname
You can’t perform that action at this time.
0 commit comments