<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hugo on JOURNAL.ROBBI.MY</title><link>https://journal.robbi.my/tags/hugo/</link><description>Recent content in Hugo on JOURNAL.ROBBI.MY</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 30 Jun 2026 03:01:59 +0000</lastBuildDate><atom:link href="https://journal.robbi.my/tags/hugo/index.xml" rel="self" type="application/rss+xml"/><item><title>Taking down robbinespu.gitlab.io and robbinespu.github.io</title><link>https://journal.robbi.my/indieweb/240913040707/</link><pubDate>Fri, 13 Sep 2024 04:07:07 +0800</pubDate><guid>https://journal.robbi.my/indieweb/240913040707/</guid><description>&lt;p&gt;Today, I decided to unpublish my old blog websites, &lt;a href="https://robbinespu.gitlab.io"&gt;robbinespu.gitlab.io&lt;/a&gt; and &lt;a href="https://robbinespu.github.io"&gt;robbinespu.github.io&lt;/a&gt;, from public access.&lt;/p&gt;
&lt;p&gt;I &lt;a href="https://journal.robbi.my/about/changelog/"&gt;transitioned&lt;/a&gt; from GitHub Pages to GitLab Pages and started using my own domain about 2–3 years ago. The CI/CD scripts to build the old pages are still functional, and the repositories still exist (in private git). I’ve only disabled them from being publicly published.&lt;/p&gt;
&lt;p&gt;Why? I’ve noticed that search engines are focusing more on indexing and crawling my old website. Although I added a notice on the old pages informing visitors that I migrated to a new domain 2–3 years ago, the traffic hasn’t shifted much. Most of my visitors are organic and likely just interested in the content.&lt;/p&gt;</description></item><item><title>Webmention Not Working</title><link>https://journal.robbi.my/indieweb/231018054658/</link><pubDate>Wed, 18 Oct 2023 05:46:58 +0800</pubDate><guid>https://journal.robbi.my/indieweb/231018054658/</guid><description>&lt;p&gt;I received a lot of Github notification regarding &amp;ldquo;actions&amp;rdquo; that failed to run correctly&lt;/p&gt;
&lt;p&gt;&lt;img src="https://journal.robbi.my/indieweb/231018054658/firefox_sxdIlpmsHj.png" alt="Webmention send"
 class="cursor-zoom-in"
 data-zoomable
 loading="lazy" /&gt;
&lt;/p&gt;
&lt;p&gt;Previously it happen because of &lt;a href="https://github.com/remy/wm/issues/61"&gt;webmention.app issue#16&lt;/a&gt; which is the script if not working without WWW as part of the URL.&lt;/p&gt;
&lt;p&gt;That is just a easy fix. I did the &lt;a href="https://github.com/RobbiNespu/send-webmentions/commit/8be3588f581479313fc2d8634115efae330a79c0"&gt;changes&lt;/a&gt; and deploy the solution. It was working fine (for 1 weeks) until the &lt;a href="https://webmention.app"&gt;https://webmention.app&lt;/a&gt; are totally down&lt;/p&gt;
&lt;p&gt;&lt;img src="https://journal.robbi.my/indieweb/231018054658/chrome_0xW7CMmu4U.png" alt="Webmention.app down"
 class="cursor-zoom-in"
 data-zoomable
 loading="lazy" /&gt;
&lt;/p&gt;
&lt;p&gt;So currently, i not able sent webmention automatically (via triggering github-actions). My plan, maybe I will use &lt;a href="https://telegraph.p3k.io/"&gt;https://telegraph.p3k.io&lt;/a&gt; , but I not sure yet if it API are capable to archive the same result like webmention.app.&lt;/p&gt;</description></item><item><title>22 12 12 2047_like Petersmith.org Sparkline</title><link>https://journal.robbi.my/indieweb/221212084755/</link><pubDate>Mon, 12 Dec 2022 20:47:55 +0800</pubDate><guid>https://journal.robbi.my/indieweb/221212084755/</guid><description>&lt;p&gt;I really love the ideas of collecting data from our own writing, process it, generating some statistic and display back on website, it kinda like a trophy 🏆.&lt;/p&gt;</description></item><item><title>webmention are now 80% implemented</title><link>https://journal.robbi.my/indieweb/221208124100/</link><pubDate>Thu, 08 Dec 2022 12:41:00 +0000</pubDate><guid>https://journal.robbi.my/indieweb/221208124100/</guid><description>&lt;p&gt;It has been around two weeks since I started to develop my own HUGO theme and seem like everything goes really smooth.&lt;/p&gt;
&lt;p&gt;As you know, I really love and excited about webmention features. So I have been focusing on this stuff to make sure the HTML are parse correctly when I received or sending webmention.&lt;/p&gt;
&lt;p&gt;Thanks to &lt;a href="https://webmention.io"&gt;webmention.io&lt;/a&gt; and &lt;a href="https://php.microformats.io/?url=https://journal.robbi.my/"&gt;php.microformats.io&lt;/a&gt; that help me a lot to getting this SSG (Static Site Generator) to have relation functionality like dynamic website but yes, of cause there still lot of limit, but to me this is good enough.&lt;/p&gt;</description></item><item><title>Test bookmark!</title><link>https://journal.robbi.my/indieweb/221202121338/</link><pubDate>Fri, 02 Dec 2022 12:13:38 +0800</pubDate><guid>https://journal.robbi.my/indieweb/221202121338/</guid><description/></item><item><title>Hello world | Hello dunia!</title><link>https://journal.robbi.my/indieweb/221201121338/</link><pubDate>Thu, 01 Dec 2022 12:13:38 +0800</pubDate><guid>https://journal.robbi.my/indieweb/221201121338/</guid><description>&lt;p&gt;Assalamualaikum dan salam buat semua!&lt;/p&gt;
&lt;p&gt;Agak lama dah tak menulis posting baru kat weblog. Semua gara-gara broken API, hugo templating syntax changes dan lain-lain yang menyebabkan aku
dah tak boleh generate post baru kat &lt;a href="https://robbinespu.gitlab.io"&gt;robbinespu.gitlab.io&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;So aku setup balik semua dan buat come-back guna domain sendiri serta theme-hugo yang aku create from scratch dengan menggunakan &lt;a href="https://bulma.io/"&gt;bulma-CSS&lt;/a&gt; je sebab ringan dan UI yang simple, kemas dan mudah nak guna.&lt;/p&gt;
&lt;p&gt;Theme ni support &lt;a href="https://www.w3.org/TR/webmention/"&gt;webmention&lt;/a&gt; juga, tapi belum fully setup. So far dah boleh auth, send dan received. Tengah fikir macam-mana nak display balik data-data indieweb nih&lt;/p&gt;</description></item><item><title>Hugo "GetJSON" now support HTTP Header</title><link>https://journal.robbi.my/posts/211009124047/</link><pubDate>Sat, 09 Oct 2021 12:40:47 +0800</pubDate><guid>https://journal.robbi.my/posts/211009124047/</guid><description>&lt;p&gt;TIL that hugo actually support custom HTTP headers to be use together with &lt;code&gt;getJSON&lt;/code&gt; function which means you not anymore limited to just use or call API that have &lt;code&gt;token=xxx&lt;/code&gt; on URL parameter anymore. Now you can use some header such as &lt;code&gt;Authorization&lt;/code&gt; (example: Bearer, OAuth and more).&lt;/p&gt;
&lt;p&gt;The implementation is quite simple just create a &lt;code&gt;dictionary&lt;/code&gt; data and put the information inside and bind it together with &lt;code&gt;getJSON&lt;/code&gt; as second parameter.&lt;/p&gt;</description></item><item><title>Hugo Conversation Dialog</title><link>https://journal.robbi.my/posts/210902121740/</link><pubDate>Thu, 02 Sep 2021 12:17:40 +0800</pubDate><guid>https://journal.robbi.my/posts/210902121740/</guid><description>&lt;div class="conversation not-prose flex gap-4 my-6 items-start"&gt;
 &lt;div class="w-16 flex-shrink-0"&gt;
 &lt;img src="https://journal.robbi.my/img/optimus-prime-tile.png" alt="Optimus Prime" class="w-16 h-16 rounded-lg object-cover border border-base-300" loading="lazy" /&gt;
 &lt;/div&gt;
 &lt;div class="flex-1 font-mono text-sm leading-relaxed text-base-content/80 pt-1"&gt;
 &amp;lt;&lt;strong class="text-primary font-bold"&gt;Optimus Prime&lt;/strong&gt;&amp;gt; Were we so different? They&amp;rsquo;re a young species. They have much to learn. But I&amp;rsquo;ve seen goodness in them. Freedom is the right of all sentient beings.
 &lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;Hello everyone.. do you see conversation dialog strip above from Optimus Prime? Well, it my new Hugo features and I really like this kind of dialog stuff. It kinda cool and nostalgic too&amp;hellip;&lt;/p&gt;</description></item><item><title>Delete / purge data from 3rd party social media periodically</title><link>https://journal.robbi.my/posts/210825085132/</link><pubDate>Wed, 25 Aug 2021 08:51:32 +0800</pubDate><guid>https://journal.robbi.my/posts/210825085132/</guid><description>&lt;p&gt;Have you ever thought about deleting your old content? Especially on centralize social media such as Twitter, Facebook, Instagram and many more.. which we are well aware that they will track, analyze and use your metadata and content for a certain purpose that only benefit for them self.&lt;/p&gt;
