Skip to content

Template Files and Access Path Mapping

Info

This documentation is AI-generated. You can help improve it by submitting an Issue.

The following table summarizes the main template files of this theme, corresponding access paths, and Halo CMS official template documentation.

This is useful for secondary development, configuring menu paths, and referencing when setting hyperlinks in other scenarios.

Halo Built-in Pages

Template files are located in the src/templates folder.
In the default access path column in the table, {xxx} represents variables (please fill in actual values), and (xxx) represents optional values (please fill in as needed).

Template FilePage RenderedDefault Access PathDocumentation
index.htmlHome Page/(page/{page})Index
post.htmlPost Detail/archives/{slug} (can be modified in Halo CMS backend)Post
page.htmlSingle Page/{slug}Page
page-like-post-style.htmlSingle Page/{slug} (Custom template: Post Page Style)Page
archives.htmlPost Archive/archives(/{year}(/{month}))Archives
tags.htmlTag Collection/tagsTags
tag.htmlTag Detail/tags/{slug}Tag
categories.htmlCategory Collection/categoriesCategories
category.htmlCategory Detail/categories/{slug}Category
author.htmlAuthor Detail/authors/{name}Author
error/*.htmlError PageNo fixed access path, determined by exceptionError Pages

Plugin Pages

Template files are located in the src/templates folder.
In the default access path column in the table, {xxx} represents variables (please fill in actual values), and (xxx) represents optional values.

Template FilePageDefault PathRequired Plugin
links.htmlLinks List/linksplugin-links
photos.htmlPhotos Page/photos, /photos/page/{page}plugin-photos
moments.htmlMoments List/moments(/page/{page})(?tag={tag})plugin-moments
moment.htmlMoment Detail/moments/{name}plugin-moments

Other Plugin Adaptations

File LocationDescriptionRequired Plugin
src\styles\mixins\colors\mixins\comment-widget-vars.stylOfficial comment widget style adaptationplugin-comment-widget

Released under MIT License