Lazy loaded image
the theory that knowledge and action are in harmony
📖Template Description
Words 269Read Time 1 min
Jul 2, 2021
Jun 15, 2025
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 ,根据数据类型,有不同的作用:
  1. 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.
  1. 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 to https://domain-name/test-page.
  1. 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 via https://domain name/article/test-post, where article is the default prefix.
 
上一篇
下一篇
Sample Articles