zhaoo / hexo-theme-zhaoo Goto Github PK
View Code? Open in Web Editor NEW🐳 A simple theme for Hexo
Home Page: https://www.izhaoo.com
License: MIT License
🐳 A simple theme for Hexo
Home Page: https://www.izhaoo.com
License: MIT License
My root URL is /xxx, I have set the lazyLoad like this:
lazyload:
enable: true
onlyPost: false
loadingImage: /xxxx/images/theme/loading.gif
but in the style.css file:
.lazyload {
background: url("/xxxx/images/theme/loading.gif") center center no-repeat;
}
.loading {
position: fixed;
width: 100%;
height: 100%;
top: 0px;
background: url("/images/theme/loading.gif") center center no-repeat rgb(255, 255, 255);
z-index: 2019;
overflow: hidden;
}
the .loading
class lacks of prefix /xxxx
, how to set it ?
希望在侧边栏添加文章目录,有跟随定位的功能,屏幕显示内容对应的标题高亮。
当点击【导航栏二维码】,【导航栏二维码】与【支付宝微信二维码】同时显示
当文章图片不能很好的撑满全屏,导致图片靠左布局,希望统一居中处理布局
目前 文章封面尺寸 会随 图片尺寸 改变,准备优化成固定比例(4:3 / 16:9)。
动态motto插件没有了,有其他代替方法吗
目前的评论体系比较不错,绑定GitHub账号就能看到非常清爽的评论界面
建议可以加入畅言,可以让更多的非开发者加入进来
顺便提一句作者真的是个文案天才
作者您好,如果在宽屏上使用,发现博客正文的宽度之只占屏幕很小一部分,很多代码都要来回拖动,请问有没有办法设置呢
如题,请问社交相关选项的 icon 如何更换,譬如我想增加一个 twitter 的社交方式,需要其 icon。
目标:
技术栈:
qrcode_js和lazyload_js的CND在2020/3/11后发现貌似失效了,导致网页无法正常加载。把这两个切换成本地引入就正常了。
Unhandled rejection TypeError: D:\MyBlog\themes\zhaoo\layout\index.ejs:2
1|
2| <% if (theme.preview.enable === true) { %>
3| <%- partial('_partial/index/preview') %>
4| <% } %>
5|
Cannot read property 'enable' of undefined
请问为什么本地的预览可以但是部署后CSS就失效了呢
在本地浏览器上跑动是没有问题的,可是一旦建立了index.html之后,打开没有样式并且点击出现无法找到文件
如题,一个不是很常用但是很必要的功能,有时候博客要换地址之类的事情可以写在上面,这样读者一眼就能看到
❌ 使用文档 中 /image/20200421200902.jpg #设置本地图片
地址写错咯 !
✅ 应该是 : /images/20200421200902.jpg
~
大佬,可以预埋一下daovoice的评论吗,自己配置的话那个聊天按钮会悬浮在屏幕中间。在daovoice后台设置里更改像素值没有什么用,不知道问题出在哪儿了。
grid
布局:栅格化功能实现方式改为 grid
布局;瀑布流相册实现方式由 justfieldGallery
插件改为 grid
布局。ES6
栈:babel
、 npm
、 ESLint
,没有模块化支持太痛苦了!jQuery
(首先移除相关插件),改为原生方式实现。(实现一个龙鸣版 Vue
、 React
)daovoice
评论支持、增加友情链接、增加文章目录、增加黑夜模式、增加极简阅读模式。Fab
打开反人类了)你好,我最近使用了你的主题(https://wxxshirley.github.io/),很漂亮,在这里谢谢你~
请问下如何修改文章的背景图片呢?orz我对前端不太熟悉
作者你好,我按照教程上面设置galleries的方法进行配置,但是最终每一个相册还是没有显示出来。
在使用hexo g命令的时候,有如下的报错:
ERROR { TypeError: /Users/meizi/web-blog/themes/zhaoo/layout/gallery.ejs:1
1| <% var galleries = [];
2|
3| if (site.data && site.data.galleries) {
4| galleries = site.data.galleries;}
Cannot read property 'photos' of undefined
at eval (/Users/meizi/web-blog/themes/zhaoo/layout/gallery.ejs:24:29)
at gallery (/Users/meizi/web-blog/node_modules/ejs/lib/ejs.js:682:17)
at _View._compiled.locals [as _compiled] (/Users/meizi/web-blog/node_modules/hexo/lib/theme/view.js:136:50)
at _View.render (/Users/meizi/web-blog/node_modules/hexo/lib/theme/view.js:39:17)
at /Users/meizi/web-blog/node_modules/hexo/lib/hexo/index.js:64:21
at tryCatcher (/Users/meizi/web-blog/node_modules/bluebird/js/release/util.js:16:23)
at /Users/meizi/web-blog/node_modules/bluebird/js/release/method.js:15:34
at RouteStream._read (/Users/meizi/web-blog/node_modules/hexo/lib/hexo/router.js:47:5)
at RouteStream.Readable.read (stream_readable.js:453:10)
at resume (_stream_readable.js:907:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
path: '/Users/meizi/web-blog/themes/zhaoo/layout/gallery.ejs' }
麻烦帮忙看一下,谢谢啦!
现默认的 IM
模块为 DaoVoice
,准备接入并支持更多的三方 IM
,如有需要可以留言。
例如:腾讯兔小巢
未来feature
1.建议在文章旁边加入文章TOC,方便阅读时跳转。
2.建议代码块可以显示行号。
在 front-matter
里面加一个 layout
,默认为 post
,可选填 photography
。首页头图显示 image
指定的头图,文章页隐藏头图只留标题。
样式之后设计。
按照您的配置说明文档进阶配置中关于瀑布流的配置,能够生成galleries下index.html,但是没有生成galleries/xxx下对应的gallery子index.html. (另外hexo数据子目录的目录名改为source/_data, 说明文档是/data,当然这里只相应数据注入hexo不影响此处), 除非我手动在galleries目录下创建与json文件中匹配的文件夹和对应的md才能够生成。
是否有其他配置?
preview:
enable: true
model: cloud # wave cloud
cloud 夜间模式没有适配
I need 404.html plz!
开启动态 Motto, 更改 preview.motto.api 的参数为 https://v1.hitokoto.cn/?encode=text&c=i
这里的参数 c=i
为诗句类型,但是获得的句子并非诗句类型
使用现在默认的cdn地址: https://cdn.bootcss.com/fancybox/3.5.7/jquery.fancybox.min.js
得到的结果不正确,导致除本地图片无法加载,md内的图片不发送访问请求,可以替换为https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js
false
如题,域名解析有点慢,想要把 post 文章图片的功能取消,请问如何操作?
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.