Variables | Front Matter

List of Front Matter variables used by FC Theme

3 min FreeCAD
a cover alternative title

Below are variables used with this theme…


Site Variables under ParamsLink to this heading

nametypeexampleDescription
envstring“production”To set env to production
titlestring“My Blog”To set title
descriptionstring“This is a blog of mine”To set site description
authorstring |list“Me” | [“Me”,“You”]To show multiple Authors
imagesstring“myimage.png”Link or path of image for opengraph
keywordslist[blog, page]Add keywords for Home page
DateFormatstringJanuary 2, 2006The format of date strings in the website. Details
languageAltTitlestringEnglishAlternate title in Multilingual Mode
ShowReadingTimebooleantrue | falseTo show read time in post meta
ShowShareButtonsbooleantrue | falseTo show/hide share buttons under post
ShowCopyCodeButtonbooleantrue | falseTo show/hide Code Copy button
defaultThemestringlight | dark | autoTo set default theme
disableThemeTogglebooleantrue | falseTo disable theme toggle icon shown besides label
hideSummarybooleantrue | falseTo Hide summary being shown in list pages
ShowPaginationLinksbooleantrue | falseShow Previous and Next Posts below a Post
analytics.google.SiteVerificationTagstringXYZabcSite Verification Tag for Google Analytics
schema--Details
label--Details
assets--Details
editPost--Details

Site VariablesLink to this heading

nametypeexampleDescription
copyrightstring**[example.site](https://example.site)**This is HUGO’s site variable , which can also render markdown content

labelLink to this heading

nametypeexampleDescription
label.textstring“Home”To display different label text other than title
label.iconstring“/apple-touch-icon.png”To display a logo image in label
label.iconHeightinteger35To set size of label logo image

coverLink to this heading

nametypeexampleDescription
cover.linkFullImagesbooleantrue | falseTo open full size cover images on click on cover
cover.responsiveImagesbooleantrue | falseTo enable/disable generation of responsive cover images

schemaLink to this heading

nametypeexampleDescription
schema.publisherTypestring“Organization”https://schema.org/publisher
schema.sameAslist[URL1, URL2]Set https://schema.org/sameAs

Page VariablesLink to this heading

NameTypeExampleDescription
descriptionstring“description text”Show Post Description under Title
disableSharebooleantrue | falseTo hide/show share icons under a page
hideSummarybooleantrue | falseTo Hide summary being shown in list pages
ShowReadingTimebooleantrue | falseTo show read time in post meta
ShowPaginationLinksbooleantrue | falseShow Previous and Next Posts below a Post
authorstring |list“Me” | [“Me”,“You”]To show multiple Authors
cover.imagestring“featured.jpg”To add a cover image
cover.captionstring“caption for image”To add caption to cover image
cover.altstring“this is cover image”Alternate text to show if image doesn’t load/show up
weightinteger5To set page order or to pin a post to Top of list