templates

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get()

func GetAllContentOnly

func GetAllContentOnly()

func GetBasic

func GetBasic()

func GetCommon

func GetCommon()

func GetContentOnly

func GetContentOnly(name string)

func GetPages

func GetPages()

func GetPosts

func GetPosts()

func MakeCommonPage

func MakeCommonPage(name string)

新建一个普通页面模板(空文件)

func MakeStdPostTemplateFile

func MakeStdPostTemplateFile(file string, meta model.MetaData)

新建一个包含元数据的默认文章模板

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL