Content organization

A structured approach to organize and present content.

Hinode uses a structured approach to organize and present content. This results in user-friendly URLs, which are also easy to crawl by search engines. The following paragraphs describe how to organize the content and how to define alternative paths.

Organization of content

Hinode recognizes two basic types of pages:

  • List pages provide an overview of single pages within the same section
  • Single pages provide content for a specific page

All content resides in the content folder of the repository. The content for multilanguage sites uses seperate subfolders for each language directly below the content folder. Usually a list page is defined by having an within its folder. A notable exception is the home page, which is defined in the content root folder. The next diagram illustrates a typical initial setup for a Hinode website that supports the English language.

└── content
    └── en                        // <- [Language]
        └──             // <- [Home page]
        └──              // <- [Single page]
        └── blog
        |   ├──         // <- [List page]
        |   ├──     // <- [Single page]
        └── projects
            ├──         // <- [List page]
            └──  // <- [Single page]

Defining alternative paths

You can adjust the path or provide an alias of a page in its frontmatter. For example, the following aliases ensure the introduction of the Hinode docs is available on four alternative paths:

title: Introduction
  - "/docs/0.9/getting-started/"
  - "/docs/getting-started/"
  - "/getting-started/"
  - "/docs/"
layout: docs

Similarly, you can link multiple translations of a page and still provide a language-specific path. See the languages configuration for more details.

Last updated: February 20, 2023 • Rename to content organization (92d105a)