Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新增节点,设置json文件中是否包含content内容。 #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ddabb
Copy link

@ddabb ddabb commented Dec 4, 2021

新增simple_post_map 节点,以实现在生成tags的时候,是否生成content等内容。

对外API

restful:
site: true # hexo.config mix theme.config
posts_size: 10 # 文章列表分页,0 表示不分页
posts_props: # 文章列表项的需要生成的属性
title: true
slug: true
date: true
updated: true
comments: true
path: true
excerpt: false
cover: true # 封面图,取文章第一张图片
content: true
keywords: true
categories: true
tags: true
categories: true # 分类数据
use_category_slug: true # Use slug for filename of category data
tags: true # 标签数据
use_tag_slug: true # Use slug for filename of tag data
post: true # 文章数据
pages: true
simple_post_map: true #简单格式化,是否序列化content等内容的 开关

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant