mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-10-01 01:06:14 -04:00
deploy: 9c5abbe7fa
This commit is contained in:
parent
3a8cc5adb7
commit
a34301e410
File diff suppressed because one or more lines are too long
@ -5,10 +5,10 @@ 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 :...</p></section><footer class=entry-footer><time>September 15, 2020</time> · 2 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Installation" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/></a></article><article class=post-entry><header class=entry-header><h2>Papermod - Features</h2></header><section class=entry-content><p>Assets (js/css) The following is enabled by default
|
||||
minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme...</p></section><footer class=entry-footer><time>September 16, 2020</time> · 2 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Features" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/></a></article><article class=post-entry><header class=entry-header><h2>Markdown Syntax Guide</h2></header><section class=entry-content><p>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
|
||||
minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme...</p></section><footer class=entry-footer><time>September 16, 2020</time> · 3 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Features" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/></a></article><article class=post-entry><header class=entry-header><h2>Markdown Syntax Guide</h2></header><section class=entry-content><p>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
|
||||
...</p></section><footer class=entry-footer><time>March 11, 2019</time> · 3 min · Hugo Authors</footer><a class=entry-link aria-label="post link to Markdown Syntax Guide" href=https://adityatelange.github.io/hugo-PaperMod/posts/markdown-syntax/></a></article><article class=post-entry><header class=entry-header><h2>Papermod - Icons</h2></header><section class=entry-content><p>Social Icons Usage :
|
||||
socialIcons: # optional - name: "<NAME>" url: "<link>" - name: "<NAME>" url: "<link2>" No. name platform link 1 123rf 123rf.com 2 adobestock stock.adobe.com 3 behance behance.net 4 codepen codepen.io 5 cryptohack cryptohack.org 6 dev dev.to 7 discogs discogs.com 8 dreamstime dreamstime.com 9 dribbble dribbble....</p></section><footer class=entry-footer><time>September 17, 2020</time> · 1 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Icons" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-icons/></a></article><article class=post-entry><header class=entry-header><h2>Papermod - Variables<div class=entry-isdraft><sup> [draft]</sup></div></h2></header><section class=entry-content><p>Variables in PaperMod Below are variables used with this theme…
|
||||
Site Variables name type example ShowReadingTime boolean true | false defaultTheme string light | dark | auto ShowShareButtons boolean true | false Page Variables name type example showtoc boolean true | false tocopen boolean true | false hidemeta boolean true | false ...</p></section><footer class=entry-footer><time>September 24, 2020</time> · 1 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Variables" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/></a></article><article class=post-entry><header class=entry-header><h2>Papermod - How To's Guide<div class=entry-isdraft><sup> [draft]</sup></div></h2></header><section class=entry-content><p>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.
|
||||
Site Variables name type example ShowReadingTime boolean true | false defaultTheme string light | dark | auto ShowShareButtons boolean true | false cover.linkFullImages boolean true | false cover.responsiveImages boolean true | false Page Variables name type example showtoc boolean true | false tocopen boolean true | false hidemeta boolean true | false cover....</p></section><footer class=entry-footer><time>September 24, 2020</time> · 1 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Variables" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/></a></article><article class=post-entry><header class=entry-header><h2>Papermod - How To's Guide<div class=entry-isdraft><sup> [draft]</sup></div></h2></header><section class=entry-content><p>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.
|
||||
Override theme template By Hugo’s Lookup Order, you can override any part of a theme that you want. The following is a quick example.
|
||||
Let’s say you wish the list was different. All you have to do is copy the list template:
|
||||
your-site/themes/papermod/layouts/_defaults/list.html And paste it under your own layouts folder:...</p></section><footer class=entry-footer><time>September 18, 2020</time> · 1 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - How To's Guide" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/></a></article><article class=post-entry><header class=entry-header><h2>Rich Content</h2></header><section class=entry-content><p>Hugo ships with several Built-in Shortcodes for rich content, along with a Privacy Config and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
|
||||
|
@ -6,7 +6,7 @@ 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 :</description></item><item><title>Papermod - Features</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/</link><pubDate>Wed, 16 Sep 2020 11:30:03 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/</guid><description>Assets (js/css) The following is enabled by default
|
||||
minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme</description></item><item><title>Markdown Syntax Guide</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/markdown-syntax/</link><pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/markdown-syntax/</guid><description><p>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.</p></description></item><item><title>Papermod - Icons</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-icons/</link><pubDate>Thu, 17 Sep 2020 11:30:03 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-icons/</guid><description>Social Icons Usage :
|
||||
socialIcons: # optional - name: &quot;&lt;NAME&gt;&quot; url: &quot;&lt;link&gt;&quot; - name: &quot;&lt;NAME&gt;&quot; url: &quot;&lt;link2&gt;&quot; No. name platform link 1 123rf 123rf.com 2 adobestock stock.adobe.com 3 behance behance.net 4 codepen codepen.io 5 cryptohack cryptohack.org 6 dev dev.to 7 discogs discogs.com 8 dreamstime dreamstime.com 9 dribbble dribbble.</description></item><item><title>Papermod - Variables</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/</link><pubDate>Thu, 24 Sep 2020 11:33:33 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/</guid><description>Variables in PaperMod Below are variables used with this theme&hellip;
|
||||
Site Variables name type example ShowReadingTime boolean true | false defaultTheme string light | dark | auto ShowShareButtons boolean true | false Page Variables name type example showtoc boolean true | false tocopen boolean true | false hidemeta boolean true | false</description></item><item><title>Papermod - How To's Guide</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/</link><pubDate>Fri, 18 Sep 2020 11:30:03 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/</guid><description>Intro We&rsquo;ll be using yml/yaml format for all examples down below, I recommend using yml over toml as it is easier to read.
|
||||
Site Variables name type example ShowReadingTime boolean true | false defaultTheme string light | dark | auto ShowShareButtons boolean true | false cover.linkFullImages boolean true | false cover.responsiveImages boolean true | false Page Variables name type example showtoc boolean true | false tocopen boolean true | false hidemeta boolean true | false cover.</description></item><item><title>Papermod - How To's Guide</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/</link><pubDate>Fri, 18 Sep 2020 11:30:03 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/</guid><description>Intro We&rsquo;ll be using yml/yaml format for all examples down below, I recommend using yml over toml as it is easier to read.
|
||||
Override theme template By Hugo&rsquo;s Lookup Order, you can override any part of a theme that you want. The following is a quick example.
|
||||
Let&rsquo;s say you wish the list was different. All you have to do is copy the list template:
|
||||
your-site/themes/papermod/layouts/_defaults/list.html And paste it under your own layouts folder:</description></item><item><title>Rich Content</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/rich-content/</link><pubDate>Sun, 10 Mar 2019 00:00:00 +0000</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/rich-content/</guid><description><p>Hugo ships with several <a href="https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes">Built-in Shortcodes</a> for rich content, along with a <a href="https://gohugo.io/about/hugo-and-gdpr/">Privacy Config</a> and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.</p></description></item><item><title>Placeholder Text</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/placeholder-text/</link><pubDate>Sat, 09 Mar 2019 00:00:00 +0000</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/placeholder-text/</guid><description><p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p></description></item><item><title>Math Typesetting</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/math-typesetting/</link><pubDate>Fri, 08 Mar 2019 00:00:00 +0000</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/math-typesetting/</guid><description><p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.</p></description></item><item><title>Emoji Support</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/emoji-support/</link><pubDate>Tue, 05 Mar 2019 00:00:00 +0000</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/emoji-support/</guid><description><p>Emoji can be enabled in a Hugo project in a number of ways.</p></description></item><item><title>Archive</title><link>https://adityatelange.github.io/hugo-PaperMod/archives/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/archives/</guid><description>archives</description></item></channel></rss>
|
@ -5,9 +5,9 @@ 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 :...</p></section><footer class=entry-footer><time>September 15, 2020</time> · 2 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Installation" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/></a></article><article class=post-entry><header class=entry-header><h2>Papermod - Features</h2></header><section class=entry-content><p>Assets (js/css) The following is enabled by default
|
||||
minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme...</p></section><footer class=entry-footer><time>September 16, 2020</time> · 2 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Features" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/></a></article><article class=post-entry><header class=entry-header><h2>Papermod - Icons</h2></header><section class=entry-content><p>Social Icons Usage :
|
||||
minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme...</p></section><footer class=entry-footer><time>September 16, 2020</time> · 3 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Features" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/></a></article><article class=post-entry><header class=entry-header><h2>Papermod - Icons</h2></header><section class=entry-content><p>Social Icons Usage :
|
||||
socialIcons: # optional - name: "<NAME>" url: "<link>" - name: "<NAME>" url: "<link2>" No. name platform link 1 123rf 123rf.com 2 adobestock stock.adobe.com 3 behance behance.net 4 codepen codepen.io 5 cryptohack cryptohack.org 6 dev dev.to 7 discogs discogs.com 8 dreamstime dreamstime.com 9 dribbble dribbble....</p></section><footer class=entry-footer><time>September 17, 2020</time> · 1 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Icons" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-icons/></a></article><article class=post-entry><header class=entry-header><h2>Papermod - Variables<div class=entry-isdraft><sup> [draft]</sup></div></h2></header><section class=entry-content><p>Variables in PaperMod Below are variables used with this theme…
|
||||
Site Variables name type example ShowReadingTime boolean true | false defaultTheme string light | dark | auto ShowShareButtons boolean true | false Page Variables name type example showtoc boolean true | false tocopen boolean true | false hidemeta boolean true | false ...</p></section><footer class=entry-footer><time>September 24, 2020</time> · 1 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Variables" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/></a></article><article class=post-entry><header class=entry-header><h2>Papermod - How To's Guide<div class=entry-isdraft><sup> [draft]</sup></div></h2></header><section class=entry-content><p>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.
|
||||
Site Variables name type example ShowReadingTime boolean true | false defaultTheme string light | dark | auto ShowShareButtons boolean true | false cover.linkFullImages boolean true | false cover.responsiveImages boolean true | false Page Variables name type example showtoc boolean true | false tocopen boolean true | false hidemeta boolean true | false cover....</p></section><footer class=entry-footer><time>September 24, 2020</time> · 1 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Variables" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/></a></article><article class=post-entry><header class=entry-header><h2>Papermod - How To's Guide<div class=entry-isdraft><sup> [draft]</sup></div></h2></header><section class=entry-content><p>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.
|
||||
Override theme template By Hugo’s Lookup Order, you can override any part of a theme that you want. The following is a quick example.
|
||||
Let’s say you wish the list was different. All you have to do is copy the list template:
|
||||
your-site/themes/papermod/layouts/_defaults/list.html And paste it under your own layouts folder:...</p></section><footer class=entry-footer><time>September 18, 2020</time> · 1 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - How To's Guide" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/></a></article></main><footer class=footer><span>© 2020 <a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></span>
|
||||
|
@ -6,7 +6,7 @@ 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 :</description></item><item><title>Papermod - Features</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/</link><pubDate>Wed, 16 Sep 2020 11:30:03 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/</guid><description>Assets (js/css) The following is enabled by default
|
||||
minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme</description></item><item><title>Papermod - Icons</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-icons/</link><pubDate>Thu, 17 Sep 2020 11:30:03 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-icons/</guid><description>Social Icons Usage :
|
||||
socialIcons: # optional - name: &quot;&lt;NAME&gt;&quot; url: &quot;&lt;link&gt;&quot; - name: &quot;&lt;NAME&gt;&quot; url: &quot;&lt;link2&gt;&quot; No. name platform link 1 123rf 123rf.com 2 adobestock stock.adobe.com 3 behance behance.net 4 codepen codepen.io 5 cryptohack cryptohack.org 6 dev dev.to 7 discogs discogs.com 8 dreamstime dreamstime.com 9 dribbble dribbble.</description></item><item><title>Papermod - Variables</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/</link><pubDate>Thu, 24 Sep 2020 11:33:33 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/</guid><description>Variables in PaperMod Below are variables used with this theme&hellip;
|
||||
Site Variables name type example ShowReadingTime boolean true | false defaultTheme string light | dark | auto ShowShareButtons boolean true | false Page Variables name type example showtoc boolean true | false tocopen boolean true | false hidemeta boolean true | false</description></item><item><title>Papermod - How To's Guide</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/</link><pubDate>Fri, 18 Sep 2020 11:30:03 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/</guid><description>Intro We&rsquo;ll be using yml/yaml format for all examples down below, I recommend using yml over toml as it is easier to read.
|
||||
Site Variables name type example ShowReadingTime boolean true | false defaultTheme string light | dark | auto ShowShareButtons boolean true | false cover.linkFullImages boolean true | false cover.responsiveImages boolean true | false Page Variables name type example showtoc boolean true | false tocopen boolean true | false hidemeta boolean true | false cover.</description></item><item><title>Papermod - How To's Guide</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/</link><pubDate>Fri, 18 Sep 2020 11:30:03 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/</guid><description>Intro We&rsquo;ll be using yml/yaml format for all examples down below, I recommend using yml over toml as it is easier to read.
|
||||
Override theme template By Hugo&rsquo;s Lookup Order, you can override any part of a theme that you want. The following is a quick example.
|
||||
Let&rsquo;s say you wish the list was different. All you have to do is copy the list template:
|
||||
your-site/themes/papermod/layouts/_defaults/list.html And paste it under your own layouts folder:</description></item></channel></rss>
|
@ -1,8 +1,8 @@
|
||||
<!doctype html><html lang=en class=direction-ltr><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"><title>Papermod - Features - PaperMod</title><meta name=keywords content="PaperMod"><meta name=description content="Assets (js/css) The following is enabled by default
|
||||
minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme"><meta name=author content="Aditya Telange"><link rel=canonical href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/><link href=https://adityatelange.github.io/hugo-PaperMod/assets/css/stylesheet.min.b369c023b27e1372052b42125b6b612e5a9641e98d4041a88ab4d23a203f87f6.css integrity="sha256-s2nAI7J+E3IFK0ISW2thLlqWQemNQEGoirTSOiA/h/Y=" rel="preload stylesheet" as=style><link rel=apple-touch-icon href=https://adityatelange.github.io/hugo-PaperMod/apple-touch-icon.png><link rel=icon href=https://adityatelange.github.io/hugo-PaperMod/favicon.ico><meta name=generator content="Hugo 0.76.5"><meta property="og:title" content="Papermod - Features"><meta property="og:description" content="Assets (js/css) The following is enabled by default
|
||||
minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme"><meta property="og:type" content="article"><meta property="og:url" content="https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/"><meta property="article:published_time" content="2020-09-16T11:30:03+05:30"><meta property="article:modified_time" content="2020-09-16T11:30:03+05:30"><meta name=twitter:card content="summary"><meta name=twitter:title content="Papermod - Features"><meta name=twitter:description content="Assets (js/css) The following is enabled by default
|
||||
minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme"><script type=application/ld+json>{"@context":"https://schema.org","@type":"BlogPosting","headline":"Papermod - Features","name":"Papermod - Features","description":"Assets (js/css) The following is enabled by default\n minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset …","keywords":["PaperMod"],"articleBody":"Assets (js/css) The following is enabled by default\n minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme\nTo disable it :\ndisableThemeToggle : true Archives Layout Create a page with archive.md Add vars below to its page-variables\nlayout: \"archives\" ex: archives.md\n Home-Info Mode Use 1st entry as some Information\nadd following to config file\nparams: homeInfoParams: Title: Hi there wave Content: Can be Info, links, about... socialIcons: # optional - name: \"\" url: \"\" - name: \"\" url: \"\" ex. here\n Profile Mode Shows Index/Home page as Full Page with Social Links and Image\nadd following to config file\nparams: profileMode: enabled: true title: \"\" # optional default will be site title imageUrl: \"\" # optional imageTitle: \"\" # optional buttons: - name: Archive url: \"/archive\" - name: Github url: \"https://github.com/\" socialIcons: # optional - name: \"\" url: \"\" - name: \"\" url: \"\" Draft Page indication adds [draft] mark to indicate draft pages.\n Post Cover Image In post’s page-variables add :\ncover: image: '' # can also paste direct link from external site # ex. https://i.ibb.co/K0HVPBd/paper-mod-profilemode.png alt: '' caption: '' Share Buttons on post Displays Share Buttons at Bottom of each post\nto show share buttons add\nparams: ShowShareButtons: true Show post reading time Displays Reading Time (the estimated time, in minutes, it takes to read the content.)\nTo show reading time add\nParams: ShowReadingTime: true Show Table of Contents (Toc) on blog post Displays ToC on blog-pages\nTo show ToC add following to page-variables\nShowToc: true To keep Toc Open by default on a post add following to page-variables:\nTocOpen: true Comments to add comments, create a html file\nlayouts/partials/comments.html\nand paste code provided by your comments provider\nalso in config add this\nparams: comments: true read more about this here\n Misc Scroll-Bar themed (by default) Smooth Scroll between in-page links (by default) Scroll-to-Top Button (by default) Displays a Scroll-to-Top button in right-bottom corner\nGoogle Analytics integration Open-Graph support Twitter Cards Support Syntax highlighting Twitter cards and opengraph tags support RSS feeds Multilingual Support ","wordCount":"395","inLanguage":"en","datePublished":"2020-09-16T11:30:03+05:30","dateModified":"2020-09-16T11:30:03+05:30","author":{"@type":"Person","name":"Aditya Telange"},"mainEntityOfPage":{"@type":"WebPage","@id":"https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/"},"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 - Features</h1><div class=post-meta><time>September 16, 2020</time> · 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=#assets-jscss>Assets (js/css)</a></li><li><a href=#default-theme-lightdarkauto>Default Theme light/dark/auto</a></li><li><a href=#theme-switch-toggle-enabled-by-default>Theme Switch Toggle (enabled by default)</a></li><li><a href=#archives-layout>Archives Layout</a></li><li><a href=#home-info-mode>Home-Info Mode</a></li><li><a href=#profile-mode>Profile Mode</a></li><li><a href=#draft-page-indication>Draft Page indication</a></li><li><a href=#post-cover-image>Post Cover Image</a></li><li><a href=#share-buttons-on-post>Share Buttons on post</a></li><li><a href=#show-post-reading-time>Show post reading time</a></li><li><a href=#show-table-of-contents-toc-on-blog-post>Show Table of Contents (Toc) on blog post</a></li><li><a href=#comments>Comments</a></li><li><a href=#misc>Misc</a><ul><li><a href=#scroll-bar-themed-by-default>Scroll-Bar themed (by default)</a></li><li><a href=#smooth-scroll-between-in-page-links-by-default>Smooth Scroll between in-page links (by default)</a></li><li><a href=#scroll-to-top-button-by-default>Scroll-to-Top Button (by default)</a></li><li><a href=#google-analytics-integration>Google Analytics integration</a></li><li><a href=#open-graph-support>Open-Graph support</a></li><li><a href=#twitter-cards-support>Twitter Cards Support</a></li><li><a href=#syntax-highlighting>Syntax highlighting</a></li><li><a href=#twitter-cards-and-opengraph-tags-support>Twitter cards and opengraph tags support</a></li><li><a href=#rss-feeds>RSS feeds</a></li><li><a href=#multilingual-support>Multilingual Support</a></li></ul></li></ul></blockquote></details></div><div class=post-content><h3 id=assets-jscss>Assets (js/css)</h3><p>The following is enabled by default</p><ul><li><a href=https://gohugo.io/hugo-pipes/minification/>minification</a> - makes the assets size smallest as possible.</li><li><a href=https://gohugo.io/hugo-pipes/bundling/>bundling</a> - bundles all the styles in one single asset</li><li><a href=https://gohugo.io/hugo-pipes/fingerprint/>fingerprint/intergity</a> check.</li></ul><hr><h3 id=default-theme-lightdarkauto>Default Theme light/dark/auto</h3><div class=highlight><pre style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-yml data-lang=yml><span style=color:#f92672>params</span>:
|
||||
minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme"><script type=application/ld+json>{"@context":"https://schema.org","@type":"BlogPosting","headline":"Papermod - Features","name":"Papermod - Features","description":"Assets (js/css) The following is enabled by default\n minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset …","keywords":["PaperMod"],"articleBody":"Assets (js/css) The following is enabled by default\n minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme\nTo disable it :\ndisableThemeToggle : true Archives Layout Create a page with archive.md Add vars below to its page-variables\nlayout: \"archives\" ex: archives.md\n Home-Info Mode Use 1st entry as some Information\nadd following to config file\nparams: homeInfoParams: Title: Hi there wave Content: Can be Info, links, about... socialIcons: # optional - name: \"\" url: \"\" - name: \"\" url: \"\" ex. here\n Profile Mode Shows Index/Home page as Full Page with Social Links and Image\nadd following to config file\nparams: profileMode: enabled: true title: \"\" # optional default will be site title imageUrl: \"\" # optional imageTitle: \"\" # optional buttons: - name: Archive url: \"/archive\" - name: Github url: \"https://github.com/\" socialIcons: # optional - name: \"\" url: \"\" - name: \"\" url: \"\" Draft Page indication adds [draft] mark to indicate draft pages.\n Post Cover Image In post’s page-variables add :\ncover: image: '' # can also paste direct link from external site # ex. https://i.ibb.co/K0HVPBd/paper-mod-profilemode.png alt: '' caption: '' When you include images in the Page Bundle, multiple sizes of the image will automatically be provided using the HTML5 srcset field.\nTo reduce generation time and size of the site, you can disable this feature using\nparams: cover: responsiveImages: false To enable hyperlinks to the full image size on post pages, use\nparams: cover: linkFullImages: true Share Buttons on post Displays Share Buttons at Bottom of each post\nto show share buttons add\nparams: ShowShareButtons: true Show post reading time Displays Reading Time (the estimated time, in minutes, it takes to read the content.)\nTo show reading time add\nParams: ShowReadingTime: true Show Table of Contents (Toc) on blog post Displays ToC on blog-pages\nTo show ToC add following to page-variables\nShowToc: true To keep Toc Open by default on a post add following to page-variables:\nTocOpen: true Comments to add comments, create a html file\nlayouts/partials/comments.html\nand paste code provided by your comments provider\nalso in config add this\nparams: comments: true read more about this here\n Misc Scroll-Bar themed (by default) Smooth Scroll between in-page links (by default) Scroll-to-Top Button (by default) Displays a Scroll-to-Top button in right-bottom corner\nGoogle Analytics integration Open-Graph support Twitter Cards Support Syntax highlighting Twitter cards and opengraph tags support RSS feeds Multilingual Support ","wordCount":"452","inLanguage":"en","datePublished":"2020-09-16T11:30:03+05:30","dateModified":"2020-09-16T11:30:03+05:30","author":{"@type":"Person","name":"Aditya Telange"},"mainEntityOfPage":{"@type":"WebPage","@id":"https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/"},"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 - Features</h1><div class=post-meta><time>September 16, 2020</time> · 3 min · Aditya Telange</div></header><div class=toc><details open><summary><div class=details>Table of Contents</div></summary><blockquote><ul><li><a href=#assets-jscss>Assets (js/css)</a></li><li><a href=#default-theme-lightdarkauto>Default Theme light/dark/auto</a></li><li><a href=#theme-switch-toggle-enabled-by-default>Theme Switch Toggle (enabled by default)</a></li><li><a href=#archives-layout>Archives Layout</a></li><li><a href=#home-info-mode>Home-Info Mode</a></li><li><a href=#profile-mode>Profile Mode</a></li><li><a href=#draft-page-indication>Draft Page indication</a></li><li><a href=#post-cover-image>Post Cover Image</a></li><li><a href=#share-buttons-on-post>Share Buttons on post</a></li><li><a href=#show-post-reading-time>Show post reading time</a></li><li><a href=#show-table-of-contents-toc-on-blog-post>Show Table of Contents (Toc) on blog post</a></li><li><a href=#comments>Comments</a></li><li><a href=#misc>Misc</a><ul><li><a href=#scroll-bar-themed-by-default>Scroll-Bar themed (by default)</a></li><li><a href=#smooth-scroll-between-in-page-links-by-default>Smooth Scroll between in-page links (by default)</a></li><li><a href=#scroll-to-top-button-by-default>Scroll-to-Top Button (by default)</a></li><li><a href=#google-analytics-integration>Google Analytics integration</a></li><li><a href=#open-graph-support>Open-Graph support</a></li><li><a href=#twitter-cards-support>Twitter Cards Support</a></li><li><a href=#syntax-highlighting>Syntax highlighting</a></li><li><a href=#twitter-cards-and-opengraph-tags-support>Twitter cards and opengraph tags support</a></li><li><a href=#rss-feeds>RSS feeds</a></li><li><a href=#multilingual-support>Multilingual Support</a></li></ul></li></ul></blockquote></details></div><div class=post-content><h3 id=assets-jscss>Assets (js/css)</h3><p>The following is enabled by default</p><ul><li><a href=https://gohugo.io/hugo-pipes/minification/>minification</a> - makes the assets size smallest as possible.</li><li><a href=https://gohugo.io/hugo-pipes/bundling/>bundling</a> - bundles all the styles in one single asset</li><li><a href=https://gohugo.io/hugo-pipes/fingerprint/>fingerprint/intergity</a> check.</li></ul><hr><h3 id=default-theme-lightdarkauto>Default Theme light/dark/auto</h3><div class=highlight><pre style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-yml data-lang=yml><span style=color:#f92672>params</span>:
|
||||
<span style=color:#75715e># defaultTheme: light</span>
|
||||
<span style=color:#75715e># defaultTheme: dark</span>
|
||||
<span style=color:#f92672>defaultTheme</span>: <span style=color:#ae81ff>auto</span> <span style=color:#75715e># to switch between dark or light according to browser theme</span>
|
||||
@ -42,6 +42,12 @@ Add vars below to its page-variables</p><div class=highlight><pre style=color:#f
|
||||
<span style=color:#75715e># ex. https://i.ibb.co/K0HVPBd/paper-mod-profilemode.png</span>
|
||||
<span style=color:#f92672>alt</span>: <span style=color:#e6db74>'<alt text>'</span>
|
||||
<span style=color:#f92672>caption</span>: <span style=color:#e6db74>'<text>'</span>
|
||||
</code></pre></div><p>When you include images in the <a href=https://gohugo.io/content-management/page-bundles/>Page Bundle</a>, multiple sizes of the image will automatically be provided using the HTML5 <code>srcset</code> field.</p><p>To reduce generation time and size of the site, you can disable this feature using</p><div class=highlight><pre style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-yml data-lang=yml><span style=color:#f92672>params</span>:
|
||||
<span style=color:#f92672>cover</span>:
|
||||
<span style=color:#f92672>responsiveImages</span>: <span style=color:#66d9ef>false</span>
|
||||
</code></pre></div><p>To enable hyperlinks to the full image size on post pages, use</p><div class=highlight><pre style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-yml data-lang=yml><span style=color:#f92672>params</span>:
|
||||
<span style=color:#f92672>cover</span>:
|
||||
<span style=color:#f92672>linkFullImages</span>: <span style=color:#66d9ef>true</span>
|
||||
</code></pre></div><hr><h3 id=share-buttons-on-post>Share Buttons on post</h3><p>Displays Share Buttons at Bottom of each post</p><p>to show share buttons add</p><div class=highlight><pre style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-yml data-lang=yml><span style=color:#f92672>params</span>:
|
||||
<span style=color:#f92672>ShowShareButtons</span>: <span style=color:#66d9ef>true</span>
|
||||
</code></pre></div><hr><h3 id=show-post-reading-time>Show post reading time</h3><p>Displays Reading Time (the estimated time, in minutes, it takes to read the content.)</p><p>To show reading time add</p><div class=highlight><pre style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-yml data-lang=yml><span style=color:#f92672>Params</span>:
|
||||
|
File diff suppressed because one or more lines are too long
@ -5,9 +5,9 @@ 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 :...</p></section><footer class=entry-footer><time>September 15, 2020</time> · 2 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Installation" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-installation/></a></article><article class="post-entry tag-entry"><header class=entry-header><h2>Papermod - Features</h2></header><section class=entry-content><p>Assets (js/css) The following is enabled by default
|
||||
minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme...</p></section><footer class=entry-footer><time>September 16, 2020</time> · 2 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Features" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/></a></article><article class="post-entry tag-entry"><header class=entry-header><h2>Papermod - Icons</h2></header><section class=entry-content><p>Social Icons Usage :
|
||||
minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme...</p></section><footer class=entry-footer><time>September 16, 2020</time> · 3 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Features" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/></a></article><article class="post-entry tag-entry"><header class=entry-header><h2>Papermod - Icons</h2></header><section class=entry-content><p>Social Icons Usage :
|
||||
socialIcons: # optional - name: "<NAME>" url: "<link>" - name: "<NAME>" url: "<link2>" No. name platform link 1 123rf 123rf.com 2 adobestock stock.adobe.com 3 behance behance.net 4 codepen codepen.io 5 cryptohack cryptohack.org 6 dev dev.to 7 discogs discogs.com 8 dreamstime dreamstime.com 9 dribbble dribbble....</p></section><footer class=entry-footer><time>September 17, 2020</time> · 1 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Icons" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-icons/></a></article><article class="post-entry tag-entry"><header class=entry-header><h2>Papermod - Variables<div class=entry-isdraft><sup> [draft]</sup></div></h2></header><section class=entry-content><p>Variables in PaperMod Below are variables used with this theme…
|
||||
Site Variables name type example ShowReadingTime boolean true | false defaultTheme string light | dark | auto ShowShareButtons boolean true | false Page Variables name type example showtoc boolean true | false tocopen boolean true | false hidemeta boolean true | false ...</p></section><footer class=entry-footer><time>September 24, 2020</time> · 1 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Variables" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/></a></article><article class="post-entry tag-entry"><header class=entry-header><h2>Papermod - How To's Guide<div class=entry-isdraft><sup> [draft]</sup></div></h2></header><section class=entry-content><p>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.
|
||||
Site Variables name type example ShowReadingTime boolean true | false defaultTheme string light | dark | auto ShowShareButtons boolean true | false cover.linkFullImages boolean true | false cover.responsiveImages boolean true | false Page Variables name type example showtoc boolean true | false tocopen boolean true | false hidemeta boolean true | false cover....</p></section><footer class=entry-footer><time>September 24, 2020</time> · 1 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - Variables" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/></a></article><article class="post-entry tag-entry"><header class=entry-header><h2>Papermod - How To's Guide<div class=entry-isdraft><sup> [draft]</sup></div></h2></header><section class=entry-content><p>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.
|
||||
Override theme template By Hugo’s Lookup Order, you can override any part of a theme that you want. The following is a quick example.
|
||||
Let’s say you wish the list was different. All you have to do is copy the list template:
|
||||
your-site/themes/papermod/layouts/_defaults/list.html And paste it under your own layouts folder:...</p></section><footer class=entry-footer><time>September 18, 2020</time> · 1 min · Aditya Telange</footer><a class=entry-link aria-label="post link to Papermod - How To's Guide" href=https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/></a></article></main><footer class=footer><span>© 2020 <a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></span>
|
||||
|
@ -6,7 +6,7 @@ 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 :</description></item><item><title>Papermod - Features</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/</link><pubDate>Wed, 16 Sep 2020 11:30:03 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/</guid><description>Assets (js/css) The following is enabled by default
|
||||
minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme</description></item><item><title>Papermod - Icons</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-icons/</link><pubDate>Thu, 17 Sep 2020 11:30:03 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-icons/</guid><description>Social Icons Usage :
|
||||
socialIcons: # optional - name: &quot;&lt;NAME&gt;&quot; url: &quot;&lt;link&gt;&quot; - name: &quot;&lt;NAME&gt;&quot; url: &quot;&lt;link2&gt;&quot; No. name platform link 1 123rf 123rf.com 2 adobestock stock.adobe.com 3 behance behance.net 4 codepen codepen.io 5 cryptohack cryptohack.org 6 dev dev.to 7 discogs discogs.com 8 dreamstime dreamstime.com 9 dribbble dribbble.</description></item><item><title>Papermod - Variables</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/</link><pubDate>Thu, 24 Sep 2020 11:33:33 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/</guid><description>Variables in PaperMod Below are variables used with this theme&hellip;
|
||||
Site Variables name type example ShowReadingTime boolean true | false defaultTheme string light | dark | auto ShowShareButtons boolean true | false Page Variables name type example showtoc boolean true | false tocopen boolean true | false hidemeta boolean true | false</description></item><item><title>Papermod - How To's Guide</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/</link><pubDate>Fri, 18 Sep 2020 11:30:03 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/</guid><description>Intro We&rsquo;ll be using yml/yaml format for all examples down below, I recommend using yml over toml as it is easier to read.
|
||||
Site Variables name type example ShowReadingTime boolean true | false defaultTheme string light | dark | auto ShowShareButtons boolean true | false cover.linkFullImages boolean true | false cover.responsiveImages boolean true | false Page Variables name type example showtoc boolean true | false tocopen boolean true | false hidemeta boolean true | false cover.</description></item><item><title>Papermod - How To's Guide</title><link>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/</link><pubDate>Fri, 18 Sep 2020 11:30:03 +0530</pubDate><guid>https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-how-to/</guid><description>Intro We&rsquo;ll be using yml/yaml format for all examples down below, I recommend using yml over toml as it is easier to read.
|
||||
Override theme template By Hugo&rsquo;s Lookup Order, you can override any part of a theme that you want. The following is a quick example.
|
||||
Let&rsquo;s say you wish the list was different. All you have to do is copy the list template:
|
||||
your-site/themes/papermod/layouts/_defaults/list.html And paste it under your own layouts folder:</description></item></channel></rss>
|
Loading…
Reference in New Issue
Block a user