-
Notifications
You must be signed in to change notification settings - Fork 38
Custom front matter variables
Other than the front matter variables implemented in Hugo, here are some other variables that you can use on this repository.
Variables in this section are available in all pages.
Disables analytics if it is set to true
.
no_analytics: true
Sets the value of the robots meta tag. No robots meta tag will be included if it is not defined.
robots_tag: noindex
This will result this robots meta tag.
<meta name="robots" content='noindex' />
Sets the image for og:image
meta tag. For blog posts, it would also set the cover image for the article.
Sets the image for og:image:alt
meta tag. For blog posts, it would also set the alternate text of the cover image for the article.
Disables the comments if the layout has the comment section.
no_comments: true
Defines the i18n key that is going to be used as the site name for the section.
section_site_name: Docs.SectionSiteName
This will set the site name to "Scratch Addons Docs," as defined on the i18n string files.
Defines the root of a section. This is used for the index page of the blog and docs.
Defines the title shown on the docs navigation.
Defines the title shown on the heading of the page. May contain Markdown.
http://scratchaddons.com/docs/reference/addon-api/addon.self/ has the value shown below.
h1_title: "`addon.self`"
© 2024 Scratch Addons contributors. Licensed under the terms of GNU General Public License v3.0.
Any issues? Have questions? Tell them here.
- Themes
- Changelog data structure
- Specific Hugo changes
- Blog
- Internationalization/Localization/Translation (i18n)
- Feedback presend warning
- Addon Docs
- Integration status dashboard