This commit is contained in:
adityatelange
2020-10-19 13:11:40 +00:00
parent 011d9f7677
commit 537b2fee12
14 changed files with 68 additions and 21 deletions

View File

@ -7,7 +7,10 @@ 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>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;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>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;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: "&lt;NAME>" url: "&lt;link>" - name: "&lt;NAME>" url: "&lt;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>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;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>&nbsp;&nbsp;[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>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;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></main><footer class=footer><span>&copy; 2020 <a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></span>
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>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;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>&nbsp;&nbsp;[draft]</sup></div></h2></header><section class=entry-content><p>Intro Well 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 Hugos Lookup Order, you can override any part of a theme that you want. The following is a quick example.
Lets 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>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;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>&copy; 2020 <a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></span>
<span>&#183;</span>
<span>Powered by <a href=https://gohugo.io/ rel="noopener noreferrer" target=_blank>Hugo</a></span>
<span>&#183;</span>

View File

@ -6,4 +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: &amp;quot;&amp;lt;NAME&amp;gt;&amp;quot; url: &amp;quot;&amp;lt;link&amp;gt;&amp;quot; - name: &amp;quot;&amp;lt;NAME&amp;gt;&amp;quot; url: &amp;quot;&amp;lt;link2&amp;gt;&amp;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&amp;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></channel></rss>
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&amp;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&amp;rsquo;s Lookup Order, you can override any part of a theme that you want. The following is a quick example.
Let&amp;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>

File diff suppressed because one or more lines are too long