Skip to content

Commit

Permalink
迁移多说评论同步
Browse files Browse the repository at this point in the history
  • Loading branch information
foru17 committed Apr 29, 2014
1 parent efae86f commit 1423939
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -8,6 +8,12 @@ for more info.Please contact [@foru17](http://twitter.com/foru17)

本 Ghost 主题为26号设计工作室作品

####注意

若使用本主题,请修改`default.hbs`文件中的谷歌统计 Google Analytics 代码。

若使用多说评论且有从wordpress迁移的需求,请修改js文件中的原博客`data-url`地址。


####关于这个主题

Expand Down
2 changes: 1 addition & 1 deletion assets/css/min.style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/custom.js
Expand Up @@ -10,7 +10,7 @@ var _siteDomain= 'luolei.org' || window.location.host;
* 尼玛这遇到坑啊,还要自己写插件处理这个评论的迁移
*/
var duoshuoTrans= window.location.pathname;
$('.ds-thread').attr('data-url','http://luolei.org'+duoshuoTrans);
$('.ds-thread').attr('data-url','http://blog.luolei.org'+duoshuoTrans);
//document.getElementsByClassName('ds-thread').setAttribute('data-url','http://luolei.org'+duoshuoTrans);


Expand Down
4 changes: 4 additions & 0 deletions css/scss/_481up.scss
Expand Up @@ -34,3 +34,7 @@
.pagination{
width: 90%;
}

.cover-slide-more{
margin-left: 45%;
}
2 changes: 1 addition & 1 deletion css/scss/_base.scss
Expand Up @@ -765,7 +765,7 @@ overflow: hidden;
.cover-slide-more{
position: absolute;
bottom: 4rem;
left: 50%;
left: 48%;
h4{
display: none;
font-size: 2.4rem;
Expand Down
7 changes: 5 additions & 2 deletions css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion post.hbs
Expand Up @@ -86,7 +86,7 @@ onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');ret
var duoshuoQuery = {short_name:"luolei"};
(function() {
var ds = document.createElement('script');
ds.type = 'text/javascript';
ds.type = 'text/javascript';ds.async = true;
ds.src = 'http://static.duoshuo.com/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0]
Expand Down

0 comments on commit 1423939

Please sign in to comment.