October themes are completely file-based and can be managed with any version control system, for example Git.
The template paths are always absolute. If in a partial you render another partial from the same subdirectory you still need to specify the subdirectory name.
Pages, partials and layout templates can include up to 3 sections: configuration, PHP code, and Twig markup. Sections are separated with the == sequence.
Subdirectories do not affect page URLs - the URL is defined only with the url parameter.
Page variables can be prepared by the page or layout PHP section or by Components.
-
直接建立一個.htm檔,沒問題。
-
建一個資料夾,再進去建,就不會顯示。