Giter VIP home page Giter VIP logo

Comments (2)

GeekaholicLin avatar GeekaholicLin commented on September 23, 2024

@lwugang 首先很抱歉,最近因为毕业论文,所以很少看github,请原谅现在才回复。

emmm....其次,作品界面有很大一部分是以硬编码形式写的,而且自己制定了一些规则,所以并不是很通用。

如果实在是想配置,我只能根据我印象和自己代码的理解来回答你,毕竟有点久远。如果有任何问题,可以继续在这个issue下面提出,谢谢~

  1. 运行命令hexo new page "demo"或直接在你的source目录下(不是主题的source)创建demo文件夹,文件夹下边创建文件index.md,编辑内容的type为demo,可以参考我的博客源文件及结构

  2. 然后在source目录(同上)创建_data文件夹,文件夹下面创建demo.yml数据文件,数据文件的格式可以参考我的数据文件。第一个Netease为显示的title,后面是数组,请保持字段一样!另外,注意url字段的地址!

  3. 运行,在地址后面加上/demo查看效果,如果想放在导航栏,请参考导航栏的配置。

  4. 有任何问题记得反馈~


附上大概的结构图:

image

from hexo-theme-ylion.

lwugang avatar lwugang commented on September 23, 2024

谢谢

from hexo-theme-ylion.

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.