<!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=/hugo-PaperMod/assets/css/stylesheet.min.d070982e74499bfc7e365ce059942e04be78ff23f45ff9cd1e58831f2cc279c7.cssintegrity="sha256-0HCYLnRJm/x+NlzgWZQuBL54/yP0X/nNHliDHyzCecc="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="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"><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-cardspecialappearanceof1stpostlabel.textstring‘Home’Todisplaydifferentlabeltextotherthantitlelabel.iconstring‘/apple-touch-icon.png’Todisplayalogoimageinlabellabel.iconHeightinteger35Tosetsizeoflabellogoimageassets.faviconstring‘icon.ico’Tosetfavicon,canbepathorexternallinkcover.linkFullImagesbooleantrue|falseToopenfullsizecoverimagesonclickoncovercover.responsiveImagesbooleantrue|falseToenable/disablegenerationofresponsivecoverimagesPageVariablesNameTypeExampleDescriptionshowtocbooleantrue|falseToshow/hideTableofContentstocopenbooleantrue|falseTokeepopenToCbydefaultonpageloadhidemetabooleantrue|falseToHidemetaelements:date,read-time,authorandavailable-translationsforpagecover.imagestring‘featured.jpg’Toaddacoverimagecover.captionstring‘captionforimage’Toaddcaptiontocoverimagecover.altstri
<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></td><td></td><td></td><td></td></tr><tr><td>label.text</td><td>string</td><td>‘Home’</td><td>To display different label text other than title</td></tr><tr><td>label.icon</td><td>string</td><td>‘/apple-touch-icon.png’</td><td>
<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>