Comments (8)
感谢反馈问题,这是我在主题开发设计上的失误,等会紧急修复。
第一种方法:在主题配置文件 _config.yml 里关闭 CDN,将 enable
设置为 false
cdn:
enable: false
第二种方法:需要修改源码
找到 themes/keep/layout/article-content.ejs
文件
找到 第 11 行代码,将 __image_tag
修改为 image_tag
参考如下:
<div class="avatar">
<%- image_tag('images/avatar.png') %>
</div>
这两种方法都需要你将 themes/keep/source/images/avatar.png
路径的 avatar.png 图片替换成你自己的图片
from hexo-theme-keep.
该 bug 已紧急修复。
请使用 master 分支最新代码:
git clone --depth=1 https://github.com/XPoet/hexo-theme-keep themes/keep
from hexo-theme-keep.
我刚才用了2.X修复了,可以在设置里修改
from hexo-theme-keep.
3.x 跟 2.x 版本有较大的改动,建议使用最新版,只需把你主题配置文件的配置项填在 3.x 里即可
from hexo-theme-keep.
我就改了两个有问题地方的代码,整体还是3.X, 你的主题我很喜欢谢谢。有时间我再更新下
from hexo-theme-keep.
找了一圈文档没找到怎么修改头像,3.4.0的版本,这个有文档吗?另外希望可以贴一个全部配置的文档 @XPoet
from hexo-theme-keep.
@XPoet 从node_modules的theme里找到了,不过你的博客和theme里的配置有些已经变了,更新一下博客吧
from hexo-theme-keep.
@Kyson
新的Keep主题使用文档,正在撰写中,解决发布
from hexo-theme-keep.
Related Issues (20)
- [BUG] 页面顶部出现代码 HOT 2
- [BUG] 第一次访问时评论加载不出来,刷新后才正常 HOT 3
- [功能建议] ICP备案号自定义跳转链接的配置项 和 Waline更多组件属性的配置项 HOT 1
- 功能建议:可选默认暗色主题 HOT 3
- 文章列表时间展示不对 HOT 12
- 3.7.7版本 使用hexo g 命令, 提示CSS内容报错 HOT 7
- 代码块没有正常工作 HOT 3
- 许可链接失效 HOT 1
- 网站显示不出 HOT 1
- 内置 About 关于 页面模板
- 了解下文章内部跳转的问题 HOT 2
- 网易云音乐 iframe 功能在手机端失效问题 HOT 2
- 表格排版不能横向滚动 HOT 2
- 当代码块内代码过长时,无法横向滚动代码块 HOT 1
- Please add Cusdis to list of comment box services.
- 本地或外链图片无法显示 HOT 2
- 导航栏同时出现两个“首页” HOT 2
- 使用Waline评论,能否在用户评论的时候增加邮件提醒? HOT 7
- 咨询一个关于代码块设置的问题 HOT 2
- background color for ":root" wont change when toogle-theme button clicked [at least in firefox] HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-keep.