cloudy-liu / cloudy-liu.github.io

cloudy personal blog
0 stars 4 forks source link

Hexo 主题迁移到 icarus - YunShell #24

Open cloudy-liu opened 5 years ago

cloudy-liu commented 5 years ago

https://www.liuyun.fun/2019/06/23/Hexo%E4%B8%BB%E9%A2%98%E8%BF%81%E7%A7%BB%E5%88%B0icarus/

yilia 在大屏下被拉伸的太长了,一直想换三栏模式,最近看到 icarus主题,设计的非常漂亮,于是果断换 (怎么现在尽是在折腾Hexo 主题啊,Orz…)

panxiaoguang commented 5 years ago

作者你好,请问为什么我用了调整阅读模式双栏后,我的百度分享不显示了啊?

panxiaoguang commented 5 years ago

我还有个问题,你这个站点是托管在github上然后换了域名解析,还是直接放在你自己的云存储了呀,假设在GitHub托管然后换域名,gittalk还能用吗

cloudy-liu commented 5 years ago

@panxiaoguang 我还有个问题,你这个站点是托管在github上然后换了域名解析,还是直接放在你自己的云存储了呀,假设在GitHub托管然后换域名,gittalk还能用吗

托管在github上的,gitalk当然能用啊,我这里就是的

cloudy-liu commented 5 years ago

@panxiaoguang 作者你好,请问为什么我用了调整阅读模式双栏后,我的百度分享不显示了啊?

我这里没设置分享,这个调整应该没有影响,你在看下哪里设置错了

panxiaoguang commented 5 years ago

@cloudy-liu

@panxiaoguang 我还有个问题,你这个站点是托管在github上然后换了域名解析,还是直接放在你自己的云存储了呀,假设在GitHub托管然后换域名,gittalk还能用吗

托管在github上的,gitalk当然能用啊,我这里就是的

谢啦!

Muxiz commented 5 years ago

这个字体可以换吗?

A2Data commented 5 years ago

为什么我调整双兰 模式 之后 还是三兰呢

cloudy-liu commented 5 years ago

@A2Data 为什么我调整双兰 模式 之后 还是三兰呢

是按照正确的方式修改的吗?

cloudy-liu commented 5 years ago

@Muxiz 这个字体可以换吗?

中文字体,还是指代码字体? 这个字体个人觉得很好看啊

moxia commented 5 years ago

这个主题的文章目录,怎么这么模糊

Muxiz commented 5 years ago

@cloudy-liu

@Muxiz 这个字体可以换吗?

中文字体,还是指代码字体? 这个字体个人觉得很好看啊

代码字体,我已经换好了 https://muxiz.github.io/

xubinbo commented 4 years ago

作者你好,我照着你的设置目录,目录是有了,但是我往下拖动,不会固定在左上角,往下拉就没了,这里是要在哪设置呢

A2Data commented 4 years ago

icarus 主题的吗?

我现在切换到 别的主题了。  www.a2data.cn 你看看这个。 可以加我微信复数一下情况

------------------ 原始邮件 ------------------ 发件人: "xubin"<notifications@github.com>; 发送时间: 2019年12月26日(星期四) 下午4:41 收件人: "cloudy-liu/cloudy-liu.github.io"<cloudy-liu.github.io@noreply.github.com>; 抄送: "|SVIP风"<yinjie.feng@foxmail.com>; "Mention"<mention@noreply.github.com>; 主题: Re: [cloudy-liu/cloudy-liu.github.io] Hexo 主题迁移到 icarus - YunShell (#24)

作者你好,我照着你的设置目录,目录是有了,但是我往下拖动,不会固定在左上角,往下拉就没了,这里是要在哪设置呢

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

panxiaoguang commented 4 years ago

请问,我想把文章放在左边,边栏目录放在右边该怎么办啊

A2Data commented 4 years ago

这个得改代码。 样式。 在css里。 有我记得 好像有案例的。 

------------------ 原始邮件 ------------------ 发件人: "panxiaoguang"<notifications@github.com>; 发送时间: 2020年1月8日(星期三) 下午3:28 收件人: "cloudy-liu/cloudy-liu.github.io"<cloudy-liu.github.io@noreply.github.com>; 抄送: "|SVIP风"<yinjie.feng@foxmail.com>; "Mention"<mention@noreply.github.com>; 主题: Re: [cloudy-liu/cloudy-liu.github.io] Hexo 主题迁移到 icarus - YunShell (#24)

请问,我想把文章放在左边,边栏目录放在右边该怎么办啊

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

A2Data commented 4 years ago

是 icarus 主题吗。 

https://www.alphalxy.com/2019/03/customize-icarus/

有一个设置,改成right 即可。

------------------ 原始邮件 ------------------ 发件人: "panxiaoguang"<notifications@github.com>; 发送时间: 2020年1月8日(星期三) 下午3:28 收件人: "cloudy-liu/cloudy-liu.github.io"<cloudy-liu.github.io@noreply.github.com>; 抄送: "|SVIP风"<yinjie.feng@foxmail.com>;"Mention"<mention@noreply.github.com>; 主题: Re: [cloudy-liu/cloudy-liu.github.io] Hexo 主题迁移到 icarus - YunShell (#24)

请问,我想把文章放在左边,边栏目录放在右边该怎么办啊

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

cloudy-liu commented 4 years ago

@panxiaoguang 请问,我想把文章放在左边,边栏目录放在右边该怎么办啊

按照下面修改下, + if (position === 'left') { // 这里 left 改为 right

试下看

themes/icarus/includes/helpers/layout.js

-        return widgets.filter(widget => widget.hasOwnProperty('position') && widget.position === position);
+        if (this.page.layout !== 'post') {
+            return widgets.filter(widget => widget.hasOwnProperty('position') && widget.position === position);
+        }
+        if (position === 'left') {  // 这里 - left 改为 right 
+            return widgets.filter(widget => widget.hasOwnProperty('position') && (widget.type === 'toc'));
+        } else {
+            return []
+        }
osys commented 4 years ago

你好博主,怎么样才能够设置博文的左边只显示目录呢? 我的博文的左边显示太多东西了,太乱了,所以我先设置只显示目录,能告诉我怎么设置吗?

cloudy-liu commented 4 years ago

你好博主,怎么样才能够设置博文的左边只显示目录呢? 我的博文的左边显示太多东西了,太乱了,所以我先设置只显示目录,能告诉我怎么设置吗?

可以在 themes\icarus_config.yml 文件里面,widgets: 栏位里面配置,不需要显示的控件删除掉,试试看

Muxiz commented 4 years ago

你qq多少我加我不太记得的了 我用截图什么的告诉你比较好 ------------------ 原始邮件 ------------------ 发件人: "cloudy"<notifications@github.com>; 发送时间: 2020年5月23日(星期六) 中午11:08 收件人: "cloudy-liu/cloudy-liu.github.io"<cloudy-liu.github.io@noreply.github.com>; 抄送: "沐汐࿐"<603885801@qq.com>;"Mention"<mention@noreply.github.com>; 主题: Re: [cloudy-liu/cloudy-liu.github.io] Hexo 主题迁移到 icarus - YunShell (#24)

你好博主,怎么样才能够设置博文的左边只显示目录呢? 我的博文的左边显示太多东西了,太乱了,所以我先设置只显示目录,能告诉我怎么设置吗?

可以在 themes\icarus_config.yml 文件里面,widgets: 栏位里面配置,不需要显示的控件删除掉,试试看

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

A2Data commented 4 years ago
font{
    line-height: 1.6;
}
ul,ol{
    padding-left: 20px;
    list-style-position: inside;
}

我现在的主题改了,我也不知道你的具体问题出在了哪里?网站:www.a2data.cn博客:www.sqlsq.cn上边有我的联系方式。

在2020年5月23日 12:13,沐汐<notifications@github.com> 写道: 

你qq多少我加我不太记得的了

我用截图什么的告诉你比较好

------------------ 原始邮件 ------------------

发件人: "cloudy"<notifications@github.com>;

发送时间: 2020年5月23日(星期六) 中午11:08

收件人: "cloudy-liu/cloudy-liu.github.io"<cloudy-liu.github.io@noreply.github.com>;

抄送: "沐汐࿐"<603885801@qq.com>;"Mention"<mention@noreply.github.com>;

主题: Re: [cloudy-liu/cloudy-liu.github.io] Hexo 主题迁移到 icarus - YunShell (#24)

你好博主,怎么样才能够设置博文的左边只显示目录呢?

我的博文的左边显示太多东西了,太乱了,所以我先设置只显示目录,能告诉我怎么设置吗?

可以在 themes\icarus_config.yml 文件里面,widgets: 栏位里面配置,不需要显示的控件删除掉,试试看

You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub, or unsubscribe.

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

Muxiz commented 4 years ago

请问你还在吗? 我这个也不知道是哪个了

------------------ 原始邮件 ------------------ 发件人: "JackFeng"<notifications@github.com>; 发送时间: 2020年5月24日(星期天) 上午10:54 收件人: "cloudy-liu/cloudy-liu.github.io"<cloudy-liu.github.io@noreply.github.com>; 抄送: "沐汐࿐"<603885801@qq.com>;"Mention"<mention@noreply.github.com>; 主题: Re: [cloudy-liu/cloudy-liu.github.io] Hexo 主题迁移到 icarus - YunShell (#24)

 font{ 
     line-height: 1.6; 
 } 
 ul,ol{ 
     padding-left: 20px; 
     list-style-position: inside; 
 } 

 我现在的主题改了,我也不知道你的具体问题出在了哪里?网站:www.a2data.cn博客:www.sqlsq.cn上边有我的联系方式。

 在2020年5月23日 12:13,沐汐<notifications@github.com&gt; 写道: 

你qq多少我加我不太记得的了

我用截图什么的告诉你比较好

------------------&nbsp;原始邮件&nbsp;------------------

发件人:&nbsp;"cloudy"<notifications@github.com&gt;;

发送时间:&nbsp;2020年5月23日(星期六) 中午11:08

收件人:&nbsp;"cloudy-liu/cloudy-liu.github.io"<cloudy-liu.github.io@noreply.github.com&gt;;

抄送:&nbsp;"沐汐࿐"<603885801@qq.com&gt;;"Mention"<mention@noreply.github.com&gt;;

主题:&nbsp;Re: [cloudy-liu/cloudy-liu.github.io] Hexo 主题迁移到 icarus - YunShell (#24)

你好博主,怎么样才能够设置博文的左边只显示目录呢?

我的博文的左边显示太多东西了,太乱了,所以我先设置只显示目录,能告诉我怎么设置吗?

可以在 themes\icarus_config.yml 文件里面,widgets: 栏位里面配置,不需要显示的控件删除掉,试试看

You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub, or unsubscribe.

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.