mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-23 02:51:39 +01:00
deploy: 8c659cdeb8
This commit is contained in:
parent
1b6b7a31ab
commit
ee5f0e11df
File diff suppressed because one or more lines are too long
@ -13,7 +13,7 @@ After you have created a new site, at Step 3 follow the steps:
|
||||
Inside the folder of your Hugo site, run:
|
||||
git clone https://github.com/adityatelange/hugo-PaperMod themes/hugo-PaperMod --depth=1 Updating theme :
|
||||
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 :"><script type=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.74.0).\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.74.0).\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 assets: favicon: '' label: text: \"Home\" icon: /apple-touch-icon.png iconHeight: 35 # 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":"290","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><body class=single id=top><script>if(localStorage.getItem("pref-theme")==="dark"){document.body.classList.add('dark');}else if(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><style type=text/css>.theme-toggle,.top-link{display:none}</style></noscript><header class=header><nav class=nav><p class=logo><a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a>
|
||||
git submodule add https://github.com/adityatelange/hugo-PaperMod.git themes/hugo-PaperMod git submodule update --init --recursive Updating theme with submodule :"><script type=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.74.0).\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.74.0).\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 # author: [\"Me\", \"You\"] # multiple authors images: \"\" ShowReadingTime: true ShowShareButtons: true comments: false defaultTheme: auto disableThemeToggle : false disableSpecial1stPost : false assets: favicon: '' label: text: \"Home\" icon: /apple-touch-icon.png iconHeight: 35 # 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\" # author: [\"Me\", \"You\"] # multiple authors 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":"304","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><body class=single id=top><script>if(localStorage.getItem("pref-theme")==="dark"){document.body.classList.add('dark');}else if(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><style type=text/css>.theme-toggle,.top-link{display:none}</style></noscript><header class=header><nav class=nav><p class=logo><a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a>
|
||||
<span class=theme-toggle><a id=theme-toggle><svg id="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"><path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg><svg id="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"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg></a></span></p><ul class=menu id=menu onscroll=menu_on_scroll()><li><a href=https://adityatelange.github.io/hugo-PaperMod/archives/><span>Archives</span></a></li><li><a href=https://adityatelange.github.io/hugo-PaperMod/tags/><span>Tags</span></a></li></ul></nav></header><main class=main><article class=post-single><header class=post-header><h1 class=post-title>Papermod - Installation</h1><div class=post-meta>September 15, 2020 · 2 min · Aditya Telange</div></header><div class=toc><details open><summary><div class=details>Table of Contents</div></summary><blockquote><ul><li><a href=#guide>Guide</a><ul><li><a href=#sample-configyml>Sample <code>config.yml</code></a></li><li><a href=#sample-pagemd>Sample <code>Page.md</code></a></li><li><a href=#papermod---featurespapermod-features><a href=../papermod-features>Papermod - Features</a></a></li><li><a href=#papermod---how-to-guidepapermod-how-to-guide><a href=../papermod-how-to-guide>Papermod - How to Guide</a></a></li><li><a href=#papermod---iconspapermod-icons><a href=../papermod-icons>Papermod - Icons</a></a></li></ul></li></ul></blockquote></details></div><div class=post-content><h2 id=guide>Guide</h2><p>Follow <a href=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.74.0).</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><p>Inside the folder of your Hugo site, run:</p><blockquote><pre><code class=language-console data-lang=console>git clone https://github.com/adityatelange/hugo-PaperMod themes/hugo-PaperMod --depth=1
|
||||
</code></pre><blockquote><p>Updating theme :</p><pre><code class=language-console data-lang=console>cd themes/hugo-PaperMod
|
||||
@ -43,6 +43,7 @@ git submodule update --init --recursive
|
||||
<span style=color:#f92672>title</span>: <span style=color:#ae81ff>ExampleSite</span>
|
||||
<span style=color:#f92672>description</span>: <span style=color:#e6db74>'ExampleSite'</span><span style=color:#ae81ff>s description'</span>
|
||||
<span style=color:#f92672>author</span>: <span style=color:#ae81ff>Me</span>
|
||||
<span style=color:#75715e># author: ["Me", "You"] # multiple authors</span>
|
||||
|
||||
<span style=color:#f92672>images</span>: <span style=color:#e6db74>"<link or path of image for opengraph, twitter-cards>"</span>
|
||||
|
||||
@ -97,6 +98,7 @@ git submodule update --init --recursive
|
||||
<span style=color:#f92672>aliases</span>: [<span style=color:#e6db74>'/first'</span>]
|
||||
<span style=color:#f92672>tags</span>: [<span style=color:#e6db74>'first'</span>]
|
||||
<span style=color:#f92672>author</span>: <span style=color:#e6db74>"Me"</span>
|
||||
<span style=color:#75715e># author: ["Me", "You"] # multiple authors</span>
|
||||
<span style=color:#f92672>showToc</span>: <span style=color:#66d9ef>true</span>
|
||||
<span style=color:#f92672>TocOpen</span>: <span style=color:#66d9ef>false</span>
|
||||
<span style=color:#f92672>draft</span>: <span style=color:#66d9ef>false</span>
|
||||
|
Loading…
Reference in New Issue
Block a user