Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContentClassLeaf = "leaf" ContentClassBranch = "branch" ContentClassFile = "zfile" // Sort below ContentClassContent = "zcontent" )
View Source
const ( ComponentFolderArchetypes = "archetypes" ComponentFolderStatic = "static" ComponentFolderLayouts = "layouts" ComponentFolderContent = "content" ComponentFolderData = "data" ComponentFolderAssets = "assets" ComponentFolderI18n = "i18n" FolderResources = "resources" )
Variables ¶
View Source
var ( ComponentFolders = []string{ ComponentFolderArchetypes, ComponentFolderStatic, ComponentFolderLayouts, ComponentFolderContent, ComponentFolderData, ComponentFolderAssets, ComponentFolderI18n, } )
Functions ¶
func ClassifyContentFile ¶
func IsComponentFolder ¶
func IsContentExt ¶
func IsContentFile ¶
func ResolveComponentFolder ¶
ResolveComponentFolder returns "content" from "content/blog/foo.md" etc.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.