<!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>Installation | Update | PaperMod</title><metaname=keywordscontent="PaperMod"><metaname=descriptioncontent="Read Install and Update instructions here"><metaname=authorcontent="Aditya Telange"><linkrel=canonicalhref=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/><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="Installation | Update"><metaproperty="og:description"content="Read Install and Update instructions here"><metaproperty="og:type"content="article"><metaproperty="og:url"content="https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/"><metaproperty="article:published_time"content="2020-09-15T11:30:03+05:30"><metaproperty="article:modified_time"content="2020-09-15T11:30:03+05:30"><metaname=twitter:cardcontent="summary"><metaname=twitter:titlecontent="Installation | Update"><metaname=twitter:descriptioncontent="Read Install and Update instructions here"><scripttype=application/ld+json>{"@context":"https://schema.org","@type":"BlogPosting","headline":"Installation|Update","name":"Installation|Update","description":"ReadInstallandUpdateinstructionshere","keywords":["PaperMod"],"articleBody":"GuideFollowQuickStartguidetosetuphugoandcreateanewsite.Makesureyouinstalllatestversionofhugo(=0.74.0).\nAfteryouhavecreatedanewsite,atStep3followthesteps:\nMethod1InsidethefolderofyourHugosite,run:\ngitclonehttps://github.com/adityatelange/hugo-PaperModthemes/PaperMod--depth=1Note:Youmayuse--branchv3.0toendofabovecommandifyouwanttosticktospecificrelease.\nUpdatingtheme:\ncdthemes/PaperModgitpullMethod2youcanuseassubmodulewith\ngitsubmoduleaddhttps://github.com/adityatelange/hugo-PaperMod.gitthemes/PaperMod--depth=1gitsubmoduleupdate--init--recursiveNote:Youmayuse--branchv3.0toendofabovecommandifyouwanttosticktospecificrelease.\nUpdatingtheme:\ngitsubmoduleupdate--remote--mergeThenchangeinconfig.yml:\ntheme:\"PaperMod\"Method3OryoucanDownloadasZipfromGithubPageandextractinyourthemesdirectory\nQuickLinksPapermod-FeaturesPapermod-HowtoGuidePapermod-IconsChangeLogSampleconfig.ymlExampleSiteStructureispresenthere:exampleSite\nUseappropriately\nbaseURL:\"https://examplesite.com\"title:ExampleSitepaginate:5theme:hugo-PaperModenableRobotsTXT:truebuildDrafts:falsebuildFuture:falsebuildExpired:falsegoogleAnalytics:UA-123-45minify:disableXML:trueminifyOutput:trueparams:env:production#toenablegoogleanalytics,opengraph,twitter-cardsandschema.title:ExampleSitedescription:\"ExampleSitedescription\"author:Me#author:[\"Me\",\"You\"]#multipleauthorsimages:[\"\"]ShowReadingTime:trueShowShareButtons:truecomments:falsedefaultTheme:autodisableThemeToggle:falsedisableSpecial1stPost:falseassets:#disableHLJS:true#todisablehighlightjs#disableFingerprinting:t
<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>Installation | Update</h1><divclass=post-description></div><divclass=post-meta>September 15, 2020 · 3 min · Aditya Telange</div></header><divclass=toc><detailsopen><summaryaccesskey=ctitle="(Alt + C)"><divclass=details>Table of Contents</div></summary><blockquote><ul><li><ahref=#guidearia-label=Guide>Guide</a><ul><li><ahref=#method-1aria-label="Method 1">Method 1</a></li><li><ahref=#method-2aria-label="Method 2">Method 2</a></li><li><ahref=#method-3aria-label="Method 3">Method 3</a></li></ul></li><li><ahref=#quick-linksaria-label="Quick Links">Quick Links</a><ul><li><ahref=#papermod---featurespapermod-featuresaria-label="Papermod - Features"><ahref=../papermod-features>Papermod - Features</a></a></li><li><ahref=#papermod---how-to-guidepapermod-how-toaria-label="Papermod - How to Guide"><ahref=../papermod-how-to>Papermod - How to Guide</a></a></li><li><ahref=#papermod---iconspapermod-iconsaria-label="Papermod - Icons"><ahref=../papermod-icons>Papermod - Icons</a></a></li><li><ahref=#changeloghttpsgithubcomadityatelangehugo-papermodreleasesaria-label=ChangeLog><ahref=https://github.com/adityatelange/hugo-PaperMod/releases>ChangeLog</a></a></li></ul></li><li><ahref=#sample-configymlaria-label="Sample config.yml">Sample <code>config.yml</code></a></li><li><ahref=#sample-pagemdaria-label="Sample Page.md">Sample <code>Page.md</code></a></li></ul></blockquote></details></div><divclass=post-content><h2id=guide>Guide<ahiddenclass=anchoraria-hidden=truehref=#guide>#</a></h2><p>Follow <ahref=https://gohugo.io/getting-started/quick-start/>Quick Start</a> guide to setup hugo and create a new site.
Make sure you install latest version of <strong><code>hugo(>=0.74.0)</code></strong>.</p><p>After you have created a new site, at <ahref=https://gohugo.io/getting-started/quick-start/#step-3-add-a-theme>Step 3</a> follow the steps:</p><h3id=method-1>Method 1<ahiddenclass=anchoraria-hidden=truehref=#method-1>#</a></h3><p>Inside the folder of your Hugo site, run:</p><divclass=highlight><prestyle=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><codeclass=language-bashdata-lang=bash>git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth<spanstyle=color:#f92672>=</span><spanstyle=color:#ae81ff>1</span>
</code></pre></div><p><strong>Note</strong>: You may use <code>--branch v3.0</code> to end of above command if you want to stick to specific release.</p><blockquote><p>Updating theme :</p><divclass=highlight><prestyle=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><codeclass=language-bashdata-lang=bash>cd themes/PaperMod
</code></pre></div></blockquote><h3id=method-2>Method 2<ahiddenclass=anchoraria-hidden=truehref=#method-2>#</a></h3><p>you can use as <ahref=https://www.atlassian.com/git/tutorials/git-submodule>submodule</a> with</p><divclass=highlight><prestyle=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><codeclass=language-bashdata-lang=bash>git submodule add https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod --depth<spanstyle=color:#f92672>=</span><spanstyle=color:#ae81ff>1</span>
</code></pre></div><p><strong>Note</strong>: You may use <code>--branch v3.0</code> to end of above command if you want to stick to specific release.</p><blockquote><p>Updating theme :</p><divclass=highlight><prestyle=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><codeclass=language-bashdata-lang=bash>git submodule update --remote --merge
</code></pre></div><p>Then change in <code>config.yml</code>:</p></blockquote><divclass=highlight><prestyle=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><codeclass=language-ymldata-lang=yml><spanstyle=color:#f92672>theme</span>: <spanstyle=color:#e6db74>"PaperMod"</span>
</code></pre></div><h3id=method-3>Method 3<ahiddenclass=anchoraria-hidden=truehref=#method-3>#</a></h3><p>Or you can Download as Zip from Github Page and extract in your themes directory</p><hr><h2id=quick-links>Quick Links<ahiddenclass=anchoraria-hidden=truehref=#quick-links>#</a></h2><ul><li><h3id=papermod---featurespapermod-features><ahref=../papermod-features>Papermod - Features</a><ahiddenclass=anchoraria-hidden=truehref=#papermod---featurespapermod-features>#</a></h3></li><li><h3id=papermod---how-to-guidepapermod-how-to><ahref=../papermod-how-to>Papermod - How to Guide</a><ahiddenclass=anchoraria-hidden=truehref=#papermod---how-to-guidepapermod-how-to>#</a></h3></li><li><h3id=papermod---iconspapermod-icons><ahref=../papermod-icons>Papermod - Icons</a><ahiddenclass=anchoraria-hidden=truehref=#papermod---iconspapermod-icons>#</a></h3></li><li><h3id=changeloghttpsgithubcomadityatelangehugo-papermodreleases><ahref=https://github.com/adityatelange/hugo-PaperMod/releases>ChangeLog</a><ahiddenclass=anchoraria-hidden=truehref=#changeloghttpsgithubcomadityatelangehugo-papermodreleases>#</a></h3></li></ul><hr><h2id=sample-configyml>Sample <code>config.yml</code><ahiddenclass=anchoraria-hidden=truehref=#sample-configyml>#</a></h2><blockquote><p><strong>Example Site Structure is present here</strong>: <ahref=https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite/>exampleSite</a></p></blockquote><p><strong>Use appropriately</strong></p><divclass=highlight><prestyle=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><codeclass=language-ymldata-lang=yml><spanstyle=color:#f92672>baseURL</span>: <spanstyle=color:#e6db74>"https://examplesite.com"</span>
<spanstyle=color:#f92672>env</span>: <spanstyle=color:#ae81ff>production</span><spanstyle=color:#75715e># to enable google analytics, opengraph, twitter-cards and schema.</span>
<spanstyle=color:#f92672>hidden</span>: <spanstyle=color:#66d9ef>true</span><spanstyle=color:#75715e># hide everywhere but not in structured data</span>
<spanstyle=color:#f92672>hiddenInList</span>: <spanstyle=color:#66d9ef>true</span><spanstyle=color:#75715e># hide on list pages and home</span>
<spanstyle=color:#f92672>hiddenInSingle</span>: <spanstyle=color:#66d9ef>true</span><spanstyle=color:#75715e># hide on single page</span>
<spanstyle=color:#f92672>alt</span>: <spanstyle=color:#e6db74>"<alt text>"</span><spanstyle=color:#75715e># alt text</span>
<spanstyle=color:#f92672>caption</span>: <spanstyle=color:#e6db74>"<text>"</span><spanstyle=color:#75715e># display caption under cover</span>
<spanstyle=color:#f92672>relative</span>: <spanstyle=color:#66d9ef>false</span><spanstyle=color:#75715e># when using page bundles set this to true</span>
<spanstyle=color:#f92672>hidden</span>: <spanstyle=color:#66d9ef>true</span><spanstyle=color:#75715e># only hide on current single page</span>
<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>