git submodule add https://github.com/adityatelange/hugo-PaperMod.git themes/hugo-PaperMod Updating theme with submodule :"><metaname=authorcontent="Aditya Telange"><linkrel=canonicalhref=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/><linkhref=https://adityatelange.github.io/hugo-PaperMod/css/stylesheet.min.8e15d7202437fa10ce9ee5387074224b3ee7853cda172fd5b65f8f8dc7656284.cssintegrity="sha256-jhXXICQ3+hDOnuU4cHQiSz7nhTzaFy/Vtl+PjcdlYoQ="rel="preload stylesheet"as=style><linkrel=apple-touch-iconhref=https://adityatelange.github.io/hugo-PaperMod/apple-touch-icon.png><linkrel=iconhref=https://adityatelange.github.io/hugo-PaperMod/favicon.ico><metaname=generatorcontent="Hugo 0.75.1"></head><bodyclass=singleid=top><script>if(window.matchMedia('(prefers-color-scheme: dark)').matches){document.body.classList.add('dark');}</script><headerclass=header><navclass=nav><pclass=logo><ahref=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></p><ulclass=menuid=menuonscroll=menu_on_scroll()><li><ahref=https://adityatelange.github.io/hugo-PaperMod/archives/><span>Archives</span></a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/tags/><span>Tags</span></a></li><li><ahref=https://adityatelange.github.io/hugo-PaperMod/series/><span>Series</span></a></li></ul></nav></header><mainclass=main><articleclass=post-single><headerclass=post-header><h1class=post-title>Papermod - Installation</h1></header><divclass=post-content><p>Follow <ahref=https://gohugo.io/getting-started/quick-start/>this</a> guide to setup hugo and create a new site.
Make sure you install latest version of <code>hugo</code>(>=0.57.1).</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><p>Inside the folder of your Hugo site, run:</p><blockquote><pre><codeclass=language-consoledata-lang=console>git clone https://github.com/adityatelange/hugo-PaperMod themes/hugo-PaperMod --depth=1
</code></pre></blockquote></blockquote><p><strong>or</strong> you can use as <ahref=https://www.atlassian.com/git/tutorials/git-submodule>submodule</a> with</p><blockquote><pre><codeclass=language-consoledata-lang=console>git submodule add https://github.com/adityatelange/hugo-PaperMod.git themes/hugo-PaperMod
</code></pre><blockquote><p>Updating theme with submodule :</p><pre><codeclass=language-consoledata-lang=console>git submodule update --remote --merge
</code></pre></blockquote></blockquote><p>Then change in <code>config.toml</code>:</p><blockquote></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>"hugo-PaperMod"</span>
<span>Theme️<ahref=https://git.io/hugopapermodrel=noopenertarget=_blank>PaperMod</a></span></footer><ahref=#toparia-label="go to top"title="Go to Top"><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>