mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-23 11:01:37 +01:00
15 lines
3.9 KiB
HTML
15 lines
3.9 KiB
HTML
<!doctype html><html lang=en><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 - PaperMod</title><meta name=description content="PaperMod - PaperMod"><meta name=author content="Theme PaperMod"><link rel=canonical href=https://adityatelange.github.io/hugo-PaperMod/series/papermod/><link href=https://adityatelange.github.io/hugo-PaperMod/css/stylesheet.min.f98925ef066c41ff7e0ca08284b73c7b5a81c2e80dd4ed72c9001acd8124209c.css integrity="sha256-+Ykl7wZsQf9+DKCChLc8e1qBwugN1O1yyQAazYEkIJw=" 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.75.1"><link rel=alternate type=application/rss+xml href=https://adityatelange.github.io/hugo-PaperMod/series/papermod/index.xml title=PaperMod></head><body class=list id=top><script>if(window.matchMedia('(prefers-color-scheme: dark)').matches){document.body.classList.add('dark');}</script><header class=header><nav class=nav><p class=logo><a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></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><li><a href=https://adityatelange.github.io/hugo-PaperMod/series/><span>Series</span></a></li></ul></nav></header><main class=main><header class=page-header><h1>PaperMod</h1></header><article class=post-entry><header class=entry-header><h2>Papermod - Installation</h2></header><section class=entry-content><p>Follow this guide to setup hugo and create a new site. Make sure you install latest version of hugo(>=0.57.1).
|
||
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 Updating theme with submodule :...</p></section><footer class=entry-footer><time>September 15, 2020</time>
|
||
.
|
||
1min read
|
||
. 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></main><footer class=footer><span>© 2020 <a href=https://adityatelange.github.io/hugo-PaperMod/>PaperMod</a></span>
|
||
<span>·</span>
|
||
<span>Powered by <a href=https://gohugo.io/ rel="noopener noreferrer" target=_blank>Hugo️️</a>️</span>
|
||
<span>·</span>
|
||
<span>Theme️ <a href=https://git.io/hugopapermod rel=noopener target=_blank>PaperMod</a></span></footer><a href=#top aria-label="go to top" title="Go to Top"><button class=top-link id=top-link type=button><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6"><path d="M12 6H0l6-6z"/></svg></button></a>
|
||
<script>window.onload=function(){if(localStorage.getItem("menu-scroll-position")){document.getElementById('menu').scrollLeft=localStorage.getItem("menu-scroll-position");}}
|
||
document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);}</script></body></html> |