&lt;p&gt;Social network is not likely same as when you start register on they website. This is what you should expect anyway. They put you on free trial mode and let you lurk around and catch you connection, likes, post and more. After a certain period, you won&amp;rsquo;t notice they does not care much about us connecting with friends, it just want us to consume content as much as possible on their platform - while generating ad revenue. No matter what social media you use, they want you to be addict to they social network.&lt;/p&gt;</description></item><item><title>Commenting System - Utterances removed, just use email</title><link>https://journal.robbi.my/indieweb/210822071802/</link><pubDate>Sun, 22 Aug 2021 07:18:02 +0800</pubDate><guid>https://journal.robbi.my/indieweb/210822071802/</guid><description>&lt;p&gt;Previously I use &lt;code&gt;Disqus&lt;/code&gt; as commenting system on my &lt;a href="https://robbinespu.gitlab.io/posts/homepage-history/#version-2---30-jekyll"&gt;older version of website (back then when I still use Jekyll)&lt;/a&gt; but after reading they privacy policies and saw lot of complaints about from internet users, I decide to move on to &lt;code&gt;Utterances&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;On 21 August 2021, I decided to remove &lt;code&gt;Utterances&lt;/code&gt; from this website too because it look silly for a Gitlab (host) pages using Github commenting system approaches.&lt;/p&gt;
&lt;p&gt;I once think we can use good old mailing lists as an alternative, that why I configure, setup &lt;a href="https://lists.sr.ht/~robbinespu/mailing-list"&gt;sourcehut&lt;/a&gt; and &lt;a href="https://groups.io/g/robbinespu/"&gt;groups.io&lt;/a&gt; mailing list aka public inbox, so the discussion will be publicly for everyone and maybe it contain something useful for references but it is difficult to make hassle to handle.&lt;/p&gt;</description></item><item><title>Nenez9595 (bhgn 4)</title><link>https://journal.robbi.my/indieweb/210709043115/</link><pubDate>Fri, 09 Jul 2021 16:31:15 +0800</pubDate><guid>https://journal.robbi.my/indieweb/210709043115/</guid><description>&lt;p&gt;Bismillahirahmanirrahim..&lt;/p&gt;
&lt;p&gt;Alhamdulillah dengan izin Allah aku berjaya membuat salinan penuh laman blog (&lt;a href="https://nenez9595.blogspot.com"&gt;nenez9595.blogspot.com&lt;/a&gt;) Allahyarham pensyarah aku iaitu Prof Dr Hj Sazali. Boleh baca penulisan bahagian &lt;a href="https://journal.robbi.my/posts/nenez-part1"&gt;1&lt;/a&gt;, &lt;a href="https://journal.robbi.my/posts/nenez-part2"&gt;2&lt;/a&gt; dan &lt;a href="https://journal.robbi.my/posts/nenez-part3"&gt;3&lt;/a&gt; sekiranya berminat dengan perjalanan yang dah aku lalui sebelum berjaya buat salinan penuh laman blog beliau.&lt;/p&gt;
&lt;p&gt;Oleh sebab clone / mirror yang aku telah cuba dan buat tu hasil dia tak berapa cantik dan cun, maka aku fikir aku kene fix kan kod python yang aku buat waktu cubaan plan C yang aku ceritakan pada &lt;a href="https://journal.robbi.my/posts/nenez-part2"&gt;bahagian 2&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Nenez9595 (bhgn 3)</title><link>https://journal.robbi.my/indieweb/210706084954/</link><pubDate>Tue, 06 Jul 2021 08:49:54 +0800</pubDate><guid>https://journal.robbi.my/indieweb/210706084954/</guid><description>&lt;p&gt;Assalamualaikum! Pada artikel &lt;a href="https://journal.robbi.my/posts/nenez-part2"&gt;bahagian ke-2&lt;/a&gt; yang lepas, aku ada cakap untuk guna VPS personal untuk buat kerja cloning&amp;hellip; Fuhh take time jugak rupanya walau pakai remote server utk fetch dari &lt;a href="https://nenez9595.blogspot.com"&gt;nenez9595.blogspot.com&lt;/a&gt;:&lt;/p&gt;
&lt;div class="code-block"&gt;
 &lt;div class="code-header font-mono"&gt;
 &lt;span class="code-lang"&gt;bash&lt;/span&gt;
 &lt;div class="code-window-controls"&gt;
 &lt;button class="code-copy" onclick="copyCode(this)" title="Copy to clipboard"&gt;📋 Copy&lt;/button&gt;
 &lt;span class="ctrl-min"&gt;&lt;/span&gt;
 &lt;span class="ctrl-max"&gt;&lt;/span&gt;
 &lt;span class="ctrl-close"&gt;&lt;/span&gt;
 &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="code-content"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ &lt;span style="color:#8be9fd;font-style:italic"&gt;time&lt;/span&gt; httrack -q -%i -iC2 nenez9595.blogspot.com -O &lt;span style="color:#f1fa8c"&gt;&amp;#34;/home/robbi/httrack&amp;#34;&lt;/span&gt; -n -%P -N0 -s2 -p7 -D -a -K0 -c10 -%k -A25000 -%c10 -F &lt;span style="color:#f1fa8c"&gt;&amp;#34;Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)&amp;#34;&lt;/span&gt; +*.png +*.gif +*.jpg +*.jpeg +*.css +*.js -ad.doubleclick.net/* -%s -%u
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Mirror launched on Sun, &lt;span style="color:#bd93f9"&gt;04&lt;/span&gt; Jul &lt;span style="color:#bd93f9"&gt;2021&lt;/span&gt; 10:31:42 by HTTrack Website Copier/3.49-2+libhtsjava.so.2 &lt;span style="color:#ff79c6"&gt;[&lt;/span&gt;XR&amp;amp;CO&amp;#39;2014&lt;span style="color:#ff79c6"&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;mirroring nenez9595.blogspot.com +*.png +*.gif +*.jpg +*.jpeg +*.css +*.js -ad.doubleclick.net/* with the wizard help..
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;* https://79d206c1-a-62cb3a1a-s-sites.googlegroups.com/site/123funjokes4all/creationjdate.js?attachauth&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;ANoY7cpRQ9lcY_QaSXG51nMX9B6Rh_yEWa4uCVOfi1W9oEmCvOMBxPW60ISSTXsw7lQTaG0oph901yfgGh6K21rTHkbku0Kxa5qhD9xP1kTaaL7Cmq18Op6QboJBPIL0H9d97548/9515: nenez9595.blogspot.com/search/label/Emak dan abah - u will find them there &lt;span style="color:#ff79c6"&gt;if&lt;/span&gt; you want &lt;span style="color:#ff79c6"&gt;else&lt;/span&gt; .. go n find their faces elsewhere%2F got u%3F?updated-max&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;2012-04-17T02:59:00-07:00&amp;amp;max-results&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;20&amp;amp;&lt;span style="color:#8be9fd;font-style:italic"&gt;start&lt;/span&gt;&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;20&amp;amp;by-date&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;&lt;span style="color:#8be9fd;font-style:italic"&gt;false&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;(&lt;/span&gt;&lt;span style="color:#bd93f9"&gt;65752&lt;/span&gt; byPANIC! : Too many URLs : &amp;gt;99999 &lt;span style="color:#ff79c6"&gt;[&lt;/span&gt;3031&lt;span style="color:#ff79c6"&gt;]&lt;/span&gt;d-max&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;2016-07-10T14:51:00-07:00&amp;amp;max-results&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;3&amp;amp;reverse-paginate&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;true&amp;amp;&lt;span style="color:#8be9fd;font-style:italic"&gt;start&lt;/span&gt;&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;102&amp;amp;by-date&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;&lt;span style="color:#8be9fd;font-style:italic"&gt;false&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;(&lt;/span&gt;&lt;span style="color:#bd93f9"&gt;77312&lt;/span&gt; bytes&lt;span style="color:#ff79c6"&gt;)&lt;/span&gt; - OK
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Done.
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Thanks &lt;span style="color:#ff79c6"&gt;for&lt;/span&gt; using HTTrack!
&lt;/span&gt;&lt;/span&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;real 1839m37.861s
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;user 45m21.864s
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sys 5m44.017s&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Kemudian, aku &lt;code&gt;mv&lt;/code&gt; ke folder git dan cuba upload tapi ada isu limited fail size kat Github pulak:&lt;/p&gt;</description></item><item><title>Changelog / History</title><link>https://journal.robbi.my/about/changelog/</link><pubDate>Fri, 25 Jun 2021 21:49:16 +0800</pubDate><guid>https://journal.robbi.my/about/changelog/</guid><description>&lt;h2 id="version-10---12-blogger-drupal-and-wp"&gt;Version 1.0 - 1.2 (Blogger, Drupal and WP)&lt;/h2&gt;
&lt;p&gt;&lt;img src="https://journal.robbi.my/about/changelog/Screenshot_20210625_215855.png" alt=""
 class="mx-auto block cursor-zoom-in"
 data-zoomable
 loading="lazy" /&gt;
&lt;/p&gt;
&lt;p&gt;Look at that! This is my first design for my personal blog. I just use &lt;a href="https://robbinespu.blogspot.com/"&gt;blogger platform + blogspot domain&lt;/a&gt; at this time, thus theme a self redesign based on existing basic theme from a blog (I forgot her name, but she are undergrad from UTeM that time).&lt;/p&gt;
&lt;p&gt;The reason, I start write a blog is because my lecturer &lt;a href="https://robbinespu.github.io/ms/2018/05/17/Goodbye_my_prof_madya_haji_sazali_khalidon.html"&gt;Profesor Madya Dr Hj Mohd Sazali (allahyarham)&lt;/a&gt;, encourage everyone to wrote. He said it okey if you can&amp;rsquo;t publish paper or book, but you can write a blog. Make it something useful as amal jariah (benefaction) to everyone who read it.&lt;/p&gt;</description></item><item><title>Hugo Toc (Table of Content) with spoiler</title><link>https://journal.robbi.my/posts/210624010826/</link><pubDate>Thu, 24 Jun 2021 13:08:26 +0800</pubDate><guid>https://journal.robbi.my/posts/210624010826/</guid><description>&lt;p&gt;I wonder how to create ToC (Table of Content) using Hugo and it seem much easier compare to Jekyll, because it have built in function &lt;code&gt;{{ .Page.TableOfContents }}&lt;/code&gt; that ready to use . But I still need hacking the some files, to make it prettier. I will document it and share here.&lt;/p&gt;

&lt;nav id="TableOfContents"&gt;
 &lt;ul&gt;
 &lt;li&gt;&lt;a href="#set-suitable-variable-on-configyml"&gt;Set suitable variable on &lt;code&gt;config.yml&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#add-new-shortcode-template"&gt;Add new &lt;code&gt;shortcode&lt;/code&gt; template&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#some-touch-up-and-make-up"&gt;Some touch-up and make-up&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#read-to-use"&gt;Read to use&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
&lt;/nav&gt;

&lt;h2 id="set-suitable-variable-on-configyml"&gt;Set suitable variable on &lt;code&gt;config.yml&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;Open &lt;code&gt;config.yml&lt;/code&gt; and put snippet provided below on your file. You know how to find it right?&lt;/p&gt;</description></item><item><title>Moving out from Jekyll to Hugo</title><link>https://journal.robbi.my/indieweb/210618123047/</link><pubDate>Fri, 18 Jun 2021 12:30:47 +0800</pubDate><guid>https://journal.robbi.my/indieweb/210618123047/</guid><description>&lt;h2 id="peace-be-upon-you-and-hi-everyone"&gt;Peace be upon you and hi everyone!&lt;/h2&gt;
&lt;p&gt;Is there anybody out there? Nod if you can hear me :)&lt;/p&gt;
&lt;p&gt;Now I moving out from Jekyll to Hugo static web generator. I been using Jekyll since &lt;a href="https://robbinespu.github.io/eng/2017/03/12/Newborn.html"&gt;2017&lt;/a&gt; which is longer then I expected. The reason why I love static website is I don&amp;rsquo;t need to much backend stuff running and keep patching vulnerability updating dependency too much. Static HTMl, CSS and JS is safer and easier for me to maintain and can be deployed anywhere I want without hassel.&lt;/p&gt;</description></item></channel></rss>