diff --git a/en/about-hugo/index.html b/en/about-hugo/index.html index 18826be..b907fac 100644 --- a/en/about-hugo/index.html +++ b/en/about-hugo/index.html @@ -1,4 +1,4 @@ -Hermit - V2 +Hermit - V2

Hermit - V2

Continuing Hermit's legacy to be minimal and fast theme

\ No newline at end of file diff --git a/en/index.xml b/en/index.xml index cc6d280..e305146 100644 --- a/en/index.xml +++ b/en/index.xml @@ -1,26 +1,94 @@ -Hermit - V2https://1bl4z3r.github.io/hermit-V2/en/Recent content on Hermit - V2HugoenSun, 22 Oct 2023 20:06:06 +0530Explaining Configshttps://1bl4z3r.github.io/hermit-V2/en/posts/explaining-configs/Sun, 22 Oct 2023 20:06:06 +0530https://1bl4z3r.github.io/hermit-V2/en/posts/explaining-configs/Configuation in hugo.toml hugo.toml represents Global configuration for Hermit - V2. It is indicative on the changes to make the theme tailored to your personal preferences. -baseURL : The absolute URL (protocol, host, path, and trailing slash) of your published site. -languageCode : A language tag as defined by RFC 5646. This value is used to populate: -The element in the internal RSS template The lang attribute of the element in the internal alias template title - Title of the SiteAdmonition Shortcodehttps://1bl4z3r.github.io/hermit-V2/en/posts/admonition-shortcode/Fri, 20 Oct 2023 20:06:06 +0530https://1bl4z3r.github.io/hermit-V2/en/posts/admonition-shortcode/The admonition shortcode supports 8 types of banners to help you put a notice on your page. -Markdown or HTML format in the content is supported. -This is a note A note banner This is an info A info banner Tip A tip banner Success A success banner Warning A warning banner Failure A failure banner Danger A danger banner Bug A bug banner The admonition shortcode has the following named parameters:About Michael Hendersonhttps://1bl4z3r.github.io/hermit-V2/en/michael-henderson/Sat, 23 Sep 2023 00:00:00 +0000https://1bl4z3r.github.io/hermit-V2/en/michael-henderson/Hi there, my name is Michael Henderson. I&rsquo;m a passionate photographer and programmer with a love for adventure and the great outdoors. When I&rsquo;m not coding or snapping photos, you can find me cruising around town on my bike, exploring new trails and enjoying the fresh air. I&rsquo;m always looking for opportunities to combine my interests and capture beautiful moments through my camera lens. Nice to meet you! -This is an example which shows incase of more than one authorLong Articlehttps://1bl4z3r.github.io/hermit-V2/en/posts/long-article/Fri, 22 Sep 2023 22:00:01 +0530https://1bl4z3r.github.io/hermit-V2/en/posts/long-article/Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ac tortor vitae purus faucibus. Pretium quam vulputate dignissim suspendisse in est ante in nibh. Ipsum dolor sit amet consectetur. Proin sagittis nisl rhoncus mattis rhoncus urna neque. Fermentum odio eu feugiat pretium nibh ipsum consequat nisl. Vel pharetra vel turpis nunc eget lorem dolor sed. Nulla aliquet porttitor lacus luctus. Consequat nisl vel pretium lectus quam id leo in vitae.MathJax Support Demohttps://1bl4z3r.github.io/hermit-V2/en/posts/mathjax-support/Fri, 18 Aug 2023 14:07:33 +0530https://1bl4z3r.github.io/hermit-V2/en/posts/mathjax-support/\(LaTeX\) support for hermit-V2 Configuration Put the following in hugo.toml -1 2 3 4 5 6 7 8 [markup] [markup.goldmark] [markup.goldmark.extensions] [markup.goldmark.extensions.passthrough] enable = true [markup.goldmark.extensions.passthrough.delimiters] block = [[&#39;\[&#39;, &#39;\]&#39;], [&#39;$$&#39;, &#39;$$&#39;]] inline = [[&#39;\(&#39;, &#39;\)&#39;]] Mathjax support is implemented via partials. Please find partial in /layouts/partials/mathjax.html -1 2 3 4 5 6 {{ if or (.Site.Params.global_mathjax) (.Params.mathjax) }} &lt;script id=&#34;MathJax-script&#34; async src=&#34;https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js&#34;&gt;&lt;/script&gt; {{ $mathjaxa := resources.Get &#34;js/mathjax/mathjax-assistant.js&#34;}} {{ $mathjaxscript := slice $mathjaxa | resources.Typographyhttps://1bl4z3r.github.io/hermit-V2/en/posts/typography/Sat, 22 Jul 2023 14:36:33 +0530https://1bl4z3r.github.io/hermit-V2/en/posts/typography/Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -An apple is a sweet, edible fruit produced by an apple tree (Malus pumila).The New Scrollhttps://1bl4z3r.github.io/hermit-V2/en/posts/the-new-scroll/Sun, 06 Aug 2023 16:07:33 +0530https://1bl4z3r.github.io/hermit-V2/en/posts/the-new-scroll/This article explains how to use Scroll Up A button to return to the top of the page allows the user to quickly return to the top of the page without making too much effort. This can be very useful when the page has a lot of content or which happens, for example, on one page websites, when infinite scrolling is used, or on mobile devices where different screen sizes can cause the content to scroll extend.The "figure" Shortcodehttps://1bl4z3r.github.io/hermit-V2/en/posts/the-figure-shortcode/Mon, 24 Dec 2018 12:29:41 +0800https://1bl4z3r.github.io/hermit-V2/en/posts/the-figure-shortcode/Hugo has figure shortcode built in, so you can easily add figcaptions or hyperlink rel attributes to images. Documentations can be found here: -https://gohugo.io/content-management/shortcodes/#figure -This theme has 3 CSS classes made for figure elements: -big: images will break the width limit of main content area. left: images will float to the left. right: images will float to the right. If a figure has no class set, the image will behave just like a normal markdown image: !Post With Featured Imagehttps://1bl4z3r.github.io/hermit-V2/en/posts/post-with-featured-image/Mon, 01 Oct 2018 16:15:09 +0800https://1bl4z3r.github.io/hermit-V2/en/posts/post-with-featured-image/Just define the image URL in the content’s front matter, the featured image will be displayed as the background. -For example: ---- images: - https://picsum.photos/1024/768/?random --- This is an array, you can set multiple urls, only the first url will be used. These images is also used in Twitter Cards and the Open Graph metadata.Creating a New Themehttps://1bl4z3r.github.io/hermit-V2/en/posts/creating-a-new-theme/Sun, 28 Sep 2014 00:00:00 +0000https://1bl4z3r.github.io/hermit-V2/en/posts/creating-a-new-theme/Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I&rsquo;ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won&rsquo;t cover using CSS to style your theme. -We&rsquo;ll start with creating a new site with a very basic template.About Hugohttps://1bl4z3r.github.io/hermit-V2/en/about-hugo/Wed, 09 Apr 2014 00:00:00 +0000https://1bl4z3r.github.io/hermit-V2/en/about-hugo/Hugo is the world’s fastest framework for building websites. It is written in Go. -It makes use of a variety of open source projects including: -https://github.com/russross/blackfriday https://github.com/alecthomas/chroma https://github.com/muesli/smartcrop https://github.com/spf13/cobra https://github.com/spf13/viper Learn more and contribute on GitHub.(Hu)go Template Primerhttps://1bl4z3r.github.io/hermit-V2/en/posts/goisforlovers/Wed, 02 Apr 2014 00:00:00 +0000https://1bl4z3r.github.io/hermit-V2/en/posts/goisforlovers/Hugo uses the excellent Go html/template library for its template engine. It is an extremely lightweight engine that provides a very small amount of logic. In our experience that it is just the right amount of logic to be able to create a good static website. If you have used other template systems from different languages or frameworks you will find a lot of similarities in Go templates. -This document is a brief primer on using Go templates.Getting Started with Hugohttps://1bl4z3r.github.io/hermit-V2/en/posts/hugoisforlovers/Wed, 02 Apr 2014 00:00:00 +0000https://1bl4z3r.github.io/hermit-V2/en/posts/hugoisforlovers/Step 1. Install Hugo Go to Hugo releases and download the appropriate version for your OS and architecture. -Save it somewhere specific as we will be using it in the next step. -More complete instructions are available at Install Hugo -Step 2. Build the Docs Hugo has its own example site which happens to also be the documentation site you are reading right now. -Follow the following steps: -Clone the Hugo repository Go into the repo Run hugo in server mode and build the docs Open your browser to http://localhost:1313 Corresponding pseudo commands:Migrate to Hugo from Jekyllhttps://1bl4z3r.github.io/hermit-V2/en/posts/migrate-from-jekyll/Mon, 10 Mar 2014 00:00:00 +0000https://1bl4z3r.github.io/hermit-V2/en/posts/migrate-from-jekyll/Move static content to static Jekyll has a rule that any directory not starting with _ will be copied as-is to the _site output. Hugo keeps all static content under static. You should therefore move it all there. With Jekyll, something that looked like -▾ &lt;root&gt;/ ▾ images/ logo.png should become -▾ &lt;root&gt;/ ▾ static/ ▾ images/ logo.png Additionally, you&rsquo;ll want any files that should reside at the root (such as CNAME) to be moved to static. \ No newline at end of file +Hermit - V2https://1bl4z3r.github.io/hermit-V2/en/Recent content on Hermit - V2HugoenSun, 22 Oct 2023 20:06:06 +0530Explaining Configshttps://1bl4z3r.github.io/hermit-V2/en/posts/explaining-configs/Sun, 22 Oct 2023 20:06:06 +0530https://1bl4z3r.github.io/hermit-V2/en/posts/explaining-configs/<h2 id="configuation-in-hugotoml">Configuation in <code>hugo.toml</code></h2> +<p><code>hugo.toml</code> represents Global configuration for Hermit - V2. It is indicative on the changes to make the theme tailored to your personal preferences.</p> +<p><code>baseURL</code> : The absolute URL (protocol, host, path, and trailing slash) of your published site.</p> +<ul> +<li> +<p><code>languageCode</code> : A language tag as defined by RFC 5646. This value is used to populate:</p> +<ul> +<li>The <!-- raw HTML omitted --> element in the internal RSS template</li> +<li>The lang attribute of the <!-- raw HTML omitted --> element in the internal alias template</li> +</ul> +</li> +<li> +<p><code>title</code> - Title of the Site</p>Admonition Shortcodehttps://1bl4z3r.github.io/hermit-V2/en/posts/admonition-shortcode/Fri, 20 Oct 2023 20:06:06 +0530https://1bl4z3r.github.io/hermit-V2/en/posts/admonition-shortcode/<p>The <code>admonition</code> shortcode supports <strong>8</strong> types of banners to help you put a notice on your page.</p> +<p><em>Markdown or HTML format in the content is supported.</em></p> + + <aside class="admonition note"> + <div class="admonition-title"> + <div class="icon"><svg 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" class="feather feather-edit-2"><path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"></paAbout Michael Hendersonhttps://1bl4z3r.github.io/hermit-V2/en/michael-henderson/Sat, 23 Sep 2023 00:00:00 +0000https://1bl4z3r.github.io/hermit-V2/en/michael-henderson/<p>Hi there, my name is Michael Henderson. I&rsquo;m a passionate photographer and programmer with a love for adventure and the great outdoors. When I&rsquo;m not coding or snapping photos, you can find me cruising around town on my bike, exploring new trails and enjoying the fresh air. I&rsquo;m always looking for opportunities to combine my interests and capture beautiful moments through my camera lens. Nice to meet you!</p> +<hr> +<p>This is an example which shows incase of more than one author</p>Long Articlehttps://1bl4z3r.github.io/hermit-V2/en/posts/long-article/Fri, 22 Sep 2023 22:00:01 +0530https://1bl4z3r.github.io/hermit-V2/en/posts/long-article/<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ac tortor vitae purus faucibus. Pretium quam vulputate dignissim suspendisse in est ante in nibh. Ipsum dolor sit amet consectetur. Proin sagittis nisl rhoncus mattis rhoncus urna neque. Fermentum odio eu feugiat pretium nibh ipsum consequat nisl. Vel pharetra vel turpis nunc eget lorem dolor sed. Nulla aliquet porttitor lacus luctus. Consequat nisl vel pretium lectus quam id leo in vitae. Diam volutpat commodo sed egestas egestas fringilla phasellus. Turpis in eu mi bibendum neque egestas congue quisque egestas. In iaculis nunc sed augue lacus. Pellentesque pulvinar pellentesque habitant morbi. Egestas congue quisque egestas diam in arcu cursus. Sed tempus urna et pharetra pharetra massa massa. At lectus urna duis convallis. Dignissim sodales ut eu sem integer vitae. Sed vulputate odio ut enim blandit volutpat maecenas volutpat blandit. Sagittis purus sit amet volutpat consequat mauris nunc congue. Sodales neque sodales ut etiam sit amet nisl.</p>MathJax Support Demohttps://1bl4z3r.github.io/hermit-V2/en/posts/mathjax-support/Fri, 18 Aug 2023 14:07:33 +0530https://1bl4z3r.github.io/hermit-V2/en/posts/mathjax-support/<h1 id="latex-support-for-hermit-v2">\(LaTeX\) support for hermit-V2</h1> +<h2 id="configuration">Configuration</h2> +<p>Put the following in <code>hugo.toml</code></p> +<div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"> +<table style="border-spacing:0;padding:0;margin:0;border:0;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1 +</span><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2 +</span><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3 +</span><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4 +</span><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5 +</span><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">6 +</span><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">7 +</span><span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">8 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;;width:100%"> +<pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-toml" data-lang="toml"><span style="display:flex;"><span>[<span style="color:#a6e22e">markup</span>] +</span></span><span style="display:flex;"><span> [<span style="color:#a6e22e">markup</span>.<span style="color:#a6e22e">goldmark</span>] +</span></span><span style="display:flex;"><span> [<span style="color:#a6e22e">markup</span>.<span style="color:#a6e22e">goldmark</span>.<span style="color:#a6e22e">extensions</span>] +</span></span><span style="display:flex;"><span> [<span style="color:#a6e22e">markup</span>.<span style="color:#a6e22e">goldmark</span>.<span style="color:#a6e22e">extensions</span>.<span style="color:#a6e22e">passthrough</span>] +</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">enable</span> = <span style="color:#66d9ef">true</span> +</span></span><span style="display:flex;"><span> [<span style="color:#a6e22e">markup</span>.<span style="color:#a6e22e">goldmark</span>.<span style="color:#a6e22e">extensions</span>.<span style="color:#a6e22e">passthrough</span>.<span style="color:#a6e22e">delimiters</span>] +</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">block</span> = [[<span style="color:#e6db74">&#39;\[&#39;</span>, <span style="color:#e6db74">&#39;\]&#39;</span>], [<span style="color:#e6db74">&#39;$$&#39;</span>, <span style="color:#e6db74">&#39;$$&#39;</span>]] +</span></span><span style="display:flex;"><span> <span style="color:#a6e22e">inline</span> = [[<span style="color:#e6db74">&#39;\(&#39;</span>, <span style="color:#e6db74">&#39;\)&#39;</span>]]</span></span></code></prTypographyhttps://1bl4z3r.github.io/hermit-V2/en/posts/typography/Sat, 22 Jul 2023 14:36:33 +0530https://1bl4z3r.github.io/hermit-V2/en/posts/typography/<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> +<blockquote> +<p>An apple is a sweet, edible fruit produced by an apple tree (Malus pumila). Apple trees are cultivated worldwide, and are the most widely grown species in the genus Malus. The tree originated in Central Asia, where its wild ancestor, Malus sieversii, is still found today. Apples have been grown for thousands of years in Asia and Europe, and were brought to North America by European colonists. Apples have religious and mythological significance in many cultures, including Norse, Greek and European Christian traditions.<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p>The New Scrollhttps://1bl4z3r.github.io/hermit-V2/en/posts/the-new-scroll/Sun, 06 Aug 2023 16:07:33 +0530https://1bl4z3r.github.io/hermit-V2/en/posts/the-new-scroll/<h2 id="this-article-explains-how-to-use-scroll-up">This article explains how to use Scroll Up</h2> +<p>A button to return to the top of the page allows the user to quickly return to the top of the page without making too much effort. This can be very useful when the page has a lot of content or which happens, for example, on one page websites, when infinite scrolling is used, or on mobile devices where different screen sizes can cause the content to scroll extend.</p>The "figure" Shortcodehttps://1bl4z3r.github.io/hermit-V2/en/posts/the-figure-shortcode/Mon, 24 Dec 2018 12:29:41 +0800https://1bl4z3r.github.io/hermit-V2/en/posts/the-figure-shortcode/<p>Hugo has <code>figure</code> shortcode built in, so you can easily add figcaptions or hyperlink rel attributes to images. Documentations can be found here:</p> +<p><a href="https://gohugo.io/content-management/shortcodes/#figure">https://gohugo.io/content-management/shortcodes/#figure</a></p> +<p>This theme has 3 CSS classes made for figure elements:</p> +<ul> +<li><code>big</code>: images will break the width limit of main content area.</li> +<li><code>left</code>: images will float to the left.</li> +<li><code>right</code>: images will float to the right.</li> +</ul> +<p>If a figure has no class set, the image will behave just like a normal markdown image: <code>![]()</code>.</p>Post With Featured Imagehttps://1bl4z3r.github.io/hermit-V2/en/posts/post-with-featured-image/Mon, 01 Oct 2018 16:15:09 +0800https://1bl4z3r.github.io/hermit-V2/en/posts/post-with-featured-image/<p>Just define the image URL in the content’s front matter, the featured image will be displayed as the background.</p> +<p>For example:</p> +<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span>--- +</span></span><span style="display:flex;"><span><span style="color:#f92672">images</span>: +</span></span><span style="display:flex;"><span> - <span style="color:#ae81ff">https://picsum.photos/1024/768/?random</span> +</span></span><span style="display:flex;"><span>--- +</span></span></code></pre></div><p>This is an array, you can set multiple urls, only the first url will be used. These images is also used in <a href="https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started.html">Twitter Cards</a> and the <a href="http://ogp.me/">Open Graph</a> metadata.</p>Creating a New Themehttps://1bl4z3r.github.io/hermit-V2/en/posts/creating-a-new-theme/Sun, 28 Sep 2014 00:00:00 +0000https://1bl4z3r.github.io/hermit-V2/en/posts/creating-a-new-theme/<h2 id="introduction">Introduction</h2> +<p>This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I&rsquo;ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won&rsquo;t cover using CSS to style your theme.</p> +<p>We&rsquo;ll start with creating a new site with a very basic template. Then we&rsquo;ll add in a few pages and posts. With small variations on that, you will be able to create many different types of web sites.</p>About Hugohttps://1bl4z3r.github.io/hermit-V2/en/about-hugo/Wed, 09 Apr 2014 00:00:00 +0000https://1bl4z3r.github.io/hermit-V2/en/about-hugo/<p>Hugo is the <strong>world’s fastest framework for building websites</strong>. It is written in Go.</p> +<p>It makes use of a variety of open source projects including:</p> +<ul> +<li><a href="https://github.com/russross/blackfriday">https://github.com/russross/blackfriday</a></li> +<li><a href="https://github.com/alecthomas/chroma">https://github.com/alecthomas/chroma</a></li> +<li><a href="https://github.com/muesli/smartcrop">https://github.com/muesli/smartcrop</a></li> +<li><a href="https://github.com/spf13/cobra">https://github.com/spf13/cobra</a></li> +<li><a href="https://github.com/spf13/viper">https://github.com/spf13/viper</a></li> +</ul> +<p>Learn more and contribute on <a href="https://github.com/gohugoio">GitHub</a>.</p>(Hu)go Template Primerhttps://1bl4z3r.github.io/hermit-V2/en/posts/goisforlovers/Wed, 02 Apr 2014 00:00:00 +0000https://1bl4z3r.github.io/hermit-V2/en/posts/goisforlovers/<p>Hugo uses the excellent <a href="https://golang.org/">Go</a> <a href="https://golang.org/pkg/html/template/">html/template</a> library for +its template engine. It is an extremely lightweight engine that provides a very +small amount of logic. In our experience that it is just the right amount of +logic to be able to create a good static website. If you have used other +template systems from different languages or frameworks you will find a lot of +similarities in Go templates.</p>Getting Started with Hugohttps://1bl4z3r.github.io/hermit-V2/en/posts/hugoisforlovers/Wed, 02 Apr 2014 00:00:00 +0000https://1bl4z3r.github.io/hermit-V2/en/posts/hugoisforlovers/<h2 id="step-1-install-hugo">Step 1. Install Hugo</h2> +<p>Go to <a href="https://github.com/spf13/hugo/releases">Hugo releases</a> and download the +appropriate version for your OS and architecture.</p> +<p>Save it somewhere specific as we will be using it in the next step.</p> +<p>More complete instructions are available at <a href="https://gohugo.io/getting-started/installing/">Install Hugo</a></p> +<h2 id="step-2-build-the-docs">Step 2. Build the Docs</h2> +<p>Hugo has its own example site which happens to also be the documentation site +you are reading right now.</p>Migrate to Hugo from Jekyllhttps://1bl4z3r.github.io/hermit-V2/en/posts/migrate-from-jekyll/Mon, 10 Mar 2014 00:00:00 +0000https://1bl4z3r.github.io/hermit-V2/en/posts/migrate-from-jekyll/<h2 id="move-static-content-to-static">Move static content to <code>static</code></h2> +<p>Jekyll has a rule that any directory not starting with <code>_</code> will be copied as-is to the <code>_site</code> output. Hugo keeps all static content under <code>static</code>. You should therefore move it all there. +With Jekyll, something that looked like</p> +<pre><code>▾ &lt;root&gt;/ + ▾ images/ + logo.png +</code></pre> +<p>should become</p> +<pre><code>▾ &lt;root&gt;/ + ▾ static/ + ▾ images/ + logo.png +</code></pr \ No newline at end of file diff --git a/en/michael-henderson/index.html b/en/michael-henderson/index.html index dd6230a..23cdf60 100644 --- a/en/michael-henderson/index.html +++ b/en/michael-henderson/index.html @@ -1,4 +1,4 @@ -About Michael Henderson diff --git a/en/posts/admonition-shortcode/index.html b/en/posts/admonition-shortcode/index.html index 9fcc58a..44ee758 100644 --- a/en/posts/admonition-shortcode/index.html +++ b/en/posts/admonition-shortcode/index.html @@ -1,4 +1,4 @@ -Admonition Shortcode +Admonition Shortcode