cd themes/hugo-PaperMod git pull or you can use as submodule with
git submodule add https://github.com/adityatelange/hugo-PaperMod.git themes/hugo-PaperMod git submodule update --init --recursive Updating theme with submodule :"><scripttype=application/ld+json>{"@context":"https://schema.org","@type":"BlogPosting","headline":"Papermod - Installation","name":"Papermod - Installation","description":"Guide Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(\u0026amp;gt;=0.57.1).\nAfter you have created a new site, at Step 3 follow the …","keywords":["PaperMod"],"articleBody":"Guide Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(=0.57.1).\nAfter you have created a new site, at Step 3 follow the steps:\nInside the folder of your Hugo site, run:\n git clone https://github.com/adityatelange/hugo-PaperMod themes/hugo-PaperMod --depth=1 Updating theme :\ncd themes/hugo-PaperMod git pull or you can use as submodule with\n git submodule add https://github.com/adityatelange/hugo-PaperMod.git themes/hugo-PaperMod git submodule update --init --recursive Updating theme with submodule :\ngit submodule update --remote --merge Then change in config.yml:\n theme: \"hugo-PaperMod\" Example Site Structure is present here: exampleSite\n Sample config.yml baseURL: 'https://examplesite.com' title: ExampleSite paginate: 5 theme: hugo-PaperMod enableRobotsTXT: true buildDrafts: false buildFuture: false buildExpored: false googleAnalytics: UA-123-45 minify: disableXML: true minifyOutput: true params: env: production # to enable google analytics, opengraph, twitter-cards and schema. title: ExampleSite description: 'ExampleSite's description' author: Me images: \"\" ShowReadingTime: true ShowShareButtons: true comments: false defaultTheme: auto disableThemeToggle : false disableSpecial1stPost : false # profile-mode profileMode: enabled: false # needs to be explicitly set title: ExampleSite # imageUrl: '' # imageTitle: my image buttons: - name: Posts url: posts - name: Tags url: tags # home-info mode homeInfoParams: Title: \"Hi there \\U0001F44B\" Content: Welcome to my blog socialIcons: - name: twitter url: 'https://twitter.com/' - name: stackoverflow url: 'https://stackoverflow.com' - name: github url: 'https://github.com/' analytics: google: SiteVerificationTag: \"XYZabc\" Sample Page.md --- title: \"My 1st post\" date: 2020-09-15T11:30:03+00:00 weight: 1 aliases: ['/first'] tags: ['first'] author: \"Me\" showToc: true TocOpen: false draft: false hidemeta: false disableShare: false cover: image: '' alt: '' caption: '' relative: false comments: false --- Papermod - Features Papermod - How to Guide Papermod - Icons ","wordCount":"277","inLanguage":"en","datePublished":"2020-09-15T11:30:03+05:30","dateModified":"2020-09-15T11:30:03+05:30","author":{"@type":"Person","name":"Aditya Telange"},"mainEntityOfPage":{"@type":"WebPage","@id":"https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/"},"publisher":{"@type":"Organization","name":"PaperMod","logo":{"@type":"ImageObject","url":"https://adityatelange.github.io/hugo-PaperMod/favicon.ico"}}}</script></head><bodyclass=singleid=top><script>if(localStorage.getItem("pref-theme")==="dark"){document.body.classList.add('dark');}elseif(localStorage.getItem("pref-theme")==="light"){document.body.classList.remove('dark')}else{if(window.matchMedia('(prefers-color-scheme: dark)').matches){document.body.classList.add('dark');}}</script><noscript><styletype=text/css>.theme-toggle,.top-link{display:none}</style></noscript><headerclass=header><navclass=nav><pclass=logo><ahref=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a>
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></blockquote><p>Then change in <code>config.yml</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>
</code></pre></div><p>Example Site Structure is present here: <ahref=https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite/>exampleSite</a></p><hr><h3id=sample-configyml>Sample <code>config.yml</code></h3><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>
<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>