package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Nov 2, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
METADATA_FILE = "metadata.json"
PUBLIC_STATUS = "public"
DRAFT_STATUS = "draft"
)
type Metadata struct {
Title string `json:"title"`
Status string `json:"status"`
Static bool `json:"static"`
CreatedAt int64 `json:"createdAt"`
FeaturedImage string `json:"featuredImage"`
}
*
- Metadata
*
- The metadata.json stores additional information about
- a blog post.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.