Skip to main content

Reference - Front matter

Published:

Series: Documentation

  1. 1. Introduction
  2. 2. Getting Started
  3. 3. Color Schemes
  4. 4. Directory Structure and Assets
  5. 5. Feature Images
  6. 6. Favicon
  7. 7. Series
  8. 8. Archive
  9. 9. Search
  10. 10. Backlinks
  11. 11. Related Article
  12. 12. Rich Content
  13. 13. Markdown and Hugo
  14. 14. Customization
  15. 15. Reference - Configuration
  16. 16. Reference - Front matter
  17. 17. Reference - Icons

These parameters extend standard Hugo functionality and are categorized into global site parameters and page-level Front Matter.

Front Matter Reference

Single Pages (Articles)

VariableTypeDescription
imagePositionStringSets the CSS object-position for the featured image to keep the subject properly framed. Supported values are as specified in the MDN documentation.
breadcrumbBoolControls whether hierarchical breadcrumb navigation is shown at the top of the article.
pageHeroStyleStringDefines the visual style of the page hero section. Supported values: background, big, disable.
pageFeatureImageStringDefines the feature image of a single page.
pageShowSeriesStringControls the visibility and placement of the series taxonomy navigation. Supported values: top,bottom, both, disable.
pageShowNextBoolControls whether a pagination link to the next chronological article is displayed.
pageShowRelatedBoolControls whether the Related Articles section is displayed at the end of the content.
pageShowTagsBoolControls whether taxonomy tags assigned to the article are displayed.
pageNoListBoolExclude the page from list pages and search.

Section Pages

VariableTypeDescription
sectionQuickReferenceBoolGenerates a simplified index for the section to support quick content discovery.

Series: Documentation

  1. 1. Introduction
  2. 2. Getting Started
  3. 3. Color Schemes
  4. 4. Directory Structure and Assets
  5. 5. Feature Images
  6. 6. Favicon
  7. 7. Series
  8. 8. Archive
  9. 9. Search
  10. 10. Backlinks
  11. 11. Related Article
  12. 12. Rich Content
  13. 13. Markdown and Hugo
  14. 14. Customization
  15. 15. Reference - Configuration
  16. 16. Reference - Front matter
  17. 17. Reference - Icons