mastodon.design is one of the many independent Mastodon servers you can use to participate in the fediverse.
A small instance for and by people who make things! We stand for an open, independent, sustainable, inclusive, and accessible web.

Administered by:

Server stats:

336
active users

#hugo

5 posts5 participants0 posts today
Mark B Tomlinson<p>I spent the day working on an AHK script to create the basics of a HUGO blog post. Including the post file and all the required frontmatter.</p><p>I had fun and frustration, the syntax of AHK is at time bizarre and nothing like any other scripting language I know.</p><p>I did it though and it is now working which is a nice thing for me.</p><p>I may do a post about it in the future for anyone else interesed in the method used.<br><a href="https://fosstodon.org/tags/Hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hugo</span></a> <a href="https://fosstodon.org/tags/ahk" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ahk</span></a> <a href="https://fosstodon.org/tags/script" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>script</span></a></p>
Scott Laird<p>Did you know that by default your zippy static website created with <a href="https://hachyderm.io/tags/hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hugo</span></a> and served via <a href="https://hachyderm.io/tags/caddy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>caddy</span></a> doesn't support HTTP content compression? And did you know that of the three common compression options (gzip, zstd, and brotli), brotli gets substantially better compression results for most content (better than zstd!) and is supported by basically everything?</p><p>I wrote up a few details here:</p><p><a href="https://scottstuff.net/posts/2025/03/09/precompressing-content-with-hugo-and-caddy/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">scottstuff.net/posts/2025/03/0</span><span class="invisible">9/precompressing-content-with-hugo-and-caddy/</span></a></p><p>I also wrote a tool to make pre-compressing directories full of web pages much less complicated, see <a href="https://github.com/scottlaird/incremental-compress" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/scottlaird/incremen</span><span class="invisible">tal-compress</span></a>.</p>
Mark B Tomlinson<p>Checked out Obsidian today on my HUGO web site, and it looks really nice, I can actually use it to create content that looks like it will look when posted. Nice work <a href="https://fosstodon.org/tags/obsidian" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>obsidian</span></a> devs.<br>Tip: you can toggle properties to make the view cleaner.<br><a href="https://fosstodon.org/tags/blog" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>blog</span></a> <a href="https://fosstodon.org/tags/Hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hugo</span></a></p>
AliveDevil<p><a href="https://tauri.earth/tags/Hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hugo</span></a>, why is there no option to perform a full rebuild of the entire site if some file changed (when watching for changes)?<br>If I change the title of one page, none of the other pages is rebuilt, and menu entries get out-of-date very fast.</p><p><a href="https://tauri.earth/tags/StaticSite" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>StaticSite</span></a> <a href="https://tauri.earth/tags/SelfHost" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SelfHost</span></a> <a href="https://tauri.earth/tags/Blog" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Blog</span></a></p>
Bastian Greshake Tzovaras<p>I've written about how we've migrated the <span class="h-card" translate="no"><a href="https://genomic.social/@OpenBio" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>OpenBio</span></a></span> website from Wordpress to Hugo. Which was surprisingly easy, especially given that the OBF website has been around since _2001_, so there's nearly 25 years worth of blog posts, conference pages etc.</p><p><a href="https://tzovar.as/migrating-from-wp/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">tzovar.as/migrating-from-wp/</span><span class="invisible"></span></a></p><p><a href="https://scholar.social/tags/hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hugo</span></a> <a href="https://scholar.social/tags/wordpress" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wordpress</span></a> <a href="https://scholar.social/tags/openscience" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>openscience</span></a></p>
barefootstache<p>Currently working on a <a href="https://qoto.org/tags/cli" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cli</span></a> tool to aid in publishing <a href="https://qoto.org/tags/ssg" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ssg</span></a> sites onto <a href="https://qoto.org/tags/Codeberg" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Codeberg</span></a> pages. </p><p>It uses two <a href="https://qoto.org/tags/git" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>git</span></a> repos over relying on <a href="https://qoto.org/tags/cicd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cicd</span></a> with the production being saved on a git submodule. This will then ease the process of setting up custom domains.</p><p>It has the option to setup git hook pre-commit to prevent the development build to be published thus preventing the breakage of the site.</p><p>Currently it works with <a href="https://qoto.org/tags/hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hugo</span></a> and plan to extend to other SSG tools.</p><p>Looking for a suitable name for the tool before publishing the code, any suggestions are welcome!</p><p><a href="https://qoto.org/tags/opensource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opensource</span></a></p>
Jan Wildeboer 😷:krulorange:<p>Can someone point me to an explainer on what is happening in the <a href="https://social.wildeboer.net/tags/Hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hugo</span></a> SSG (Static Site Generator) community? I hear stuff about "pay for features" but 'm not really sure what is happening. (FTR, I still happily rely on <a href="https://social.wildeboer.net/tags/Jekyll" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Jekyll</span></a> for my sites, but am always willing to try alternatives and Hugo was obviously a possible choice)</p>
Alexander Deplov 🇩🇪<p>Another example. These visual elements help to control reader's attention and look better. Now the previous version of the site looks like a low-fidelity prototype, ha. </p><p>Before and After:</p><p><a href="https://mastodon.social/tags/css" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>css</span></a> <a href="https://mastodon.social/tags/hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hugo</span></a> <a href="https://mastodon.social/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a> <a href="https://mastodon.social/tags/landing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>landing</span></a></p>
Alexander Deplov 🇩🇪<p>Working on a personal website update. I got bored with the simplicity of a solid background and only gray colors. I want something that looks more interesting.</p><p>Before and After:</p><p><a href="https://mastodon.social/tags/css" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>css</span></a> <a href="https://mastodon.social/tags/hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hugo</span></a> <a href="https://mastodon.social/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a></p>
troz<p>My website at <a href="https://troz.net" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">troz.net</span><span class="invisible"></span></a> is down right now. I made the switch to Eleventy and the DNS change is propagating.</p><p>Changing to Eleventy was fun - once the site is up again, I'll post about my experiences doing the migration from Hugo.</p><p><a href="https://mastodon.social/tags/DNS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DNS</span></a> <a href="https://mastodon.social/tags/Eleventy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Eleventy</span></a> <a href="https://mastodon.social/tags/Hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hugo</span></a></p>
Mark B Tomlinson<p>Blog post:<br>Adding image zoom on click to a HUGO Blog:<br><a href="https://markbtomlinson.com/post/2025/image-zoom-hugo/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">markbtomlinson.com/post/2025/i</span><span class="invisible">mage-zoom-hugo/</span></a><br><a href="https://fosstodon.org/tags/Hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hugo</span></a></p>
Guillaume<p>Après 1 journée de travail avec <a href="https://mamot.fr/tags/cecilapp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cecilapp</span></a> j'ai "terminé" toutes les pages de mon site (refonte de <a href="https://www.atlza.com" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">atlza.com</span><span class="invisible"></span></a> )</p><p>Restent 2 choses : <br> - le passage à <a href="https://mamot.fr/tags/tailwindcss" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tailwindcss</span></a> 4 qui se fait dans la douleur (il ne trouve que la moitié des classes utilisées)<br> - les flux <a href="https://mamot.fr/tags/rss" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rss</span></a>. Ca va être le gros morceau, objectif : 1 flux par par page et 1 flux global, le tout aux formats Rss et <a href="https://mamot.fr/tags/jsonfeed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jsonfeed</span></a> !</p><p>Pour le reste pour un dev <a href="https://mamot.fr/tags/php" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>php</span></a> Cecil est très facile à prendre en main, bien plus que <a href="https://mamot.fr/tags/hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hugo</span></a> </p><p>cc <span class="h-card" translate="no"><a href="https://gazuji.com/@arnaud" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>arnaud</span></a></span></p>
Mark B Tomlinson<p>Spent the morning sorting out my HUGO configurations as it was no longer compatible with the latest release. The theme was also in need of a refresh as it contained old config codes now removed. <br>Pay attentions to the warnings 😂</p><p><a href="https://fosstodon.org/tags/Hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hugo</span></a></p>
Adam Bishop<p>I really like Markdown, but it was taking me ages to hand copy over old posts from an old WordPress site to a new Hugo site.</p><p>Thank goodness I discovered the npx tool: npx wordpress-export-to-markdown, which converts a standard WordPress xml export to Markdown.</p><p>Saved me a week of work I reckon!</p><p>🙏</p><p><a href="https://floss.social/tags/Markdown" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Markdown</span></a> <a href="https://floss.social/tags/WordPress" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WordPress</span></a> <a href="https://floss.social/tags/Hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hugo</span></a> <a href="https://floss.social/tags/webDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webDev</span></a></p>
Evan<p>I spent a lot of the day hacking away and making good progress on that <a href="https://social.lol/tags/hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hugo</span></a> blog I was struggling with last night. </p><p>It is odd that the official docs have you start by installing a theme when the majority of the themes on their official repository are outdated for the current structures and schema. </p><p>It would be better if they walked you through the basics of getting a "hello world" out there so you knew _how_ it worked, but I got there eventually. </p><p>Now to fix the json feed tomorrow.</p>
Guillaume<p>Bon j'en ai marre d'Hugo ! </p><p>J'ai envie d'un générateur de site statique que je comprenne un minimum (voir pourquoi pas auquel je puisse contribuer). Après avoir étudié la question et espionné les conversations de <span class="h-card" translate="no"><a href="https://piaille.fr/@progi1984" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>progi1984</span></a></span> et <span class="h-card" translate="no"><a href="https://gazuji.com/@arnaud" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>arnaud</span></a></span> Cecil semble une bonne option avec ses templates <a href="https://mamot.fr/tags/twig" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>twig</span></a> ...</p><p>Je me lance donc là-dessus ! <br>(bon pour l'instant je galère à lui faire accepter Tailwind)</p><p><a href="https://mamot.fr/tags/StaticWebsites" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>StaticWebsites</span></a> <a href="https://mamot.fr/tags/hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hugo</span></a> <a href="https://mamot.fr/tags/cecilapp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cecilapp</span></a></p>
Luis Falcon<p>Slide from my talk "Open Science for Medicine and Society" at Komazawa university. Using GNU Health to select a BRCA1 variant involved in breast <a href="https://todon.eu/tags/cancer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cancer</span></a> and the 3D representation of the BRCT domain using PyMOL.<br>Having access to the latest scientific evidence makes a huge difference in patients, yet medical research is being dismantled by <a href="https://todon.eu/tags/corporatocracy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>corporatocracy</span></a>. <br>Medicine and society evolves not because of the bullshit hype of AI, but because of the effort and talent of the men and women behind these projects. Respect :anarchoheart3: 🩺 <br><a href="https://todon.eu/tags/UniProt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UniProt</span></a> <a href="https://todon.eu/tags/HUGO" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HUGO</span></a> <a href="https://todon.eu/tags/GNUHealth" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GNUHealth</span></a> <a href="https://todon.eu/tags/PyMOL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PyMOL</span></a> <a href="https://todon.eu/tags/NIH" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NIH</span></a> <a href="https://todon.eu/tags/genomics" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>genomics</span></a> <a href="https://todon.eu/tags/OpenScience" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenScience</span></a></p>
Herbert Hertramph<p>Neuer Blog-Artikel:<br>"HTMLy. Das Brot-und-Butter Blogsystem"</p><p>Funktioniert ohne Datenbank, Installation ist in wenigen Sekunden erledigt, hat eine Vielzahl von Besonderheiten.</p><p>Kann für kleinere Blog-Vorhaben eine gute Alternative zu WordPress sein.</p><p><a href="https://digital-cleaning.de/index.php/htmly-das-brot-und-butter-blogsystem/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">digital-cleaning.de/index.php/</span><span class="invisible">htmly-das-brot-und-butter-blogsystem/</span></a></p><p><a href="https://bildung.social/tags/blog" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>blog</span></a> <a href="https://bildung.social/tags/flatfile" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>flatfile</span></a> <a href="https://bildung.social/tags/hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hugo</span></a> <a href="https://bildung.social/tags/wordpress" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>wordpress</span></a></p>
Robert Kingett<p>So I’m playing around with <a href="https://caneandable.social/tags/Hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hugo</span></a> modules, and this really is a much easier way to do Hugo. Is there a database of these modules somewhere? Maybe like a getting started directory for modules that you can use other than themes? somewhere? I know you can use them for other things, but I’m having trouble figuring out what else to use them for other than themes. When I launch the new website, I’m going to upgrade my static site generator guide because this is so much easier. <a href="https://caneandable.social/tags/SSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SSG</span></a> <a href="https://caneandable.social/tags/staticSite" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>staticSite</span></a></p>
Benjamin Balder Bach<p>I'm using GitHub pages as a free static webhost for small Hugo projects w/ their own build automation. And their own domain.</p><p>This makes it possible for website owner to make changes in markdown files and the website is built and deployed. It also makes it easy for me to follow and support via Git.</p><p>Are there any hosting alternatives for Hugo that are more FOSS but also very easy and cheap (doesn't have to be free, but I've found some that are way too pricey) ?</p><p><a href="https://social.data.coop/tags/hugo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hugo</span></a></p>