<!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>Papermod - Variables | 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.62447981861ad5bc7761e73be43801fe136a2aaaa8b7afd18ce582c358716848.cssintegrity="sha256-YkR5gYYa1bx3Yec75DgB/hNqKqqot6/RjOWCw1hxaEg="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.79.0"><metaproperty="og:title"content="Papermod - Variables"><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="Papermod - Variables"><metaname=twitter:descriptioncontent="List of Front Matter variables used by PaperMod"><scripttype=application/ld+json>{"@context":"https://schema.org","@type":"BlogPosting","headline":"Papermod-Variables","name":"Papermod-Variables","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’Toaddcaptiontocoverimagecov
<spanclass=logo-switches><spanclass=theme-toggle><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/l2/title=Lang2aria-label=Lang2>Lang2</a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/l3/title=Langrtlaria-label=Langrtl>Langrtl</a></li></ul></span></span></div><ulclass=menuid=menuonscroll=menu_on_scroll()><li><ahref=https://adityatelange.github.io/hugo-PaperMod/archives/><span>Archive</span></a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/tags/><span>Tags</span></a></li></ul></nav></header><mainclass=main><articleclass=post-single><headerclass=post-header><h1class=post-title>Papermod - Variables<divclass=entry-isdraft><sup> [draft]</sup></div></h1><divclass=post-meta>September 24, 2020 · 2 min · Aditya Telange</div></header><divclass=toc><detailsopen><summary><divclass=detailsaccesskey=c>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>To display a logo image in label</td></tr><tr><td>label.iconHeight</td><td>integer</td><td>35</td><td>To set size of label logo image</td></tr><tr><td>assets.favicon</td><td>string</td><td>‘icon.ico’</td><td>To set favicon, can be path or external link</td></tr><tr><td>cover.linkFullImages</td><td>boolean</td><td>true |
<span>Theme <ahref=https://git.io/hugopapermodrel=noopenertarget=_blank>PaperMod</a></span></footer><ahref=#toparia-label="go to top"title="Go to Top"accesskey=g><buttonclass=top-linkid=top-linktype=button><svgxmlns="http://www.w3.org/2000/svg"viewBox="0 0 12 6"><pathd="M12 6H0l6-6z"/></svg></button></a>