mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2025-09-02 10:08:35 +02:00
deploy: 9c5abbe7fa
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user