<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Tutorial on Liam Asman&#39;s Blog</title>
    <link>https://liamasman.com/blog/categories/tutorial/</link>
    <description>Recent content in Tutorial on Liam Asman&#39;s Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-GB</language>
    <copyright>Copyright © 2025, Liam Asman.</copyright>
    <lastBuildDate>Tue, 18 Nov 2025 18:00:00 +0000</lastBuildDate>
    <atom:link href="https://liamasman.com/blog/categories/tutorial/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to stop Shokz headphones triggering standby mode in Linux</title>
      <link>https://liamasman.com/blog/posts/2025/11/how-to-stop-shokz-headphones-triggering-standby-mode-in-linux/</link>
      <pubDate>Tue, 18 Nov 2025 18:00:00 +0000</pubDate>
      <guid>https://liamasman.com/blog/posts/2025/11/how-to-stop-shokz-headphones-triggering-standby-mode-in-linux/</guid>
      <description>&lt;p&gt;I was having a problem with my Shokz OpenComm2 headphones that when turning them on, Linux Mint would immediately prompt for shutdown/suspend.&lt;/p&gt;&#xA;&lt;p&gt;Here is how I fixed it. I am using Shokz OpenComm2 with the Loop 120 USB A adapter.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Get the Vendor ID and Product ID.&lt;/strong&gt;&lt;!-- raw HTML omitted --&gt;&#xA;With the device turned on, run &lt;code&gt;lsusb&lt;/code&gt;. Look for the following:&lt;!-- raw HTML omitted --&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Bus 003 Device 007: ID 3511:2ef2 Shokz Loop120 by Shokz&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Create a file at &lt;code&gt;/etc/udev/rules.d/10-shokz-fix.rules&lt;/code&gt;&lt;/strong&gt; with the following contents. You will need to use &lt;code&gt;sudo&lt;/code&gt; to create this file.&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;# Rule to prevent Shokz headphones from triggering standby/sleep&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;SUBSYSTEM==&amp;#34;usb&amp;#34;, ATTRS{idVendor}==&amp;#34;3511&amp;#34;, ATTRS{idProduct}==&amp;#34;2ef2&amp;#34;, DRIVER==&amp;#34;usbhid&amp;#34;, ATTR{authorized}=&amp;#34;0&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;Replace the idVendor and idProduct with the corresponding values from &lt;code&gt;lsusb&lt;/code&gt; if necessary&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Reload the udev rules&lt;/strong&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo udevadm control --reload-rules&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Unplug and plug-in the adapter to reapply the rules to the active device.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>I was having a problem with my Shokz OpenComm2 headphones that when turning them on, Linux Mint would immediately prompt for shutdown/suspend.</p>
<p>Here is how I fixed it. I am using Shokz OpenComm2 with the Loop 120 USB A adapter.</p>
<ul>
<li><strong>Get the Vendor ID and Product ID.</strong><!-- raw HTML omitted -->
With the device turned on, run <code>lsusb</code>. Look for the following:<!-- raw HTML omitted -->





<pre tabindex="0"><code>Bus 003 Device 007: ID 3511:2ef2 Shokz Loop120 by Shokz</code></pre></li>
<li><strong>Create a file at <code>/etc/udev/rules.d/10-shokz-fix.rules</code></strong> with the following contents. You will need to use <code>sudo</code> to create this file.





<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-text" data-lang="text"><span style="display:flex;"><span># Rule to prevent Shokz headphones from triggering standby/sleep
</span></span><span style="display:flex;"><span>SUBSYSTEM==&#34;usb&#34;, ATTRS{idVendor}==&#34;3511&#34;, ATTRS{idProduct}==&#34;2ef2&#34;, DRIVER==&#34;usbhid&#34;, ATTR{authorized}=&#34;0&#34;</span></span></code></pre></div>Replace the idVendor and idProduct with the corresponding values from <code>lsusb</code> if necessary</li>
<li><strong>Reload the udev rules</strong>





