Code Monkey home page Code Monkey logo

Comments (4)

jerryc127 avatar jerryc127 commented on June 11, 2024

你這是自己寫的html 而不是模板渲染
自己把img修改了你想要的就可以啦

from hexo-theme-butterfly.

M1r0ku avatar M1r0ku commented on June 11, 2024

你這是自己寫的html 而不是模板渲染
自己把img修改了你想要的就可以啦

我这里写的html里是<img src=xxx>,不知道什么原因部署出来却变成了<img data-src=xxx>,另外也没有引入post-lazyload.js

from hexo-theme-butterfly.

jerryc127 avatar jerryc127 commented on June 11, 2024

你把html加入到hexo 的 _config

# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:
  - 404.html

from hexo-theme-butterfly.

M1r0ku avatar M1r0ku commented on June 11, 2024

你把html加入到hexo 的 _config

# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:
  - 404.html

添加到skip_render后问题解决了!
一开始添加后直接部署发现不行,后来clean一下再部署就可以了。
谢谢指导!

from hexo-theme-butterfly.

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.