<!doctype html><htmllang=endir=auto><head><metacharset=utf-8><metahttp-equiv=x-ua-compatiblecontent="IE=edge"><metaname=viewportcontent="width=device-width,initial-scale=1,shrink-to-fit=no"><metaname=robotscontent="index, follow"><title>Variables | Front Matter | PaperMod</title><metaname=keywordscontent="PaperMod"><metaname=descriptioncontent="List of Front Matter variables used by PaperMod"><metaname=authorcontent="Aditya Telange"><linkrel=canonicalhref=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/><linkhref=https://adityatelange.github.io/hugo-PaperMod/assets/css/stylesheet.min.d6b9f5b9a35628f539baeea5ef9a5a2774bbbe4a533799274b9dc35ea1691b4f.cssintegrity="sha256-1rn1uaNWKPU5uu6l75paJ3S7vkpTN5knS53DXqFpG08="rel="preload stylesheet"as=style><linkrel=iconhref=https://adityatelange.github.io/hugo-PaperMod/favicon.ico><linkrel=icontype=image/pngsizes=16x16href=https://adityatelange.github.io/hugo-PaperMod/favicon-16x16.png><linkrel=icontype=image/pngsizes=32x32href=https://adityatelange.github.io/hugo-PaperMod/favicon-32x32.png><linkrel=apple-touch-iconhref=https://adityatelange.github.io/hugo-PaperMod/apple-touch-icon.png><linkrel=mask-iconhref=https://adityatelange.github.io/hugo-PaperMod/safari-pinned-tab.svg><metaname=theme-colorcontent="#2e2e33"><metaname=msapplication-TileColorcontent="#2e2e33"><metaname=generatorcontent="Hugo 0.80.0"><metaproperty="og:title"content="Variables | Front Matter"><metaproperty="og:description"content="List of Front Matter variables used by PaperMod"><metaproperty="og:type"content="article"><metaproperty="og:url"content="https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/"><metaproperty="og:image"content="https://adityatelange.github.io/hugo-PaperMod/papermod-cover.png"><metaproperty="article:published_time"content="2020-09-24T11:33:33+05:30"><metaproperty="article:modified_time"content="2020-09-24T11:33:33+05:30"><metaname=twitter:cardcontent="summary_large_image"><metaname=twitter:imagecontent="https://adityatelange.github.io/hugo-PaperMod/papermod-cover.png"><metaname=twitter:titlecontent="Variables | Front Matter"><metaname=twitter:descriptioncontent="List of Front Matter variables used by PaperMod"><scripttype=application/ld+json>{"@context":"https://schema.org","@type":"BlogPosting","headline":"Variables|FrontMatter","name":"Variables|FrontMatter","description":"ListofFrontMattervariablesusedbyPaperMod","keywords":["PaperMod"],"articleBody":"Belowarevariablesusedwiththistheme…\nSiteVariablesnametypeexampleDescriptionenvstring‘production’Tosetenvtoproductiontitlestring‘MyBlog’Tosettitledescriptionstring‘Thisisablogofmine’Tosetsitedescriptionauthor[“Me”,“You”]listToshowmultipleAuthorsimagesstring‘myimage.png’Linkorpathofimageforopengraph,twitter-cardsShowReadingTimebooleantrue|falseToshowreadtimeinpostmetaShowShareButtonsbooleantrue|falseToshow/hidesharebuttonsunderpostdefaultThemestringlight|dark|autoTosetdefaultthemedisableThemeTogglebooleantrue|falseTodisablethemetoggleiconshownbesideslabeldisableSpecial1stPostbooleantrue|falseTodisableno-cardspecialappearanceof1stposthidemetabooleantrue|falseToHidemetaelements:date,read-time,authorandavailable-translationsforpageshowtocbooleantrue|falseToshow/hideTableofContentstocopenbooleantrue|falseTokeepopenToCbydefaultonpageloadcommentsbooleantrue|falseToshow/hidecommentslabel.textstring‘Home’Todisplaydifferentlabeltextotherthantitlelabel.iconstring‘/apple-touch-icon.png’Todisplayalogoimageinlabellabel.iconHeightinteger35Tosetsizeoflabellogoimageassets.faviconstring‘icon.ico’Tosetfavicon,canbepathorexternallinkcover.linkFullImagesbooleantrue|falseToopenfullsizecoverimagesonclickoncovercover.resp
<spanclass=logo-switches><spanclass=theme-toggletitle="(Alt + T)"><aid=theme-toggleaccesskey=t><svgid="moon"xmlns="http://www.w3.org/2000/svg"width="24"height="24"viewBox="0 0 24 24"fill="none"stroke="currentcolor"stroke-width="2"stroke-linecap="round"stroke-linejoin="round"><pathd="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg><svgid="sun"xmlns="http://www.w3.org/2000/svg"width="24"height="24"viewBox="0 0 24 24"fill="none"stroke="currentcolor"stroke-width="2"stroke-linecap="round"stroke-linejoin="round"><circlecx="12"cy="12"r="5"/><linex1="12"y1="1"x2="12"y2="3"/><linex1="12"y1="21"x2="12"y2="23"/><linex1="4.22"y1="4.22"x2="5.64"y2="5.64"/><linex1="18.36"y1="18.36"x2="19.78"y2="19.78"/><linex1="1"y1="12"x2="3"y2="12"/><linex1="21"y1="12"x2="23"y2="12"/><linex1="4.22"y1="19.78"x2="5.64"y2="18.36"/><linex1="18.36"y1="5.64"x2="19.78"y2="4.22"/></svg></a></span><spanclass=lang-switch><span>|</span><ul><li><ahref=https://adityatelange.github.io/hugo-PaperMod/fr/title=:fr:aria-label=:fr:>🇫🇷</a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/fa/title=Faaria-label=Fa>Fa</a></li></ul></span></span></div><ulclass=menuid=menuonscroll=menu_on_scroll()><li><ahref=https://adityatelange.github.io/hugo-PaperMod/archivestitle=Archive><span>Archive</span></a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/categories/title=Categories><span>Categories</span></a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/search/title="Search (Alt + /)"accesskey=/><span>Search</span></a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/tags/title=Tags><span>Tags</span></a></li></ul></nav></header><mainclass=main><articleclass=post-single><headerclass=post-header><h1class=post-title>Variables | Front Matter<divclass=entry-isdraft><sup> [draft]</sup></div></h1><divclass=post-description></div><divclass=post-meta>September 24, 2020 · 2 min · Aditya Telange</div></header><divclass=toc><detailsopen><summaryaccesskey=ctitle="(Alt + C)"><divclass=details>Table of Contents</div></summary><blockquote><ul><li><ahref=#site-variablesaria-label="Site Variables">Site Variables</a></li><li><ahref=#page-variablesaria-label="Page Variables">Page Variables</a></li></ul></blockquote></details></div><divclass=post-content><p><strong>Below are variables used with this theme…</strong></p><hr><h3id=site-variables>Site Variables<ahiddenclass=anchoraria-hidden=truehref=#site-variables>#</a></h3><table><thead><tr><th>name</th><th>type</th><th>example</th><th>Description</th></tr></thead><tbody><tr><td>env</td><td>string</td><td>‘production’</td><td>To set env to production</td></tr><tr><td>title</td><td>string</td><td>‘My Blog’</td><td>To set title</td></tr><tr><td>description</td><td>string</td><td>‘This is a blog of mine’</td><td>To set site description</td></tr><tr><td>author</td><td>[“Me”,“You”]</td><td>list</td><td>To show multiple Authors</td></tr><tr><td>images</td><td>string</td><td>‘myimage.png’</td><td>Link or path of image for opengraph, twitter-cards</td></tr><tr><td>ShowReadingTime</td><td>boolean</td><td>true | false</td><td>To show read time in post meta</td></tr><tr><td>ShowShareButtons</td><td>boolean</td><td>true | false</td><td>To show/hide share buttons under post</td></tr><tr><td>defaultTheme</td><td>string</td><td>light | dark | auto</td><td>To set default theme</td></tr><tr><td>disableThemeToggle</td><td>boolean</td><td>true | false</td><td>To disable theme toggle icon shown besides label</td></tr><tr><td>disableSpecial1stPost</td><td>boolean</td><td>true | false</td><td>To disable no-card special appearance of 1st post</td></tr><tr><td>hidemeta</td><td>boolean</td><td>true | false</td><td>To Hide meta elements : date, read-time, author and available-translations for page</td></tr><tr><td>showtoc</td><td>boolean</td><td>true | false</td><td>To show/hide Table of Contents</td></tr><t
<span>Theme <ahref=https://git.io/hugopapermodrel=noopenertarget=_blank>PaperMod</a></span></footer><ahref=#toparia-label="go to top"title="Go to Top (Alt + G)"><buttonclass=top-linkid=top-linktype=buttonaccesskey=g><svgxmlns="http://www.w3.org/2000/svg"viewBox="0 0 12 6"fill="currentcolor"><pathd="M12 6H0l6-6z"/></svg></button></a>