As a flexible theme, it should have the ability to customize code and integrate third-party services. Therefore, we brought a feature called hook.
In this article, we will introduce all hooks and provide some use cases.
As a flexible theme, it should have the ability to customize code and integrate third-party services. Therefore, we brought a feature called hook.
In this article, we will introduce all hooks and provide some use cases.
Page parameters are located in page’s Front Matter.
The site configuration is located in config/_default/config.toml
by default.
The site parameters are located in config/_default/params.toml
by default.
As the example site shown, we use Configuration Directory to maintain easier organization and environment specific settings, it is especially useful on multilingual sites.
This article offers some use cases for showing how to resize, crop, fit, fill and align images.
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
This article shows how to use the alert
shortcode.
A detailed description of media shortcodes, such as Bilibili, Tencent, Youku, iQiyi and Netease Music.