Generate Backlinks
I think the only way to have Hugo generate backlinks to a page is to include a partial that loops over all of the content files.
Hugo: New Content
To create a new content file, simply run hugo new <path> <options>
from the root directory. All of my content is in the content
folder, so this file was created by hugo new content/garden/hugo/new-content.md
.
Hugo: Sections
A section is a top-level content directory, or any content directory with an _index.md file. A content directory with an _index.md file is also known as a branch bundle. Section templates receive one or more page collections in context.
Hugo: Content Type
A content type is a way to organize your content. Hugo resolves the content type from either the type in front matter or, if not set, the first directory in the file path. For example, content/blog/my-first-event.md
will be of type blog
if no type is set.
Separating Presentation from Layout
I want to separate the presentation of my blog from the content so, with any luck, I can create a theme and possibly substitute a more professionally-designed theme for the one I’ve hacked together. I first need to better understand the structure of what I’ve wrought here before I can reasonably refactor it, or do any major overhaul.