Directory Structure
If you’ve followed th' Gett'n Started guide, yer directory layout will look similar t' this:
βββ rrrambl'n
β βββ first-chapter
β β βββ first-page
| | | βββ _index.md
β β βββ second-page
| | | βββ index.md
β β βββ third-page.md
β βββ _index.md
βββ themes
β βββ hugo-theme-relearn
β βββ ...
βββ hugo.toml
Cap'n Hugo uses a union file system, which lets ye combine multiple directories.
By default, it puts yer root directory on top o' th' Relearrrn theme directory. Files 'n yer root directory will replace theme files 'n th' same locat'n.
For example, if ye create a file at layouts/partials/head'n.html
, it will override th' theme’s themes/hugo-theme-relearn/layouts/partials/head'n.html
.
See this list, t' learn which files be allowed t' be modified by ye.
This makes it easy t' cust'mize th' theme without chang'n files 'n th' themes
directory, mak'n future theme updates simpler.
Arrr
Don’t edit files inside th' themes/hugo-theme-relearn
directory. That’s not th' recommended way t' cust'mize! Refer t' th' explanat'n above.
Don’t clone th' theme repository an' edit files there fer yer ship. That’s not th' recommended way t' cust'mize! Instead, follow th' Gett'n Started guide.