mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-07-17 12:52:28 +00:00
deploy: 18033af24e
This commit is contained in:
parent
3f2c743076
commit
672bf4e5bd
1096 changed files with 18848 additions and 18824 deletions
introduction/quickstart
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
||||
<meta name="generator" content="Hugo 0.140.2">
|
||||
<meta name="generator" content="Relearn 7.2.1+83e70121667de9d9b7e2d004fc3792714b48fb40">
|
||||
<meta name="generator" content="Relearn 7.2.1+9e7bad03422d628c4e8739263105371f79efea40">
|
||||
<meta name="description" content="Initialize your website in a few simple steps">
|
||||
<meta name="author" content="Sören Weber">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
|
@ -20,7 +20,7 @@
|
|||
<meta property="og:image" content="https://mcshelby.github.io/hugo-theme-relearn/images/hero.png">
|
||||
<meta itemprop="name" content="Getting Started :: Hugo Relearn Theme">
|
||||
<meta itemprop="description" content="Initialize your website in a few simple steps">
|
||||
<meta itemprop="wordCount" content="509">
|
||||
<meta itemprop="wordCount" content="505">
|
||||
<meta itemprop="image" content="https://mcshelby.github.io/hugo-theme-relearn/images/hero.png">
|
||||
<meta itemprop="keywords" content="Tutorial">
|
||||
<title>Getting Started :: Hugo Relearn Theme</title>
|
||||
|
@ -29,12 +29,12 @@
|
|||
<link href="https://mcshelby.github.io/hugo-theme-relearn/pir/introduction/quickstart/index.html" rel="alternate" hreflang="art-x-pir">
|
||||
<link href="/hugo-theme-relearn/introduction/quickstart/index.xml" rel="alternate" type="application/rss+xml" title="Getting Started :: Hugo Relearn Theme">
|
||||
<link href="/hugo-theme-relearn/introduction/quickstart/index.print.html" rel="alternate" type="text/html" title="Getting Started :: Hugo Relearn Theme">
|
||||
<link href="/hugo-theme-relearn/images/logo.svg?1735844269" rel="icon" type="image/svg+xml">
|
||||
<link href="/hugo-theme-relearn/css/fontawesome-all.min.css?1735844269" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="/hugo-theme-relearn/css/fontawesome-all.min.css?1735844269" rel="stylesheet"></noscript>
|
||||
<link href="/hugo-theme-relearn/css/auto-complete.css?1735844269" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="/hugo-theme-relearn/css/auto-complete.css?1735844269" rel="stylesheet"></noscript>
|
||||
<link href="/hugo-theme-relearn/css/perfect-scrollbar.min.css?1735844269" rel="stylesheet">
|
||||
<link href="/hugo-theme-relearn/css/theme.min.css?1735844269" rel="stylesheet">
|
||||
<link href="/hugo-theme-relearn/css/format-html.min.css?1735844269" rel="stylesheet" id="R-format-style">
|
||||
<link href="/hugo-theme-relearn/images/logo.svg?1735844800" rel="icon" type="image/svg+xml">
|
||||
<link href="/hugo-theme-relearn/css/fontawesome-all.min.css?1735844800" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="/hugo-theme-relearn/css/fontawesome-all.min.css?1735844800" rel="stylesheet"></noscript>
|
||||
<link href="/hugo-theme-relearn/css/auto-complete.css?1735844800" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="/hugo-theme-relearn/css/auto-complete.css?1735844800" rel="stylesheet"></noscript>
|
||||
<link href="/hugo-theme-relearn/css/perfect-scrollbar.min.css?1735844800" rel="stylesheet">
|
||||
<link href="/hugo-theme-relearn/css/theme.min.css?1735844800" rel="stylesheet">
|
||||
<link href="/hugo-theme-relearn/css/format-html.min.css?1735844800" rel="stylesheet" id="R-format-style">
|
||||
<script>
|
||||
window.relearn = window.relearn || {};
|
||||
window.relearn.relBasePath='..\/..';
|
||||
|
@ -82,7 +82,7 @@
|
|||
window.T_No_results_found = `No results found for "{0}"`;
|
||||
window.T_N_results_found = `{1} results found for "{0}"`;
|
||||
</script>
|
||||
<script src="/hugo-theme-relearn/js/variant.js?1735844269"></script>
|
||||
<script src="/hugo-theme-relearn/js/variant.js?1735844800"></script>
|
||||
<style>
|
||||
#R-body img.bg-white {
|
||||
background-color: white;
|
||||
|
@ -112,11 +112,15 @@
|
|||
<li><a href="#use-as-a-git-submodule">Use as a Git Submodule</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#create-your-home-page">Create your Home Page</a></li>
|
||||
<li><a href="#create-your-first-chapter-page">Create your First Chapter Page</a></li>
|
||||
<li><a href="#create-your-first-content-pages">Create your First Content Pages</a></li>
|
||||
<li><a href="#test-your-website-locally">Test your Website Locally</a></li>
|
||||
<li><a href="#build-and-deploy-your-website">Build and Deploy your Website</a></li>
|
||||
<li><a href="#create-content">Create Content</a>
|
||||
<ul>
|
||||
<li><a href="#your-home-page">Your Home Page</a></li>
|
||||
<li><a href="#your-first-chapter-page">Your First Chapter Page</a></li>
|
||||
<li><a href="#your-first-content-pages">Your First Content Pages</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#test-your-website">Test your Website</a></li>
|
||||
<li><a href="#build-and-deploy">Build and Deploy</a></li>
|
||||
<li><a href="#next-steps">Next Steps</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
@ -344,23 +348,24 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h2 id="create-your-home-page">Create your Home Page</h2>
|
||||
<h2 id="create-content">Create Content</h2>
|
||||
<h3 id="your-home-page">Your Home Page</h3>
|
||||
<p>Start by making a home page</p>
|
||||
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind home _index.md</span></span></code></pre></div>
|
||||
<p>The new home page file <code>content/_index.md</code> has two parts: the page info (like <code>title</code>) at the top, called <a href="https://gohugo.io/content-management/front-matter/" rel="external" target="_self">front matter</a>, and the page content below.</p>
|
||||
<h2 id="create-your-first-chapter-page">Create your First Chapter Page</h2>
|
||||
<h3 id="your-first-chapter-page">Your First Chapter Page</h3>
|
||||
<p>Chapters are top-level pages that contain other pages. They have a special layout.</p>
|
||||
<p>Make your first chapter page</p>
|
||||
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind chapter first-chapter/_index.md</span></span></code></pre></div>
|
||||
<p>The new file <code>content/first-chapter/_index.md</code> has a <code>weight</code> number in the front matter. This sets the chapter’s subtitle and its order in the menu.</p>
|
||||
<h2 id="create-your-first-content-pages">Create your First Content Pages</h2>
|
||||
<h3 id="your-first-content-pages">Your First Content Pages</h3>
|
||||
<p>Now make content pages inside the chapter. Here are three ways to do this</p>
|
||||
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new first-chapter/first-page/_index.md
|
||||
</span></span><span class="line"><span class="cl">hugo new first-chapter/second-page/index.md
|
||||
</span></span><span class="line"><span class="cl">hugo new first-chapter/third-page.md</span></span></code></pre></div>
|
||||
<p>Hugo treats these files differently based on their file names. Learn more in <a href="https://gohugo.io/content-management/" rel="external" target="_self">Hugo’s guide</a>.</p>
|
||||
<p>Feel free to edit these files. Change the <code>title</code>, add a <code>weight</code> if you want, and write your content.</p>
|
||||
<h2 id="test-your-website-locally">Test your Website Locally</h2>
|
||||
<h2 id="test-your-website">Test your Website</h2>
|
||||
<p>Start your new website on your computer with this command</p>
|
||||
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo serve</span></span></code></pre></div>
|
||||
<p>Open <a href="http://localhost:1313" rel="external" target="_self">http://localhost:1313</a> in your web browser.</p>
|
||||
|
@ -370,7 +375,7 @@
|
|||
<p>It’s a kind of magic</p>
|
||||
</figcaption>
|
||||
</figure>
|
||||
<h2 id="build-and-deploy-your-website">Build and Deploy your Website</h2>
|
||||
<h2 id="build-and-deploy">Build and Deploy</h2>
|
||||
<p>When your site is ready to go live, run this command</p>
|
||||
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo</span></span></code></pre></div>
|
||||
<p>This creates a <code>public</code> directory with all your website files.</p>
|
||||
|
@ -437,7 +442,7 @@
|
|||
</a>
|
||||
</div>
|
||||
<script>
|
||||
window.index_js_url="/hugo-theme-relearn/searchindex.en.js?1735844269";
|
||||
window.index_js_url="/hugo-theme-relearn/searchindex.en.js?1735844800";
|
||||
</script>
|
||||
<search><form action="/hugo-theme-relearn/search/index.html" method="get">
|
||||
<div class="searchbox default-animation">
|
||||
|
@ -450,12 +455,12 @@
|
|||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="/hugo-theme-relearn/js/auto-complete.js?1735844269" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/lunr/lunr.min.js?1735844269" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/lunr/lunr.stemmer.support.min.js?1735844269" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/lunr/lunr.multi.min.js?1735844269" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/lunr/lunr.en.min.js?1735844269" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/search.js?1735844269" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/auto-complete.js?1735844800" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/lunr/lunr.min.js?1735844800" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/lunr/lunr.stemmer.support.min.js?1735844800" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/lunr/lunr.multi.min.js?1735844800" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/lunr/lunr.en.min.js?1735844800" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/search.js?1735844800" defer></script>
|
||||
</div>
|
||||
<div id="R-homelinks" class="default-animation">
|
||||
<hr class="padding">
|
||||
|
@ -657,13 +662,13 @@
|
|||
setTimeout( githubButtonsInit, 400 );
|
||||
});
|
||||
</script>
|
||||
<script async src="/hugo-theme-relearn/js/github-buttons.js?1735844269"></script>
|
||||
<script async src="/hugo-theme-relearn/js/github-buttons.js?1735844800"></script>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="/hugo-theme-relearn/js/clipboard.min.js?1735844269" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/perfect-scrollbar.min.js?1735844269" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/theme.js?1735844269" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/clipboard.min.js?1735844800" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/perfect-scrollbar.min.js?1735844800" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/theme.js?1735844800" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
||||
<meta name="generator" content="Hugo 0.140.2">
|
||||
<meta name="generator" content="Relearn 7.2.1+83e70121667de9d9b7e2d004fc3792714b48fb40">
|
||||
<meta name="generator" content="Relearn 7.2.1+9e7bad03422d628c4e8739263105371f79efea40">
|
||||
<meta name="description" content="Initialize your website in a few simple steps">
|
||||
<meta name="author" content="Sören Weber">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
|
@ -20,7 +20,7 @@
|
|||
<meta property="og:image" content="https://mcshelby.github.io/hugo-theme-relearn/images/hero.png">
|
||||
<meta itemprop="name" content="Getting Started :: Hugo Relearn Theme">
|
||||
<meta itemprop="description" content="Initialize your website in a few simple steps">
|
||||
<meta itemprop="wordCount" content="509">
|
||||
<meta itemprop="wordCount" content="505">
|
||||
<meta itemprop="image" content="https://mcshelby.github.io/hugo-theme-relearn/images/hero.png">
|
||||
<meta itemprop="keywords" content="Tutorial">
|
||||
<title>Getting Started :: Hugo Relearn Theme</title>
|
||||
|
@ -29,12 +29,12 @@
|
|||
<link href="https://mcshelby.github.io/hugo-theme-relearn/pir/introduction/quickstart/index.html" rel="alternate" hreflang="art-x-pir">
|
||||
<link href="https://mcshelby.github.io/hugo-theme-relearn/introduction/quickstart/index.html" rel="canonical" type="text/html" title="Getting Started :: Hugo Relearn Theme">
|
||||
<link href="/hugo-theme-relearn/introduction/quickstart/index.xml" rel="alternate" type="application/rss+xml" title="Getting Started :: Hugo Relearn Theme">
|
||||
<link href="/hugo-theme-relearn/images/logo.svg?1735844269" rel="icon" type="image/svg+xml">
|
||||
<link href="/hugo-theme-relearn/css/fontawesome-all.min.css?1735844269" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="/hugo-theme-relearn/css/fontawesome-all.min.css?1735844269" rel="stylesheet"></noscript>
|
||||
<link href="/hugo-theme-relearn/css/auto-complete.css?1735844269" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="/hugo-theme-relearn/css/auto-complete.css?1735844269" rel="stylesheet"></noscript>
|
||||
<link href="/hugo-theme-relearn/css/perfect-scrollbar.min.css?1735844269" rel="stylesheet">
|
||||
<link href="/hugo-theme-relearn/css/theme.min.css?1735844269" rel="stylesheet">
|
||||
<link href="/hugo-theme-relearn/css/format-print.min.css?1735844269" rel="stylesheet" id="R-format-style">
|
||||
<link href="/hugo-theme-relearn/images/logo.svg?1735844800" rel="icon" type="image/svg+xml">
|
||||
<link href="/hugo-theme-relearn/css/fontawesome-all.min.css?1735844800" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="/hugo-theme-relearn/css/fontawesome-all.min.css?1735844800" rel="stylesheet"></noscript>
|
||||
<link href="/hugo-theme-relearn/css/auto-complete.css?1735844800" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="/hugo-theme-relearn/css/auto-complete.css?1735844800" rel="stylesheet"></noscript>
|
||||
<link href="/hugo-theme-relearn/css/perfect-scrollbar.min.css?1735844800" rel="stylesheet">
|
||||
<link href="/hugo-theme-relearn/css/theme.min.css?1735844800" rel="stylesheet">
|
||||
<link href="/hugo-theme-relearn/css/format-print.min.css?1735844800" rel="stylesheet" id="R-format-style">
|
||||
<script>
|
||||
window.relearn = window.relearn || {};
|
||||
window.relearn.relBasePath='..\/..';
|
||||
|
@ -82,7 +82,7 @@
|
|||
window.T_No_results_found = `No results found for "{0}"`;
|
||||
window.T_N_results_found = `{1} results found for "{0}"`;
|
||||
</script>
|
||||
<script src="/hugo-theme-relearn/js/variant.js?1735844269"></script>
|
||||
<script src="/hugo-theme-relearn/js/variant.js?1735844800"></script>
|
||||
<style>
|
||||
#R-body img.bg-white {
|
||||
background-color: white;
|
||||
|
@ -112,11 +112,15 @@
|
|||
<li><a href="#use-as-a-git-submodule">Use as a Git Submodule</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#create-your-home-page">Create your Home Page</a></li>
|
||||
<li><a href="#create-your-first-chapter-page">Create your First Chapter Page</a></li>
|
||||
<li><a href="#create-your-first-content-pages">Create your First Content Pages</a></li>
|
||||
<li><a href="#test-your-website-locally">Test your Website Locally</a></li>
|
||||
<li><a href="#build-and-deploy-your-website">Build and Deploy your Website</a></li>
|
||||
<li><a href="#create-content">Create Content</a>
|
||||
<ul>
|
||||
<li><a href="#your-home-page">Your Home Page</a></li>
|
||||
<li><a href="#your-first-chapter-page">Your First Chapter Page</a></li>
|
||||
<li><a href="#your-first-content-pages">Your First Content Pages</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#test-your-website">Test your Website</a></li>
|
||||
<li><a href="#build-and-deploy">Build and Deploy</a></li>
|
||||
<li><a href="#next-steps">Next Steps</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
@ -344,23 +348,24 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h2 id="create-your-home-page">Create your Home Page</h2>
|
||||
<h2 id="create-content">Create Content</h2>
|
||||
<h3 id="your-home-page">Your Home Page</h3>
|
||||
<p>Start by making a home page</p>
|
||||
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind home _index.md</span></span></code></pre></div>
|
||||
<p>The new home page file <code>content/_index.md</code> has two parts: the page info (like <code>title</code>) at the top, called <a href="https://gohugo.io/content-management/front-matter/" rel="external" target="_self">front matter</a>, and the page content below.</p>
|
||||
<h2 id="create-your-first-chapter-page">Create your First Chapter Page</h2>
|
||||
<h3 id="your-first-chapter-page">Your First Chapter Page</h3>
|
||||
<p>Chapters are top-level pages that contain other pages. They have a special layout.</p>
|
||||
<p>Make your first chapter page</p>
|
||||
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind chapter first-chapter/_index.md</span></span></code></pre></div>
|
||||
<p>The new file <code>content/first-chapter/_index.md</code> has a <code>weight</code> number in the front matter. This sets the chapter’s subtitle and its order in the menu.</p>
|
||||
<h2 id="create-your-first-content-pages">Create your First Content Pages</h2>
|
||||
<h3 id="your-first-content-pages">Your First Content Pages</h3>
|
||||
<p>Now make content pages inside the chapter. Here are three ways to do this</p>
|
||||
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new first-chapter/first-page/_index.md
|
||||
</span></span><span class="line"><span class="cl">hugo new first-chapter/second-page/index.md
|
||||
</span></span><span class="line"><span class="cl">hugo new first-chapter/third-page.md</span></span></code></pre></div>
|
||||
<p>Hugo treats these files differently based on their file names. Learn more in <a href="https://gohugo.io/content-management/" rel="external" target="_self">Hugo’s guide</a>.</p>
|
||||
<p>Feel free to edit these files. Change the <code>title</code>, add a <code>weight</code> if you want, and write your content.</p>
|
||||
<h2 id="test-your-website-locally">Test your Website Locally</h2>
|
||||
<h2 id="test-your-website">Test your Website</h2>
|
||||
<p>Start your new website on your computer with this command</p>
|
||||
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo serve</span></span></code></pre></div>
|
||||
<p>Open <a href="http://localhost:1313" rel="external" target="_self">http://localhost:1313</a> in your web browser.</p>
|
||||
|
@ -370,7 +375,7 @@
|
|||
<p>It’s a kind of magic</p>
|
||||
</figcaption>
|
||||
</figure>
|
||||
<h2 id="build-and-deploy-your-website">Build and Deploy your Website</h2>
|
||||
<h2 id="build-and-deploy">Build and Deploy</h2>
|
||||
<p>When your site is ready to go live, run this command</p>
|
||||
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo</span></span></code></pre></div>
|
||||
<p>This creates a <code>public</code> directory with all your website files.</p>
|
||||
|
@ -392,8 +397,8 @@
|
|||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="/hugo-theme-relearn/js/clipboard.min.js?1735844269" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/perfect-scrollbar.min.js?1735844269" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/theme.js?1735844269" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/clipboard.min.js?1735844800" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/perfect-scrollbar.min.js?1735844800" defer></script>
|
||||
<script src="/hugo-theme-relearn/js/theme.js?1735844800" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue