type
status
date
slug
summary
tags
category
icon
password
How to write articles using Notion
Visit the tutorials for help
Instructions for using the template
NotionNext projects must be bound to a Notion database to work. Please visit the tutorial for help
The template field says
Each piece of data in the Notion database will have the following attributes🤔:
属性 | 必填 | 说明 | 备注 |
title | 是 | article title | ㅤ |
status | 是 | Posting Status | (仅当状态为 Published 时会被 展示) |
type | 是 | Page Type ( Post / Page ) | 单页不会在博文列表显示 。 |
summary | 否 | Executive Summary | 搜索和简略显示会用到,在文章列表会显示出 |
date | 否 | 发布日期 | 在V3.3.9之前的版本此项为必填。 |
category | 否 | 文章分类 | 可以自定义 |
tags | 否 | 文章标签 | 可多个,建议不要太多 |
slug | 否 | 文章短路径 | (每篇文章唯一,请勿 重复) |
icon | 否 | 菜单栏图标(仅当 Page /Menu 类型有效) | 可以参考:图标库地址 |
password | 否 | 文章加锁 | 需要输入密码才允许访问 |
Each column of the database has a different function;
type
: 这条数据的类型 ,有 notice
(公告)、post
(文章)、page
(单页)、menu
(菜单)、submenu
(子菜单)这几种类型。
slug
,根据数据类型,有不同的作用:- In the menu (menu\submenu) indicates which page to jump to, and in the post indicates the address of the blog where the post is accessed, or it can be an external link. Usually starts with a left slash:
/test-menu
corresponds to visit →https://domain-name/testmenu
. It can also be set to a full link, e.g. https://tangly1024.com.
- In the case of a single page (
page
), the filename of the page in the root directory of the site. Do not start with a left slash: e.g. test-page → corresponds tohttps://domain-name/test-page
.
- In a blog post (
post
), it also indicates the path to the file, but the post is automatically prefixed with a prefix. For example: test-post can be accessed viahttps://domain name/article/test-post
, where article is the default prefix.
- Author:Beem
- URL:https://next-eosin-gamma-85.vercel.app/article/guide
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!