heskeybaozi / hexo-theme-lite Goto Github PK
View Code? Open in Web Editor NEWKeep Calm, Light and Writing. Light Hexo Theme.
Home Page: https://heskeybaozi.github.io
License: MIT License
Keep Calm, Light and Writing. Light Hexo Theme.
Home Page: https://heskeybaozi.github.io
License: MIT License
你好(*´▽`)ノノ
找不到本主题更换字体的方法,网上找到的方法不太适用
登陆之后没显示评论 显示404 ... 好难受怎么搞
如题,需要安装插件吗?
第一次提问题有点紧张啊。
这个功能需要怎么实现,有点小白不懂啊
有两篇文章时候随机显示一篇。。。
没有按照title部分的date: 2018-05-04
来控制
当有多个pages时:
点击一个pages=>加载后点击另一个pages:
1、地址栏链接不会改变。
2、gitment评论不会重新加载。
3、如果这时再点击第一次点击的pages,出现加载进度条但不会切换pages页面。
既没有menu-btn也没有menuitem,Chrome开发者工具选iPad视图即可见。
那个gitment作者的服务停掉了.
现在登录会失败,望修复.
您好,我需要补充域名备案后的审核,我想用power-by来实现,请问如何添加URL。
vue的语法不太熟悉。。
hello, i want to know how to add url in vue to this theme, as normal hexo added by footer.ejs, which i tried but not works.
hi,觉得您的hexo lite主题不错,试用了一下,发现如果_config.yml 的root选项设置内容,就无法获取静态资源了,提示404,应该是url中缺少root导致的
你好:
关于这个主题,我怎么更改about页面的样式。再原有的基础上加上自己的样式?需要怎么做?
can you help me to install gitment ?
my blog repo is holalatiger.github.io
feature:
修改过程中发现:
不支持修改目录栏的icon,
不支持hexo-math,hexo-render-mathjax两种插件
手机访问时,带图片的文章,首页展示的时候中间或有一大部分空白
IOS UC和自带浏览器是这样的,这个阔以优化下吗
$ git clone https://github.com/HeskeyBaozi/hexo-theme-lite themes/lite
Cloning into 'themes/lite'...
fatal: unable to access 'https://github.com/HeskeyBaozi/hexo-theme-lite/': Unknown SSL protocol error in connection to github.com:443
怎么做到文章显示部分,有一个more按钮?
请问能添加TOC功能吗?
只跑vue是没问题的
mac os x 10.11.6
npm: 5.6.0
node: 8.11.1
package.json:
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"hexo": {
"version": "3.7.1"
},
"dependencies": {
"hexo": "^3.2.0",
"hexo-generator-archive": "^0.1.4",
"hexo-generator-category": "^0.1.3",
"hexo-generator-index": "^0.2.0",
"hexo-generator-tag": "^0.2.0",
"hexo-renderer-ejs": "^0.3.0",
"hexo-renderer-stylus": "^0.3.1",
"hexo-renderer-marked": "^0.3.0",
"hexo-server": "^0.2.0"
}
}
当我使用这个主题后hexo new test
之后hexo g
会报一下错误:
TypeError: Cannot read property 'substring' of null
at postMap (/Users/vision/loveder/myblg/themes/lite/scripts/generate-api.js:86:63)
at Model._Query.Query.Query.map (/Users/vision/loveder/myblg/node_modules/warehouse/lib/query.js:229:17)
at generator (/Users/vision/loveder/myblg/themes/lite/scripts/generate-api.js:194:26)
at Hexo.<anonymous> (/Users/vision/loveder/myblg/themes/lite/scripts/generate-api.js:300:10)
at Hexo.tryCatcher (/Users/vision/loveder/myblg/node_modules/bluebird/js/release/util.js:16:23)
at Hexo.<anonymous> (/Users/vision/loveder/myblg/node_modules/bluebird/js/release/method.js:15:34)
at Promise.map.key (/Users/vision/loveder/myblg/node_modules/hexo/lib/hexo/index.js:336:26)
at tryCatcher (/Users/vision/loveder/myblg/node_modules/bluebird/js/release/util.js:16:23)
at MappingPromiseArray._promiseFulfilled (/Users/vision/loveder/myblg/node_modules/bluebird/js/release/map.js:61:38)
at MappingPromiseArray.PromiseArray._iterate (/Users/vision/loveder/myblg/node_modules/bluebird/js/release/promise_array.js:114:31)
at MappingPromiseArray.init (/Users/vision/loveder/myblg/node_modules/bluebird/js/release/promise_array.js:78:10)
at MappingPromiseArray._asyncInit (/Users/vision/loveder/myblg/node_modules/bluebird/js/release/map.js:30:10)
at Async._drainQueue (/Users/vision/loveder/myblg/node_modules/bluebird/js/release/async.js:138:12)
at Async._drainQueues (/Users/vision/loveder/myblg/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/Users/vision/loveder/myblg/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5)
请问这是什么原因&请问怎么解决?
感觉这个主题很梦幻,很喜欢,感谢大佬开源~
initial file list bellow
want comment system and google analysis system.
菜单能访问自定义的html页面吗
主题很漂亮,准备使用HEXO搭建个人博客,不知道这个主题是否支持搜索,毕竟博客搜索肯定跑不掉的
麻烦了,老哥
avatar:
enable: true
url: /static/images/face.jpg
background:
background_color: '#ffffff'
# Custom Background Picture
enable_picture: true
url: /static/images/帝国大厦.jpg
css_size: cover
css_position: 50%
这是我的背景图已经头像配置,头像和背景图放在的是 /Users/wushuaiping/blogs/themes/lite/static/images
下
想二开 npm install一直报错
网上方法试遍了,搞不定,各种安装什么渲染引擎装什么mathjax的都完全搞不定,没效果,唉,都快放弃hexo了
Hi,
in your blog and in the screenshot to this theme there is a image shown between post title and content. When clicked, he image opens in a lightbox.
How to get this effect?
Would be nice, if you could include it to the documentation as it adds a lot to the theme.
Thanks,
bergziege
求教
本质上,这个主题实际上是我学习Vue
框架时期的练手项目。
开源的博客项目很多很多,为什么选择了Hexo
?
首先,hexo
提供的generator
机制可以使我获取hexo
渲染后的生页面(raw html page),并且以json
格式存储。解决了 数据怎么来?从哪来? 的问题。
其次,hexo
提供的__config.yml
配置文件也可以记录在json
格式文件里。上述两者就成为了SPA
的应用源。我部署在Github Page
上的网站请求的,就是静态json
文件。
而且Vue
也很棒,响应式数据比不可变数据好多了吧!?
满足了需要,对吧?但是,实际上这种做法在16年就过时了,而且,性能奇差无比。
因为对于这种博客页面,做成SPA
反而是没有必要,并且拉低了性能、降低了速度。本质上,渲染直出的静态页面,比客户端渲染一层要快得多的多,因为直接渲染的静态页面根本没有客户端逻辑。
改进方案有吗?有。本地拿到所有的路径列表,根据路径列表在本地实现渲染,也即是常说的服务端渲染。但是,如果这样,使用Hexo
就没有意义了。因为我还能自己根据主题自己定制全部的markdown
渲染需求,而且自己做可以做得更好。
所以我使用了更快的解决方案,迁移到了vuepress
,写了vuepress-theme-lite这个主题,用法根据vuepress
官方走,直接npm install vuepress-theme-lite less less-loader
,在配置文件下主题设为lite
即可。
我写这篇文章是安利vuepress
?不是,我想说的是一个更综合的事情:当你想开发一个项目,首先问问自己这个项目是否有存在的必要?或者说,这是否能称作一个“项目”?或者说这只是一个充当以后面试项目经验积累的急救品。这又扯到当前前端市场供需情况了。我个人认为,至少在这个项目中,写界面、写事件处理是体力活,数据设计模块设计是脑力活。不要以为写个主题就高大上了,世界上永远有人比你做的更多写得更好,比如我的actions
写的很烂,这是在我使用mobx-state-tree
后才知道不可变数据和响应式数据还有中间态——快照(Snapshot)。很多其他知识也是在我后来学习更加深入理解到的。这个项目,如果你fork
后并想要学习,我的建议是看两点即可:Vue
如何与TypeScript
整合,Hexo
的数据如何整合到Store
。当然,我也会继续维护这个项目,开源了自己就得负起责任。
最后也想说,高斯模糊真的很酷。
您好,能发一下背景图给我吗?[email protected]
我找不到该图片存放位置
作者可以说下在哪个文件下的吗?
when I click Login with Github
at the bottom of Chat board
it displayed
[object ProgressEvent]
大部分手机浏览器打开网页是空白的,只有Google Chrome可以, 博客地址 链接
您的界面设计非常酷,我很是喜欢。
手机浏览器显示的背景图片是自动截取原图中一部分并且会缩放吧?Tags->Archives->Home三界面依次放大。我用手机Chrome浏览器,home界面背景图缩放太大,导致背景图很模糊,请问这个怎么处理?
博客地址:www.yawng.name
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.