<?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 Bits Thoughts &amp; More, hugo based</title><link>https://997f8fd8.myblog-1k6.pages.dev/tags/blogging/</link><description>Recent content in Blogging on Bits Thoughts &amp; More, hugo based</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Thu, 18 Apr 2024 12:56:02 +0300</lastBuildDate><atom:link href="https://997f8fd8.myblog-1k6.pages.dev/tags/blogging/index.xml" rel="self" type="application/rss+xml"/><item><title>adding a post by adding a file</title><link>https://997f8fd8.myblog-1k6.pages.dev/posts/what-if/</link><pubDate>Thu, 18 Apr 2024 12:56:02 +0300</pubDate><guid>https://997f8fd8.myblog-1k6.pages.dev/posts/what-if/</guid><description>
&lt;p&gt;So how about just create a new file in the correct file structure and not use the &lt;code&gt;hugo new post&lt;/code&gt;?
as it turns out it works exactly as expected&amp;hellip;
So &lt;code&gt;hugo&lt;/code&gt; just needs this footer.. and that is all!&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-txt" data-lang="txt"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;+++
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;title = &amp;#39;adding a post by adding a file&amp;#39;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;date = 2024-04-18T12:56:02+03:00
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;tags = [&amp;#39;hugo&amp;#39;, &amp;#39;blogging&amp;#39;]
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;lastModDisplay = &amp;#34;Modified:&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;draft = &amp;#34;false&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;+++
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Depending on theme you should be able to see this emoji rendered or not.. :smile:&lt;/p&gt;</description></item><item><title>Blogging with Hugo</title><link>https://997f8fd8.myblog-1k6.pages.dev/posts/blogging_with_hugo/</link><pubDate>Thu, 18 Apr 2024 12:56:02 +0300</pubDate><guid>https://997f8fd8.myblog-1k6.pages.dev/posts/blogging_with_hugo/</guid><description>
&lt;p&gt;Following a guide from Ryan in youtube.. (&lt;a href="https://www.youtube.com/watch?v=LIFvgrRxdt4"&gt;https://www.youtube.com/watch?v=LIFvgrRxdt4&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;What you need:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;2 repos, one for the code of the site and one to deploy (we are going to use github pages)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Those two repos will be &lt;code&gt;joined&lt;/code&gt; using git submodule.&lt;/p&gt;
&lt;p&gt;In the code repo do:
&lt;code&gt;git submodule add -b main &amp;lt;github pages repo&amp;gt; public&lt;/code&gt;
Where the &lt;code&gt;-b main&lt;/code&gt; is the branch of the repo, abd &lt;code&gt;public&lt;/code&gt; is the folder that will be linked within the code repo and will point to that branch of the github pages repo.&lt;/p&gt;</description></item></channel></rss>