<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Blogging on</title><link>http://salopst.yearl.us/tags/blogging/</link><description>Recent content in Blogging on</description><generator>Hugo</generator><language>en</language><copyright>&lt;a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener"&gt;CC BY-NC 4.0&lt;/a&gt;</copyright><lastBuildDate>Sun, 17 Apr 2022 16:13:51 +0100</lastBuildDate><atom:link href="http://salopst.yearl.us/tags/blogging/index.xml" rel="self" type="application/rss+xml"/><item><title>Image file locations in Hugo</title><link>http://salopst.yearl.us/image-flie-locations-in-hugo-static-site-generator/</link><pubDate>Mon, 27 Sep 2021 14:50:23 +0100</pubDate><guid>http://salopst.yearl.us/image-flie-locations-in-hugo-static-site-generator/</guid><description>&lt;p&gt;The images referenced from from the posts here currently live in three locations, based at Hugo&amp;rsquo;s root, ie. relative to &lt;code&gt;config.toml&lt;/code&gt;:&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;├── archetypes&#10;├── config.toml&#10;├── static&#10;| └── wp-uploads&#10;| ├── whatever-historic-filename.png&#10;| ├── 2000-01-01-kinda-like-the-alt-text.png&#10;├── content&#10;| └── img&#10;| ├── uploads&#10;| | ├── 2000-01-01-kinda-like-the-alt-text.png&#10;| └── post&#10;| ├── 2000-01-01-the-filename-is-the-slug-kinda.md&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;```/static/wp-uploads&lt;code&gt; &lt;/code&gt;/content/img/uploads/1&lt;/p&gt;&#10;&lt;h2 id="i-put-images-inside-a-folder-called-images-under-contentpost-this-is-the-file-structure-for-the-hugo-project"&gt;I put images inside a folder called images under content/post/. This is the file structure for the Hugo project:&lt;/h2&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;├── archetypes&#10;├── config.toml&#10;├── content&#10;| └── post&#10;| ├── your-post.md&#10;| ├── images&#10;| | ├── your-image.png&#10;&lt;/code&gt;&lt;/pre&gt;&lt;hr&gt;&#10;&lt;hr&gt;&#10;&lt;h2 id="everything-you-put-on-static-folder-will-be-served-at-the-root-of-your-webiste-ex"&gt;Everything you put on static folder will be served at the root of your webiste, ex:&lt;/h2&gt;&#10;&lt;p&gt;/static&#10;/cover.jpg&#10;/img/&#10;/cover2.jpg&#10;/foo&#10;/cover3.png&lt;/p&gt;</description></item><item><title>Installing Hugo with SASS support on Linux</title><link>http://salopst.yearl.us/install-hugo-extended-from-source-on-ubuntu/</link><pubDate>Thu, 07 Oct 2021 21:31:37 +0100</pubDate><guid>http://salopst.yearl.us/install-hugo-extended-from-source-on-ubuntu/</guid><description>&lt;p&gt;Out of the box, Hugo does not come with support for compiling SASS/SCSS to CSS. This has led to a number of errors highlighted by Chrome&amp;rsquo;s Inspector after my having had modified the SCSS files that came with the thems I am using. So we need to compile these extensions in.&lt;/p&gt;&#10;&lt;p&gt;The following command did the trick on Pop!_OS (Ubuntu 21.04), and gives me the latest version of Hugo (0.89) to boot.&lt;/p&gt;</description></item></channel></rss>