This commit is contained in:
adityatelange committed 2022-07-16 18:49:27 +00:00
1 parent cc8655fea8
commit 19e91c6b1b
1 file changed
+2 -1
@@ -1,5 +1,6 @@
<!doctype html><html lang=en dir=auto><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=robots content="index, follow"><title>Installation | Update | PaperMod</title><meta name=keywords content="PaperMod"><meta name=description content="Read Install and Update instructions here"><meta name=author content="Aditya Telange"><link rel=canonical href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/><link crossorigin=anonymous href=/hugo-PaperMod/assets/css/stylesheet.2494a82033f8f1af32a12550b2118ede6560401d51adfaee0982c2d0ff0bb7fc.css integrity="sha256-JJSoIDP48a8yoSVQshGO3mVgQB1RrfruCYLC0P8Lt/w=" rel="preload stylesheet" as=style><link rel=icon href=https://adityatelange.github.io/hugo-PaperMod/favicon.ico><link rel=icon type=image/png sizes=16x16 href=https://adityatelange.github.io/hugo-PaperMod/favicon-16x16.png><link rel=icon type=image/png sizes=32x32 href=https://adityatelange.github.io/hugo-PaperMod/favicon-32x32.png><link rel=apple-touch-icon href=https://adityatelange.github.io/hugo-PaperMod/apple-touch-icon.png><link rel=mask-icon href=https://adityatelange.github.io/hugo-PaperMod/safari-pinned-tab.svg><meta name=theme-color content="#2e2e33"><meta name=msapplication-TileColor content="#2e2e33"><link rel=alternate hreflang=en href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/><noscript><style>#theme-toggle,.top-link{display:none}</style><style>@media(prefers-color-scheme:dark){:root{--theme:rgb(29, 30, 32);--entry:rgb(46, 46, 51);--primary:rgb(218, 218, 219);--secondary:rgb(155, 156, 157);--tertiary:rgb(65, 66, 68);--content:rgb(196, 196, 197);--hljs-bg:rgb(46, 46, 51);--code-bg:rgb(55, 56, 62);--border:rgb(51, 51, 51)}.list{background:var(--theme)}.list:not(.dark)::-webkit-scrollbar-track{background:0 0}.list:not(.dark)::-webkit-scrollbar-thumb{border-color:var(--theme)}}</style></noscript><meta property="og:title" content="Installation | Update"><meta property="og:description" content="Read Install and Update instructions here"><meta property="og:type" content="article"><meta property="og:url" content="https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/"><meta property="og:image" content="https://adityatelange.github.io/hugo-PaperMod/papermod-cover.png"><meta property="article:section" content="posts"><meta property="article:published_time" content="2021-01-20T00:00:00+00:00"><meta property="article:modified_time" content="2021-01-20T00:00:00+00:00"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://adityatelange.github.io/hugo-PaperMod/papermod-cover.png"><meta name=twitter:title content="Installation | Update"><meta name=twitter:description content="Read Install and Update instructions here"><script type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Posts","item":"https://adityatelange.github.io/hugo-PaperMod/posts/"},{"@type":"ListItem","position":2,"name":"PaperMod","item":"https://adityatelange.github.io/hugo-PaperMod/posts/papermod/"},{"@type":"ListItem","position":3,"name":"Installation | Update","item":"https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/"}]}</script><script type=application/ld+json>{"@context":"https://schema.org","@type":"BlogPosting","headline":"Installation | Update","name":"Installation | Update","description":"Read Install and Update instructions here","keywords":["PaperMod"],"articleBody":"Intro We’ll be using yml/yaml format for all examples down below, I recommend using yml over toml as it is easier to read. You can find any YML to TOML converters if necessary. Guide Follow Quick Start guide to setup and create a new site.\nNote: Use -f to select yml format\nhugo new site -f yml\nMake sure you install latest version of hugo(\u003e=0.83.0).\nAfter you have created a new site, at Step 3 follow the steps:\nMethod 1 Inside the folder of your Hugo site, run:\ngit clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1 Note: You may use --branch v5.0 to end of above command if you want to stick to specific release.\nUpdating theme :\ncd themes/PaperMod git pull Method 2 you can use as submodule with\ngit submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod git submodule update --init --recursive # needed when you reclone your repo (submodules may not get cloned automatically) Note: You may use --branch v5.0 to end of above command if you want to stick to specific release.\nUpdating theme :\ngit submodule update --remote --merge Method 3 Or you can Download as Zip from Github Page and extract in your themes directory\nDirect Links:\nMaster Branch (Latest) v6.0 v5.0 v4.0 v3.0 v2.0 v1.0 Finally … Add in config.yml:\ntheme: \Line truncated
<img class=in-text height=14 src=https://raw.githubusercontent.com/gohugoio/hugoDocs/master/static/img/hugo-logo.png alt> and create a new site.</p><blockquote><p>Note: Use -f to select yml format</p><p><code>hugo new site &lt;name of site> -f yml</code></p></blockquote><p>Make sure you install latest version of <strong><code>hugo(>=0.83.0)</code></strong>.</p><p>After you have created a new site, at <a href=https://gohugo.io/getting-started/quick-start/#step-3-add-a-theme>Step 3</a> follow the steps:</p><h3 id=method-1>Method 1<a hidden class=anchor aria-hidden=true href=#method-1>#</a></h3><p>Inside the folder of your Hugo site, run:</p><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth<span class=o>=</span><span class=m>1</span>
<img class=in-text height=14 src=https://raw.githubusercontent.com/gohugoio/hugoDocs/master/static/img/hugo-logo.png alt>
and create a new site.</p><blockquote><p>Note: Use -f to select yml format</p><p><code>hugo new site &lt;name of site> -f yml</code></p></blockquote><p>Make sure you install latest version of <strong><code>hugo(>=0.83.0)</code></strong>.</p><p>After you have created a new site, at <a href=https://gohugo.io/getting-started/quick-start/#step-3-add-a-theme>Step 3</a> follow the steps:</p><h3 id=method-1>Method 1<a hidden class=anchor aria-hidden=true href=#method-1>#</a></h3><p>Inside the folder of your Hugo site, run:</p><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth<span class=o>=</span><span class=m>1</span>
</span></span></code></pre></div><p><strong>Note</strong>: You may use <code>--branch v5.0</code> to end of above command if you want to stick to specific release.</p><blockquote><p>Updating theme :</p><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl><span class=nb>cd</span> themes/PaperMod
</span></span><span class=line><span class=cl>git pull
</span></span></code></pre></div></blockquote><h3 id=method-2>Method 2<a hidden class=anchor aria-hidden=true href=#method-2>#</a></h3><p>you can use as <a href=https://www.atlassian.com/git/tutorials/git-submodule>submodule</a> with</p><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=cl>git submodule add --depth<span class=o>=</span><span class=m>1</span> https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod