<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Default on Aouadi&#39;s Files</title>
    <link>https://wassimaouadi.com/tags/default/</link>
    <description>Recent content in Default on Aouadi&#39;s Files</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 01 May 2026 20:31:20 +0200</lastBuildDate>
    <atom:link href="https://wassimaouadi.com/tags/default/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Setting Up My Website Using Hugo</title>
      <link>https://wassimaouadi.com/posts/2026-05-01-setting-up-my-website-using-hugo/</link>
      <pubDate>Fri, 01 May 2026 20:31:20 +0200</pubDate>
      <guid>https://wassimaouadi.com/posts/2026-05-01-setting-up-my-website-using-hugo/</guid>
      <description>&lt;h1 id=&#34;intended-workflow&#34;&gt;Intended workflow&lt;/h1&gt;&#xA;&lt;p&gt;create/modify a post locally -&amp;gt; build and publish with &amp;lsquo;hugo&amp;rsquo; -&amp;gt; git commit and publish to remote -&amp;gt; GitLab repo main branch gets updated -&amp;gt; Cloudflare Pages triggers a rebuild -&amp;gt; web pages of the blog get updated.&lt;/p&gt;&#xA;&lt;h1 id=&#34;steps-difficulties-and-solutions&#34;&gt;Steps, Difficulties and Solutions&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;download hugo using snap&lt;/li&gt;&#xA;&lt;li&gt;create a git repo in the blog directory&lt;/li&gt;&#xA;&lt;li&gt;create a GitLab access token. Define my GitLab repo as a remote for the blog git repo. Git push to the remote. Use the GitLab access token when asked to authenticate - not the GitLab account credentials!&lt;/li&gt;&#xA;&lt;li&gt;by default the main branch on GitLab is protected. For the initial &amp;lsquo;git push remote origin main&amp;rsquo;, I deactivated the protection feature in GitLab under Settings -&amp;gt; Repository -&amp;gt; Protected branches -&amp;gt; main.&lt;/li&gt;&#xA;&lt;li&gt;to create blog posts, I placed them under &amp;lsquo;content/posts&amp;rsquo;. I placed images under &amp;lsquo;static/images&amp;rsquo;. I insert an image in a blog post using this syntax: &#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://wassimaouadi.com/images/IMG_NAME&#34; alt=&#34;alt_name&#34; /&gt;&#xA;&lt;/figure&gt;&#xA;&#xA;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;integrate mit GitLab repo with Cloudflare Pages. I spent much time troubleshooting this. I confused Cloudflare Workers with Cloudflare Pages. I should have chosen the right config option. Firefox does not display the Cloudflare dashboard correctly. Use Chrome instead.&lt;/li&gt;&#xA;&lt;li&gt;create a custom domain in Cloudflare Pages. Associate my domain name with the Cloudflare Page.&lt;/li&gt;&#xA;&lt;li&gt;verify local rendering of the draft blog using &amp;lsquo;hugo server &amp;ndash;buildDrafts&amp;rsquo;&lt;/li&gt;&#xA;&lt;li&gt;once the blog post is ready for publishing, set the parameter &amp;lsquo;draft&amp;rsquo; to &amp;lsquo;false&amp;rsquo;, execute &amp;lsquo;hugo&amp;rsquo;, git push origin {branch_name}, create a merge request on GitLab and accept it. Cloudflare Pages will automatically rebuild the code. Reload the website to see the changes.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1 id=&#34;topologies-i-will-practice-inshallah&#34;&gt;Topologies I will practice inshAllah&lt;/h1&gt;&#xA;&lt;p&gt;&#xA;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://wassimaouadi.com/images/topo01.png&#34; alt=&#34;this one&#34; /&gt;&#xA;&lt;/figure&gt;&#xA;&#xA;&#xA;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