<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-shell" data-lang="shell"><span style="display:flex;"><span>sudo udevadm control --reload-rules</span></span></code></pre></div></li>
</ul>
<p>Unplug and plug-in the adapter to reapply the rules to the active device.</p>
]]></content:encoded>
    </item>
    <item>
      <title>How to type Em-Dashes in Linux Mint</title>
      <link>https://liamasman.com/blog/posts/2025/05/how-to-type-em-dashes-in-linux-mint/</link>
      <pubDate>Sat, 10 May 2025 17:00:00 +0100</pubDate>
      <guid>https://liamasman.com/blog/posts/2025/05/how-to-type-em-dashes-in-linux-mint/</guid>
      <description>&lt;p&gt;The em-dash &amp;ldquo;—&amp;rdquo; is a trusty steed for writers, used structure to a sentence where a comma might not suffice.&lt;/p&gt;&#xA;&lt;p&gt;It has been said to be a sign of plagiarism using generative AI, because most computer keyboards do not have the&#xA;em-dash, and so most people wouldn&amp;rsquo;t type with them naturally. That said, if a text has been written using an editor&#xA;like Microsoft Word then the em-dash might have been autocorrected into place over a hyphen.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>The em-dash &ldquo;—&rdquo; is a trusty steed for writers, used structure to a sentence where a comma might not suffice.</p>
<p>It has been said to be a sign of plagiarism using generative AI, because most computer keyboards do not have the
em-dash, and so most people wouldn&rsquo;t type with them naturally. That said, if a text has been written using an editor
like Microsoft Word then the em-dash might have been autocorrected into place over a hyphen.</p>
<p>Personally, I quite like the dash. While I was once oblivious to the difference between a hyphen &ldquo;-&rdquo; and an em-dash &ldquo;—&rdquo;,
the recent discussion around AI writing has made me realise that I should be using the em-dash (if we&rsquo;re approaching
syntax prescriptively). The hyphen is for compound words, like <em>em-dash</em>. The em-dash, on the other hand, is used to
separate clauses.</p>
<p>Here&rsquo;s how to type the em-dash (and other special characters) in Linux Mint — specifically version 22.1 Cinnamon —
which is the OS I am currently using.</p>
<h2 id="instructions">Instructions</h2>
<p><strong>1. Open:</strong>
<em>System Settings → Keyboard → Layouts → Options</em></p>
<p><strong>2. Expand:</strong>
<em>&ldquo;Position of Compose Key&rdquo;</em></p>
<p><strong>3. Select a compose key.</strong></p>
<p>I chose <em>&lsquo;Right Ctrl&rsquo;</em>.
Close the window when done.</p>
<p><strong>4. Type an em-dash:</strong></p>
<p>Press <code>&lt;compose key&gt; - - -</code></p>
<p>(That is, press the compose key, then press the hyphen key three times.)</p>
<p>You do not need to hold the compose key down while typing the hyphens.</p>
<p>To type an en-dash, use: <code>&lt;compose key&gt; - - .</code></p>
<h2 id="some-other-useful-compose-sequences">Some other useful compose sequences:</h2>
<p>The full list of compose sequences can be found at
<code>/usr/share/X11/locale/en_US.UTF-8/Compose</code></p>
<table>
  <thead>
      <tr>
          <th>Character</th>
          <th>Compose Sequence</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>—</td>
          <td><code>- - -</code></td>
      </tr>
      <tr>
          <td>–</td>
          <td><code>- - .</code></td>
      </tr>
      <tr>
          <td>Ä</td>
          <td><code>A &quot;</code></td>
      </tr>
      <tr>
          <td>ä</td>
          <td><code>a &quot;</code></td>
      </tr>
      <tr>
          <td>±</td>
          <td><code>+ -</code></td>
      </tr>
      <tr>
          <td>¢</td>
          <td><code>| c</code></td>
      </tr>
      <tr>
          <td>¥</td>
          <td><code>Y =</code></td>
      </tr>
      <tr>
          <td>€</td>
          <td><code>c =</code></td>
      </tr>
      <tr>
          <td>§</td>
          <td><code>s o</code></td>
      </tr>
      <tr>
          <td>©</td>
          <td><code>o c</code></td>
      </tr>
      <tr>
          <td>®</td>
          <td><code>o r</code></td>
      </tr>
      <tr>
          <td>™</td>
          <td><code>t m</code></td>
      </tr>
      <tr>
          <td>‹</td>
          <td><code>. &lt;</code></td>
      </tr>
      <tr>
          <td>›</td>
          <td><code>. &gt;</code></td>
      </tr>
      <tr>
          <td>«</td>
          <td><code>&lt; &lt;</code></td>
      </tr>
      <tr>
          <td>»</td>
          <td><code>&gt; &gt;</code></td>
      </tr>
      <tr>
          <td>°</td>
          <td><code>o o</code></td>
      </tr>
      <tr>
          <td>²</td>
          <td><code>^ 2</code></td>
      </tr>
      <tr>
          <td>³</td>
          <td><code>^ 3</code></td>
      </tr>
      <tr>
          <td>µ</td>
          <td><code>m u</code></td>
      </tr>
      <tr>
          <td>…</td>
          <td><code>. .</code></td>
      </tr>
      <tr>
          <td>₀</td>
          <td><code>_ 0</code></td>
      </tr>
      <tr>
          <td>₁</td>
          <td><code>_ 1</code></td>
      </tr>
      <tr>
          <td>‽</td>
          <td><code>? !</code></td>
      </tr>
      <tr>
          <td>†</td>
          <td><code>| -</code></td>
      </tr>
      <tr>
          <td>‡</td>
          <td><code>| =</code></td>
      </tr>
      <tr>
          <td>♥</td>
          <td><code>&lt; 3</code></td>
      </tr>
      <tr>
          <td>💩</td>
          <td><code>p o o</code></td>
      </tr>
      <tr>
          <td>ℕ</td>
          <td><code>N N</code></td>
      </tr>
      <tr>
          <td>ℚ</td>
          <td><code>Q Q</code></td>
      </tr>
      <tr>
          <td>ℝ</td>
          <td><code>R R</code></td>
      </tr>
      <tr>
          <td>ℤ</td>
          <td><code>Z Z</code></td>
      </tr>
      <tr>
          <td>←</td>
          <td><code>&lt; -</code></td>
      </tr>
      <tr>
          <td>↑</td>
          <td><code>| ^</code></td>
      </tr>
      <tr>
          <td>→</td>
          <td><code>- &gt;</code></td>
      </tr>
      <tr>
          <td>↓</td>
          <td><code>| v</code></td>
      </tr>
      <tr>
          <td>≤</td>
          <td><code>&lt; =</code></td>
      </tr>
      <tr>
          <td>≥</td>
          <td><code>&gt; =</code></td>
      </tr>
  </tbody>
