<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>MicroBlog &amp;mdash; Attach to Process</title>
    <link>https://devblog.dinobansigan.com/tag:MicroBlog</link>
    <description>Thoughts and Notes on Software Development</description>
    <pubDate>Mon, 27 Apr 2026 16:47:47 +0000</pubDate>
    <image>
      <url>https://i.snap.as/4wmUdb6N.png</url>
      <title>MicroBlog &amp;mdash; Attach to Process</title>
      <link>https://devblog.dinobansigan.com/tag:MicroBlog</link>
    </image>
    <item>
      <title>Hide Publish Date Using JavaScript</title>
      <link>https://devblog.dinobansigan.com/hide-publish-date-using-javascript?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[I am using the Lanyon theme on my micro.blog hosted photo-blog. I noticed that the Published Date was showing up on my about page. Here is how I managed to hide it using some JavaScript.&#xA;&#xA;script type=&#34;text/javascript&#34;&#xA;var isAboutPage = /\/about\/$/i.test(window.location.href);&#xA;if (isAboutPage) {&#xA;  var x = document.getElementsByClassName(&#34;post-date&#34;);&#xA;  if (x) {&#xA;    x[0].remove();&#xA;  }&#xA;}&#xA;/script&#xA;&#xA;I added the script to the layouts/partials/default_foot.html file, just before the closing /body tag.&#xA;&#xA;This is a result of me playing around with Custom JavaScript on my write.as sites. I was able to carry over what I learned here and use it to fix something on another website. One of the best benefits of maintaining a personal website, is brushing up on your HTML, CSS and JavaScript skills.&#xA;&#xA;Tags: #JavaScript #MicroBlog&#xA;&#xA;a href=&#34;https://remark.as/p/devblog.dinobansigan.com/hide-publish-date-using-javascript&#34;Discuss.../a or leave a comment below.]]&gt;</description>
      <content:encoded><![CDATA[<p>I am using the <a href="https://github.com/microdotblog/theme-lanyon">Lanyon theme</a> on my micro.blog hosted <a href="https://dino.micro.blog/">photo-blog</a>. I noticed that the <em>Published Date</em> was showing up on my <a href="https://dino.micro.blog/about/">about page</a>. Here is how I managed to hide it using some JavaScript.</p>

<pre><code class="language-js">&lt;script type=&#34;text/javascript&#34;&gt;
var isAboutPage = /\/about\/$/i.test(window.location.href);
if (isAboutPage) {
  var x = document.getElementsByClassName(&#34;post-date&#34;);
  if (x) {
    x[0].remove();
  }
}
&lt;/script&gt;
</code></pre>

<p>I added the script to the <code>layouts/partials/default_foot.html</code> file, just before the closing <code>&lt;/body&gt;</code> tag.</p>

<p><em>This is a result of me playing around with Custom JavaScript on my <a href="https://write.as/">write.as</a> sites. I was able to carry over what I learned here and use it to fix something on another website. One of the best benefits of maintaining a personal website, is brushing up on your HTML, CSS and JavaScript skills.</em></p>

<p><em>Tags: <a href="https://devblog.dinobansigan.com/tag:JavaScript" class="hashtag"><span>#</span><span class="p-category">JavaScript</span></a> <a href="https://devblog.dinobansigan.com/tag:MicroBlog" class="hashtag"><span>#</span><span class="p-category">MicroBlog</span></a></em></p>

<p><strong><a href="https://remark.as/p/devblog.dinobansigan.com/hide-publish-date-using-javascript">Discuss...</a></strong> or leave a comment below.</p>
]]></content:encoded>
      <guid>https://devblog.dinobansigan.com/hide-publish-date-using-javascript</guid>
      <pubDate>Sat, 06 Feb 2021 00:33:57 +0000</pubDate>
    </item>
  </channel>
</rss>