<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Comment on ads' corner</title><link>https://andreas.scherbaum.la/tags/comment/</link><description>Recent content in Comment on ads' corner</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 08 May 2025 00:00:00 +0200</lastBuildDate><atom:link href="https://andreas.scherbaum.la/tags/comment/index.xml" rel="self" type="application/rss+xml"/><item><title>WARN deprecated: resources.ToCSS was deprecated in Hugo v0.128.0 and will be removed in a future release. Use css.Sass instead</title><link>https://andreas.scherbaum.la/post/2025-05-08_warn-deprecated-resources-tocss-was-deprecated-in-hugo-v0-128-0-and-will-be-removed-in-a-future-release-use-css-sass-instead/</link><pubDate>Thu, 08 May 2025 00:00:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2025-05-08_warn-deprecated-resources-tocss-was-deprecated-in-hugo-v0-128-0-and-will-be-removed-in-a-future-release-use-css-sass-instead/</guid><description>&lt;p&gt;While upgrading my &lt;em&gt;Arch&lt;/em&gt;/&lt;em&gt;Manjaro&lt;/em&gt; system I got &lt;em&gt;Hugo&lt;/em&gt; upgraded to version &lt;code&gt;0.128.0&lt;/code&gt;. It comes with a number of new features - and of course also some deprecations. One of the features going away is &lt;code&gt;resources.ToCSS&lt;/code&gt;, or rather it is renamed. I&amp;rsquo;m using - or used - this in my code for &lt;a href="https://andreas.scherbaum.la/post/2024-05-23_client-side-comments-with-mastodon-on-a-static-hugo-website/"&gt;Mastodon comments&lt;/a&gt;.&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&#10;&lt;table style="border-spacing:0;padding:0;margin:0;border:0;"&gt;&lt;tr&gt;&lt;td style="vertical-align:top;padding:0;margin:0;border:0;"&gt;&#10;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;1&#10;&lt;/span&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;2&#10;&lt;/span&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;3&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td style="vertical-align:top;padding:0;margin:0;border:0;;width:100%"&gt;&#10;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{{ $comments := resources.Get &amp;#34;css/comments.scss&amp;#34; }}&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{{ $style := $comments | resources.ToCSS | resources.Fingerprint }}&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&amp;lt;link rel=&amp;#34;stylesheet&amp;#34; href=&amp;#34;{{ $style.Permalink }}&amp;#34; integrity=&amp;#34;{{ $style.Data.Integrity }}&amp;#34;&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;The error message coming from the deprecated &lt;code&gt;resources.ToCSS&lt;/code&gt; is:&lt;/p&gt;</description></item><item><title>Hugo Blog: Find postings without comment id</title><link>https://andreas.scherbaum.la/post/2024-09-04_hugo-blog-find-postings-without-comment-id/</link><pubDate>Wed, 04 Sep 2024 00:00:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2024-09-04_hugo-blog-find-postings-without-comment-id/</guid><description>&lt;p&gt;In a previous blog posting I explained hwo to add comments using your &lt;em&gt;Mastodon&lt;/em&gt; account. It so happens that I occasionally forget to add the origin &lt;em&gt;Mastodon&lt;/em&gt; comment ID to the posting. So I wrote a script, and a cron job &amp;hellip;&lt;/p&gt;</description></item><item><title>Client-side comments with Mastodon on a static Hugo website</title><link>https://andreas.scherbaum.la/post/2024-05-23_client-side-comments-with-mastodon-on-a-static-hugo-website/</link><pubDate>Thu, 23 May 2024 13:11:27 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2024-05-23_client-side-comments-with-mastodon-on-a-static-hugo-website/</guid><description>&lt;p&gt;Ever since I &lt;a href="https://andreas.scherbaum.la/post/2023-11-25_new-blog/"&gt;moved this blog&lt;/a&gt; to &lt;a href="https://gohugo.io/"&gt;Hugo&lt;/a&gt; from &lt;a href="https://s9y.org/"&gt;Serendipity&lt;/a&gt;, I missing the comment option a bit. This is something which a static blogging engine does not offer out of the box. And I did not migrate all the comments from my old blog to my new blog.&lt;/p&gt;&#10;&lt;p&gt;Inspired by a couple of postings which integrate &lt;em&gt;Mastodon&lt;/em&gt; as &amp;ldquo;comments&amp;rdquo; into static blogs, I set out to add this to my own blog.&lt;/p&gt;</description></item></channel></rss>