Code Monkey home page Code Monkey logo

Comments (8)

XPoet avatar XPoet commented on June 18, 2024

@markruan

感谢反馈问题,这是我在主题开发设计上的失误,等会紧急修复。

第一种方法:在主题配置文件 _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.

XPoet avatar XPoet commented on June 18, 2024

该 bug 已紧急修复。
请使用 master 分支最新代码:

git clone --depth=1 https://github.com/XPoet/hexo-theme-keep themes/keep

from hexo-theme-keep.

markruan avatar markruan commented on June 18, 2024

我刚才用了2.X修复了,可以在设置里修改

from hexo-theme-keep.

XPoet avatar XPoet commented on June 18, 2024

3.x 跟 2.x 版本有较大的改动,建议使用最新版,只需把你主题配置文件的配置项填在 3.x 里即可

from hexo-theme-keep.

markruan avatar markruan commented on June 18, 2024

我就改了两个有问题地方的代码,整体还是3.X, 你的主题我很喜欢谢谢。有时间我再更新下

from hexo-theme-keep.

Kyson avatar Kyson commented on June 18, 2024

找了一圈文档没找到怎么修改头像,3.4.0的版本,这个有文档吗?另外希望可以贴一个全部配置的文档 @XPoet

from hexo-theme-keep.

Kyson avatar Kyson commented on June 18, 2024

@XPoet 从node_modules的theme里找到了,不过你的博客和theme里的配置有些已经变了,更新一下博客吧

from hexo-theme-keep.

XPoet avatar XPoet commented on June 18, 2024

@Kyson
新的Keep主题使用文档,正在撰写中,解决发布

from hexo-theme-keep.

Related Issues (20)

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.