</table>
]]></content:encoded>
    </item>
    <item>
      <title>Creating a simple blog with Hugo and Netlify</title>
      <link>https://liamasman.com/blog/posts/2025/04/creating-a-simple-blog-with-hugo-and-netlify/</link>
      <pubDate>Wed, 09 Apr 2025 21:20:00 +0100</pubDate>
      <guid>https://liamasman.com/blog/posts/2025/04/creating-a-simple-blog-with-hugo-and-netlify/</guid>
      <description>&lt;p&gt;I wanted to create a blog that would allow me to share posts on various&#xA;topics and photography. Wordpress is a bit too heavy-weight for what I wanted,&#xA;and I wanted to keep costs way down, preferably free, excluding the domain name.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://gohugo.io/&#34;&gt;Hugo&lt;/a&gt; is a static site generator that is fast, and has&#xA;great support for image processing. Posts are written in&#xA;&lt;a href=&#34;https://www.markdownguide.org/&#34;&gt;Markdown&lt;/a&gt; as individual text files and&#xA;converted to HTML as a build step in a CI pipeline. Hugo also supports RSS,&#xA;a small nerdy feature that I wanted to have.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>I wanted to create a blog that would allow me to share posts on various
topics and photography. Wordpress is a bit too heavy-weight for what I wanted,
and I wanted to keep costs way down, preferably free, excluding the domain name.</p>
<p><a href="https://gohugo.io/">Hugo</a> is a static site generator that is fast, and has
great support for image processing. Posts are written in
<a href="https://www.markdownguide.org/">Markdown</a> as individual text files and
converted to HTML as a build step in a CI pipeline. Hugo also supports RSS,
a small nerdy feature that I wanted to have.</p>
<p>While I don&rsquo;t mind paying for hosting, I wanted to keep costs down. I don&rsquo;t
expect a lot of traffic, so for now the free tier of
<a href="https://www.netlify.com/">Netlify</a> is perfectly capable of hosting the site.</p>
<p>Posts are committed to a GitHub repository, and Netlify will automatically
build the site and deploy it to the web.</p>
<p>The following are the steps I took to set up the blog, including custom HTML and
CSS. I use Cloudflare for DNS for my domain, so will also briefly cover the
DNS configuration to point the domain to Netlify.</p>
<h1 id="initial-set-up">Initial Set Up</h1>
<p><strong>1. Install Hugo</strong></p>
<p>While not strictly necessary, I recommend installing Hugo on your local machine
so you can preview your changes before pushing them to GitHub. It also makes
setting up the skeleton of the site easier.</p>
<p>You can find instructions for installing on your system at</p>
<p><a href="https://gohugo.io/installation/">https://gohugo.io/installation/</a></p>
<p><strong>2. Create a new site and git repository</strong></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-bash" data-lang="bash"><span style="display:flex;"><span>hugo new site my-blog
</span></span><span style="display:flex;"><span>cd my-blog
</span></span><span style="display:flex;"><span>git init</span></span></code></pre></div><p>Find <code>hugo.toml</code> in the root directory. There are some basic configuration
options that need filling in.</p>
<p><strong>3. Add a theme</strong></p>
<p>Find a theme you like. A list of themes can be found at
<a href="https://themes.gohugo.io/">https://themes.gohugo.io/</a>.</p>
<p>Add it to your website as a git submodule, and reference it in the hugo.toml
file.</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-bash" data-lang="bash"><span style="display:flex;"><span>git submodule add https://github.com/clente/hugo-bearcub themes/hugo-bearcub
</span></span><span style="display:flex;"><span>echo <span style="color:#e6db74">&#39;theme = &#34;hugo-bearcub&#34;&#39;</span> &gt;&gt; hugo.toml</span></span></code></pre></div><p><strong>4. Run Locally</strong></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-bash" data-lang="bash"><span style="display:flex;"><span>hugo server -D</span></span></code></pre></div><p>This will start a local web server on port 1313. You can view the site at
http://localhost:1313. The -D flag means draft posts will be included in the
output.</p>
<p>Hugo will automatically re-build the site as you make changes.</p>
<p><strong>5. npm install hugo</strong></p>
<p>In order for Netlify to build the site, you need to install Hugo as a dependency
in package.json. We can use npm to do this for us.</p>





