boulesdefourrure, to random French
@boulesdefourrure@piaille.fr avatar

Wow wow wow @Bouletcorp et @ZachWeinersmith congrats for the 2024 Hugo nomination !
https://glasgow2024.org/hugo-awards/2024-hugo-award-finalists/

weirdwriter, to 11ty

Making a getting started guide for screen reader users that want to try a Static Site Generator and I was sad to discover that is not in any Windows package manager I can find. If this isn’t correct let me know so I can get this right. For now, looks like the guide will be for Hugo

eclecticpassions, to Bash

New post on my Hugo blog! It's about using a #bash script to help load weather data faster in #neofetch, via wttr.in.

https://www.burgeonlab.com/posts/2024/speed-up-loading-times-wttr-neofetch/

Credit to @adamsdesk for sharing his original script on his blog. https://www.adamsdesk.com/posts/neofetch-weather-data-caching/

#BurgeonLab
#bash_scripting #terminal #cli #techblog #weatherdata #BeginnerCoder #Hugo #StaticWebsites

lffontenelle, to mastodon
@lffontenelle@mastodon.social avatar

Dear #QuartoPub folks,

I fancy using #Mastodon as a comment system for my blog but the solutions I found were made for #Hugo. How bad would it be if I reused them in my #Quarto blog?

Example:

https://github.com/dpecos/mastodon-comments

🙏 :ivory_boost:

ascherbaum, to python
@ascherbaum@mastodon.social avatar

My blog is running with , and I have a script which runs as pre-commit and checks all files.

Things like:

  • certain keywords are cursive
  • certain tags exist, based on content
  • invalid links
  • http links
  • code blocks are marked
  • preview image exists
  • preview text exists
  • ... some more

Is this something other people are interested in? Then I make the script configurable, and more formal.

ascherbaum, to markdown
@ascherbaum@mastodon.social avatar

Check your postings for a number of common problems and issues before publishing a post.

Each part is configurable. Probably works with tools like too. Works standalone, or as pre-commit check. And comes with a suite of tests if you want to add new checks.

https://github.com/andreasscherbaum/check-markdown-files

ascherbaum, to random
@ascherbaum@mastodon.social avatar

My list of talks is a data template for a while now. That's now enriched with metadata, especially coordinates. And the website got a map showing all the locations.

https://andreas.scherbaum.la/writings/

dantleech, (edited ) to random
@dantleech@fosstodon.org avatar

why would you have a static site generator with a readFile function that ignores files that don't exist? is there a way to make panic?

milosz, to random

Light or dark, dark or light, I spy with me one good eye that both themes be stayin’, arrr!

mapache, to Blog
@mapache@hachyderm.io avatar

Keeping things simple helps me to focus my time and resources. One of such features is the "Subscribe" modal on my site.

This is a quick note about how you can implement it too:
https://maho.dev/2024/03/implementing-subscribing-to-your-site-feature-with-mastodon/fediverse-accounts/

milosz, to random

Unshallow your git repository when you want to use gitinfo.

This is a time-saving tip.

stefan, (edited ) to random
@stefan@stefanbohacek.online avatar

Why don't you have a personal website?

aligyie,
@aligyie@digitalcourage.social avatar
cjoly, to random
@cjoly@fosstodon.org avatar

Just discovered this very cool feature: Fast Render Mode. It is enabled by default: when you run hugo serve, hugo maintains a list of pages opened or recently navigated to and renders only those pages!

With my site, incremental builds go from about 50ms when the feature is disabled (fast already) to about 15ms 🔥 !

It was introduced back in 2017: https://hugo-docs.netlify.app/en/news/0.30-relnotes/ and improved in subsequent releases, like https://v0-112-0--gohugoio.netlify.app/news/0.50-relnotes/

revoluciana, to privacy
@revoluciana@chaosfem.tw avatar

Best options for simple #analytics that are #privacy-focused?

Use: personal #blog with modest traffic made with #Hugo, paired with #Buttondown

milosz, (edited ) to random

I will describe the way I use cal-heatmap on website, but now I need to take a break.

I like that I can liven up a static website by displaying the GitLab activity or entries from the Mastodon server.

milosz, to random

I'm working on a calendar heatmap for my site generated from a personal instance. This is !

ascherbaum, to markdown
@ascherbaum@mastodon.social avatar

Blockquotes in Hugo

Hugo uses Markdown to create the content, which is then parsed into static HTML. One of the features of Markdown are quotes. Multiline quotes (block quotes) are possible, but they are not very intuitive.

https://andreas.scherbaum.la/post/2024-03-01_blockquotes-in-hugo/

andreagrandi, to markdown

Short codes in make your files much cleaner, but you are essentially locking yourself in a specific static site generator.

If you use a lot of them and in the future you decide to migrate your content to something else (like I recently did from ) good luck with that.

shalien, to tumblr French
@shalien@projetretro.io avatar

🧵 Ça fait quelques jours, depuis le début de "l'affaire" que ça me trotte dans la tête. Ce thread va mélanger éléments techniques, un peu de vie pro et de vie perso donc désolé par avance. appartient au groupe , une société connue notamment pour son . Aussi loin que je me rappelle déjà en 2021 en BTS, était LE CMS, l'incontournable. Mais comme tout logiciel à des défauts, des gros défuts 1/?

shalien,
@shalien@projetretro.io avatar

Le mec qui copie par dessus ton épaule en devoir surveillé. Ils prennent ton travail, le déforme et le font passer pour le leurs .Donc symboliquement, je vais supprimer mes projets sur , tout comme je supprimerai mon compte et que j'ai déjà supprimer mon compte . Je ne veux pas vivre enfermé et espionné. Donc sans doute que bientôt vous verrais un projet sous , ou mais en tout cas pas sous .

Taffer, to HowTo
@Taffer@mastodon.gamedev.place avatar

New post - Hashtags Hugo https://taffer.ca/posts/2024/hashtags-hugo/

If this works, I figured out how to add a post’s tags to the RSS feed’s <description> block.

Taffer,
@Taffer@mastodon.gamedev.place avatar

Yay, it worked! #howto #Hugo

Taffer, to random
@Taffer@mastodon.gamedev.place avatar

Is anyone using Hugo https://gohugo.io/ to write blog posts on their website, and then MastoFeed https://mastofeed.org/ to auto-post them to Mastodon?

How do you include post tags/categories as tags on Masto?

milosz, to fun

Sunday: A simple shell script and lots of generating git commits.

Weekly branches and a little commit helper make writing a blog a breeze*.

*At least for me.

preslavrachev, to blogging
@preslavrachev@mastodon.social avatar

Is @writefreely still a thing? I love Hugo as a blog creation tool, but there’s a ton of friction when creating new posts. I need something lightweight that will allow me to jot down short posts quickly, as soon as a new idea pops in my head. Plus, the ActivityPub integration is an added bonus.


binarydigit, to github
@binarydigit@social.lol avatar

Moving my Hugo Website to Neocities and Deploying with GitHub Actions

https://binarydigit.cafe/notes/neocities-github-actions/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines