GithubHelp home page GithubHelp logo

fechin / hexo-theme-diaspora Goto Github PK

View Code? Open in Web Editor NEW
1.3K 1.3K 248.0 606 KB

Hexo theme, Blog theme, Clean, Responsive theme

Home Page: https://fech.in

License: MIT License

CSS 20.63% JavaScript 68.58% EJS 10.79%
blog hexo theme

hexo-theme-diaspora's Introduction

  • 👋 Hi, I’m @Fechin
  • 👀 I’m interested in ...
  • 🌱 I’m currently learning ...
  • 💞️ I’m looking to collaborate on ...
  • 📫 How to reach me ...

hexo-theme-diaspora's People

Contributors

b3rn475 avatar dingzd1995 avatar dukebode avatar fechin avatar ivanwei avatar memset0 avatar mitian233 avatar moemu avatar qinshaoxuan avatar renbaoshuo avatar wencaizhang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hexo-theme-diaspora's Issues

希望作者开发文章大纲的模块

作者开发的主题非常漂亮了,非常感谢作者,不过希望作者有时间开发一下文章大纲的列表模块,在文章右侧一个滑动的Markdown标题视图大纲这样的效果。

诺在child directory使用,貌似失效

比如说,如果 config.root 是/blog/,首页posts的link会变成 https://xxx.xx/blog/blog/prefix/thisisapost/
如果 config.root 是 /,则无异常,但是就不能在child directory下正常操作了,即 https://xxx.xx/prefix/thisisapost
详情可在此测试测试 https://leewp14.github.io/blog/
该主题有部分代码不支持在child directory运行,都自行改写解决了,唯独这个我想不到该怎么解决 😅 (我看不明白ejs的代码 :3)

TOC问题

您好,如果多级,感觉渲染时第二级之下的目录的会放到标签外,这个我试着改,没成功.

音乐自动播放问题

设置了自动播放,在安卓系统内可以自动播放,在iOS系统里面无法自动播放,需要手动点击按钮才可以播放

直接引用控制台报错---求助!!

网址:websong.xin
问题:

  • 随意点入blog后控制台报错。那个undefined是哪个参数,我没有找到,怎么关闭解决报错问题?
  • 打包文件后放在服务器上。点击进入blog,路由切换,没有刷新网页,为什么会请求这个接口?

麻烦了,如果有时间麻烦看一下这个问题。谢谢

$ hexo g -d ERROR Plugin load failed: hexo-prism-plugin Error

$ hexo g -d
ERROR Plugin load failed: hexo-prism-plugin
Error: prism_plugin options should be added to _config.yml file
at D:\blog\node_modules\hexo-prism-plugin\src\index.js:70:9
at fs.readFile.then.script (D:\blog\node_modules\hexo\lib\hexo\index.js:240:12)
at tryCatcher (D:\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (D:\blog\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (D:\blog\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (D:\blog\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (D:\blog\node_modules\bluebird\js\release\promise.js:694:18)
at Promise._fulfill (D:\blog\node_modules\bluebird\js\release\promise.js:638:18)
at Promise._resolveCallback (D:\blog\node_modules\bluebird\js\release\promise.js:432:57)
at Promise._settlePromiseFromHandler (D:\blog\node_modules\bluebird\js\release\promise.js:524:17)
at Promise._settlePromise (D:\blog\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (D:\blog\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (D:\blog\node_modules\bluebird\js\release\promise.js:694:18)
at Promise._fulfill (D:\blog\node_modules\bluebird\js\release\promise.js:638:18)
at D:\blog\node_modules\bluebird\js\release\nodeback.js:42:21
at D:\blog\node_modules\graceful-fs\graceful-fs.js:78:16
at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
INFO Start processing
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
TypeError: Cannot read property 'field' of undefined
at Hexo.module.exports (D:\blog\node_modules\hexo-generator-search-zip\lib\zip_generator.js:8:34)
at Hexo.tryCatcher (D:\blog\node_modules\bluebird\js\release\util.js:16:23)
at Hexo. (D:\blog\node_modules\bluebird\js\release\method.js:15:34)
at Promise.map.key (D:\blog\node_modules\hexo\lib\hexo\index.js:344:26)
at tryCatcher (D:\blog\node_modules\bluebird\js\release\util.js:16:23)
at MappingPromiseArray._promiseFulfilled (D:\blog\node_modules\bluebird\js\release\map.js:61:38)
at MappingPromiseArray.PromiseArray._iterate (D:\blog\node_modules\bluebird\js\release\promise_array.js:114:31)
at MappingPromiseArray.init (D:\blog\node_modules\bluebird\js\release\promise_array.js:78:10)
at MappingPromiseArray._asyncInit (D:\blog\node_modules\bluebird\js\release\map.js:30:10)
at _drainQueueStep (D:\blog\node_modules\bluebird\js\release\async.js:142:12)
at _drainQueue (D:\blog\node_modules\bluebird\js\release\async.js:131:9)
at Async._drainQueues (D:\blog\node_modules\bluebird\js\release\async.js:147:5)
at Immediate.Async.drainQueues [as _onImmediate] (D:\blog\node_modules\bluebird\js\release\async.js:17:14)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)

网站设置子文件夹后,资源路径url不对应。

比如:

  1. logo图片写死在diaspora.css中
 mask-image:url("/sujing/img/logo.png")

2.音乐文件用相对路径也会造成此问题
源码:

<% if (page.mp3 == '' | page.mp3 == null){%>
  <ul id="audio-list" style="display:none">
    <% for (var i in theme.mp3){ %>
      <li title='<%- i %>' data-url='<%- theme.mp3[i] %>'></li>
    <%}%>
  </ul>
<%}%>

已修改为

<% if (page.mp3 == '' | page.mp3 == null){%>
  <ul id="audio-list" style="display:none">
    <% for (var i in theme.mp3){ %>
      <% if (theme.mp3[i].indexOf('http') == 0){%>
         <li title='<%- i %>' data-url='<%- theme.mp3[i] %>'></li>
           <%} else {%>
             <li title='<%- i %>' data-url='<%- config.root + theme.mp3[i] %>'></li>
           <%}%>
      <%}%>
  </ul>
<%}%>

背景音乐不能播放

博主大大,太感谢你做的这个主题了,我非常喜欢,但是在用背景音乐的时候不能自动播放,已经把autoplay设置为true了(

通过链接打开文章后点击左上角小房子没法直接进入主页

主页地址:http://hiems.coding.me/nuts/

case1 不正常情况

如果需要分享页面给朋友的话直接将链接复制粘贴给朋友,朋友看完了文章想去主页看看,这时候点击左上角的小房子图标不会指向主页,而是简单的指向了http://hiems.coding.me。

case2 正常情况

如果通过主页进入文章界面,此时点击左上角图标则可以正常返回主页。

case3

查看了您的博客,不会出现此状况。而且发现您的博客从文章页跳转到主页时没有过渡动画,不会出现横向移动的效果。

你好,能否帮助我添加一个搜索功能和换页

当我第一次看到你的主题的时候我,我感到很惊艳,放弃了原来的主题,更换到你的主题。但是我发现有个问题,就是当我日记变多的时候,无法快速搜索到以前的日志。另外,你这一页会显示多少个日志,会自动排序到下一页吗?还有个问题,就是二维码的问题。它是如何做到的。因为我不知道在哪里能联系到你,所以就在这留言了。我希望能得到你的帮助

文章封面只显示部分内容

大佬你好,如何设置文章封面只显示部分的内容啊,我在网上查阅用哪个“”在md文件中进行设置,发现还是没有效果啊

Font type change in Mobile Ends

Hello, I have changed the setting related to font family in the "Diaspora.css" file. Also, to make sure those fonts are independent of machines. I added the correspondent link from Google Fonts to the "head.ejs" in "./layout/_partial/".

Using my desktop browser to check my website. All looks good and fit my expectation. However, in a mobile end, that is my iPhone, the font type seems not to change at all.

Could you give me some advise about how to solve the problem. Appreciate!

BTW, your theme is really amazing. If consider more about the Anglophone users, I believe it would be better.

Thanks! Have a nice day!
Regard,

你好, 请问主题能否像next主题那样添加功能

比如这些...
在右上角或者左上角实现fork me on github
添加RSS
添加动态背景
实现点击出现桃心效果
修改文章内链接文本样式
修改文章底部的那个带#号的标签
在每篇文章末尾统一添加“本文结束”标记
修改作者头像并旋转
博文压缩
修改“代码块自定义样式
侧边栏社交小图标设置
主页文章添加阴影效果
在网站底部加上访问量
添加热度
网站底部字数统计
添加 README.md 文件
设置网站的图标Favicon
实现统计功能
添加顶部加载条
在文章底部增加版权信息
添加网易云跟帖(跟帖关闭,已失效,改为来必力)
隐藏网页底部powered By Hexo / 强力驱动
修改网页底部的桃心
文章加密访问
添加jiathis分享
博文置顶
修改字体大小
修改打赏字体不闪动
自定义鼠标样式
为博客加上萌萌的宠物
DaoVoice 在线联系
点击爆炸效果

如何修改?

如何修改
2019John Doe. Powered by Hexo Theme Diaspora by Fechin
找了很久没找到

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.