Code Monkey home page Code Monkey logo

Comments (5)

YangBo29 avatar YangBo29 commented on June 5, 2024 2

你需要在md文件中加入相应的字段

from hexo-theme-pure.

StoneMa avatar StoneMa commented on June 5, 2024 1

@YangBo29 作者的主题手册上有讲解,将该主题目录下的对应文件夹复制到你的source目录下即可。
例如:将pure/_source/books复制到 博客根目录/source/ 下,就可以在主页链接到书单目录(豆瓣书单链接需要自己配置)

from hexo-theme-pure.

lishaoh avatar lishaoh commented on June 5, 2024 1

我的标签和分类为什么是空的,哪里可以设置吗

from hexo-theme-pure.

StoneMa avatar StoneMa commented on June 5, 2024

分类和标签与下面的做法相同

Github respostory

复制theme/pure/_source/ 目录下repository文件夹到blog path/source/ 目录下

Github

github:
username: *** # github username
豆瓣书单
复制theme/pure/_source/ 目录下books文件夹到blog path/source/ 目录下

douban 豆瓣书单

douban:
user: *** # 豆瓣用户名
start: 0 # 从哪一条记录开始
count: 100 # 获取豆瓣书单数据条数
友情链接
复制theme/pure/_source/ 目录下links文件夹到blog path/source/ 目录下

在 hexo 目录下的 source 文件夹内创建一个名为 _data(禁止改名)的文件夹。

然后在文件内创建一个名为 links.yml 的文件,在其中添加相关数据即可。

from hexo-theme-pure.

YangBo29 avatar YangBo29 commented on June 5, 2024

想请教一下这个问题解决了么,path/source/是需要自己创建的文件么,我配置不上,请指教一下blog path/source/ 这个路径是哪来的

from hexo-theme-pure.

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.