<pre tabindex="0"><code>npm install hugo-bin --save-dev</code></pre><p><strong>6. Create a GitHub repository and push to git</strong></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-bash" data-lang="bash"><span style="display:flex;"><span>git add .
</span></span><span style="display:flex;"><span>git remote add origin git@github.com:my-user/my-blog.git
</span></span><span style="display:flex;"><span>git remote set-url origin git@github.com:my-user/my-blog.git
</span></span><span style="display:flex;"><span>git push -u origin main</span></span></code></pre></div><p><strong>7. Create a Netlify account and set up the site</strong></p>
<p>Netlify is pretty straight-forward to use. Use &lsquo;Import and Existing Project&rsquo;,
choose GitHub, and select the GitHub repository you just created. You should be
able to leave most of the settings as they are, but just in case:</p>





<pre tabindex="0"><code>Branch to deploy: main
Base directory:
Build command: hugo
Publish directory: public
Function directory: netlify/functions</code></pre><p><strong>8. Set up a custom domain</strong></p>
<p>Netlify has instructions for setting up a custom domain to point to the website.
They refer to using a &lsquo;flattened CNAME&rsquo;. In cloudflare, this is a standard CNAME
record. Cloudlfare will automatically do the flattening for you.</p>
<p>Ensure you disable Cloudflare&rsquo;s proxy for the DNS record; Netlify has its own
CDN, we do not need to run Cloudflare&rsquo;s on top. It would only harm performance.</p>
<h2 id="customising-the-theme">Customising the theme</h2>
<p>I liked the look of the <a href="https://github.com/janraasch/hugo-bearblog">hugo-bearblog</a>
theme, however there were a few changes I wanted to make.</p>
<p>First, I wanted the home page to be a list of all my blog post titles. As my
site evolves and I add more content, I may want to change this, but for the
beginning I wanted the site to be extremely simple. Home page -&gt; Blog post.</p>
<p>This meant overriding <code>index.html</code>, and removing the navigation bar by
overriding <code>nav.html</code>.</p>
<p>Second, I wanted to modify the layout of the titles as they are listed. In
particular, I wanted to add the category of the blog post to the listing.</p>
<p>Finally, I wanted to add a favicon.</p>
<p>We can achieve this with the following files:</p>
<p><strong>layouts/index.html</strong></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-html" data-lang="html"><span style="display:flex;"><span>{{ define &#34;main&#34; }}
</span></span><span style="display:flex;"><span>&lt;<span style="color:#f92672">div</span> <span style="color:#a6e22e">class</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;home&#34;</span>&gt;
</span></span><span style="display:flex;"><span>    &lt;<span style="color:#f92672">div</span> <span style="color:#a6e22e">class</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;posts&#34;</span>&gt;
</span></span><span style="display:flex;"><span>        &lt;<span style="color:#f92672">ul</span> <span style="color:#a6e22e">class</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;blog-posts&#34;</span>&gt;
</span></span><span style="display:flex;"><span>            {{ range where .Site.RegularPages &#34;Section&#34; &#34;blog&#34; }}
</span></span><span style="display:flex;"><span>            &lt;<span style="color:#f92672">li</span>&gt;
</span></span><span style="display:flex;"><span>                &lt;<span style="color:#f92672">span</span> <span style="color:#a6e22e">class</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;post-list-item-date&#34;</span>&gt;
</span></span><span style="display:flex;"><span>                    &lt;<span style="color:#f92672">time</span> <span style="color:#a6e22e">datetime</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#39;{{ .Date.Format &#34;2006-01-02&#34; }}&#39;</span>&gt;
</span></span><span style="display:flex;"><span>                        {{ .Date.Format (default &#34;02 Jan, 2006&#34; .Site.Params.dateFormat) }}
</span></span><span style="display:flex;"><span>                    &lt;/<span style="color:#f92672">time</span>&gt;
</span></span><span style="display:flex;"><span>                &lt;/<span style="color:#f92672">span</span>&gt;
</span></span><span style="display:flex;"><span>                &lt;<span style="color:#f92672">span</span> <span style="color:#a6e22e">class</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;post-list-item-title&#34;</span>&gt;
</span></span><span style="display:flex;"><span>                    &lt;<span style="color:#f92672">a</span> <span style="color:#a6e22e">href</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;{{ .Permalink }}&#34;</span>&gt;{{ .Title }}&lt;/<span style="color:#f92672">a</span>&gt;
</span></span><span style="display:flex;"><span>                &lt;/<span style="color:#f92672">span</span>&gt;
</span></span><span style="display:flex;"><span>                &lt;<span style="color:#f92672">span</span> <span style="color:#a6e22e">class</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;post-list-item-category&#34;</span>&gt;
</span></span><span style="display:flex;"><span>                {{ .Params.category }}
</span></span><span style="display:flex;"><span>                &lt;/<span style="color:#f92672">span</span>&gt;
</span></span><span style="display:flex;"><span>            &lt;/<span style="color:#f92672">li</span>&gt;
</span></span><span style="display:flex;"><span>            {{ else }}
</span></span><span style="display:flex;"><span>            &lt;<span style="color:#f92672">p</span>&gt;No posts yet!&lt;/<span style="color:#f92672">p</span>&gt;
</span></span><span style="display:flex;"><span>            {{ end }}
</span></span><span style="display:flex;"><span>        &lt;/<span style="color:#f92672">ul</span>&gt;
</span></span><span style="display:flex;"><span>    &lt;/<span style="color:#f92672">div</span>&gt;
</span></span><span style="display:flex;"><span>&lt;/<span style="color:#f92672">div</span>&gt;
</span></span><span style="display:flex;"><span>{{ end }}</span></span></code></pre></div><p><strong>layouts/partials/nav.html</strong></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-html" data-lang="html"><span style="display:flex;"><span><span style="color:#75715e">&lt;!-- This file is intentionally left blank --&gt;</span></span></span></code></pre></div><p><strong>assets/css/style.css</strong></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-css" data-lang="css"><span style="display:flex;"><span><span style="color:#f92672">ul</span>.<span style="color:#a6e22e">blog-posts</span> <span style="color:#f92672">li</span> .<span style="color:#a6e22e">post-list-item-category</span> {
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">flex-grow</span>: <span style="color:#ae81ff">1</span>;
</span></span><span style="display:flex;"><span>}
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#f92672">ul</span>.<span style="color:#a6e22e">blog-posts</span> <span style="color:#f92672">li</span> .<span style="color:#a6e22e">post-list-item-title</span> {
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">flex-grow</span>: <span style="color:#ae81ff">4</span>;
</span></span><span style="display:flex;"><span>}</span></span></code></pre></div><p><strong>layouts/partials/custom_head.html</strong></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-html" data-lang="html"><span style="display:flex;"><span>{{ $style := resources.Get &#34;css/style.css&#34; | minify | fingerprint }}
</span></span><span style="display:flex;"><span>&lt;<span style="color:#f92672">link</span> <span style="color:#a6e22e">rel</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;stylesheet&#34;</span> <span style="color:#a6e22e">href</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;{{ $style.RelPermalink }}&#34;</span>&gt;
</span></span><span style="display:flex;"><span>&lt;<span style="color:#f92672">link</span> <span style="color:#a6e22e">rel</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;icon&#34;</span> <span style="color:#a6e22e">href</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;/favicon.ico&#34;</span> <span style="color:#a6e22e">type</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;image/x-icon&#34;</span> /&gt;</span></span></code></pre></div><p>Place your favicon icon in <strong>static/favicon.ico</strong></p>
<p>Commit and push to GitHub. Netlify will automatically build the site and deploy
it.</p>
<p>Congratulations!</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
