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

What are people using to test their website's accessibility (a11y)?

Since I use Hugo to generate the pages, my source is all Markdown, so I was hoping to find something I can just point at my website, like a linter. Unless there's a Markdown a11y linter I don't know about…

#accessibility #a11y #markdown #hugo

zeroiee, to aitools
@zeroiee@techhub.social avatar

We are currently testing the use of Hugo with the Docsy theme for the distribution of manuals for our products.

Since we already use Hugo to generate our homepage and blog, it made sense to use a tool that we already know.

The biggest advantage of a static site generator like Hugo is that we don't have to worry about security problems in the web application.

❓ Which tools do you use - and why?

https://gohugo.io/

https://www.docsy.dev/

#hugo #staticSiteGenerator #zeroiee #products #manual #web #docsy

ascherbaum, to Blog
@ascherbaum@mastodon.social avatar
freemo, to fediverse
@freemo@qoto.org avatar

So its done! I finally released a fairly easy to install (from scratch) Hugo based Static Site generator with full ActivityPub support.

It has step-by-step instructions on how to set it up for your own blog or static website.

One of the coolest features for me, other than having your static site blog posts show up as posts in the Fediverse is the support for interacting with those posts. Any replies you leave, likes, or boosts will show up in the "comments" section of the website on the page associated with the post. How cool is that!


QT: https://fedipage.com/news/fedipage-v1-0-1-released/

andyc, to emacs
@andyc@mastodon.org.uk avatar

My never ending research into orgroam is still ongoing.

But the need, not just for #emacs everywhere, but #orgmode everywhere posed the obvious question - why use Markdown for your Hugo blog?

Turns out #Hugo supports native orgmode posts which can coexist with the existing Markdown content.

A test post confirmed this but only after I had to upgrade the Papermod theme and tweak the Netlify configuration for the latest Hugo version.

#yakshaving

remixtures, to webdev Portuguese
@remixtures@tldr.nettime.org avatar

: “If you’ve ever wondered how a website works and whether or not you could build your own, this book is for you. The Static Site Guide walks you through the process of building a website from scratch by using hands-on examples. You’ll learn what a website is and how some of the most popular website technology works. By the time you reach the end, you’ll have built your very own website, and you’ll know how to do it again on your own.” https://www.staticguide.org/

joel, to mastodon
@joel@fosstodon.org avatar

A tutorial on how to add based comments to your static website using (probably will work on too)

This is day 69 (nice) of

Make sure to leave a comment if you want to test it yourself, although it has worked for a while now :P

https://joelchrono12.xyz/blog/how-to-add-mastodon-comments-to-jekyll-blog/

skyfaller, (edited ) to random
@skyfaller@jawns.club avatar

We're back to my recurring nightmare of making it easy for a non-technical client to edit a static website generated using #Hugo.

Are there any good solutions? Or am I going to end up writing my own solution after many painful hours with other people's janky solutions?

If you know of a non-technical user successfully editing a static website, how are they doing it?

EDIT: I'll only use open source solutions I can self-host, but happy to hear about proprietary options.

#SSGs #StaticWebsites

cschrader,
@cschrader@jawns.club avatar

@skyfaller I have thought about this in the past. I know there are CMSses designed to work with static sites, like this one for #jekyll, though I’ve never evaluated any.

There’s got to be something similar for
#hugo, though cost may be a concern if it’s an enterprise focused tool.

https://www.siteleaf.com/

lsn, to random
@lsn@fedi.libresolutions.network avatar
mblayman, to django
@mblayman@mastodon.social avatar

🔨 Want to see how to integrate a #Hugo static site inside of a #Django app without using a reverse proxy like Nginx or a separate subdomain? Check this out! https://www.mattlayman.com/blog/2020/hugo-blog-in-django-app/

weirdwriter, to RSS

Spent a week trying to improve the RSS on my new test Hugo site, because the one they give you is second class, and I had no luck. I broke it 3 times, made it worse twice, somehow erased it completely, so I finally thought hey there's far better nerds than me out there so I looked around, found this, and forked it! https://gist.github.com/LorenDB/2faa2bb78885806c8d4c914d01130e1e #Hugo #RSS

geordie, to random
@geordie@aus.social avatar

Can anyone give me pointers as to why embedding PDFs or linking to them or otherwise acknowledging their existence is impossible in Hugo?

geordie,
@geordie@aus.social avatar

#Hugo docs state that the "root" of your resultant website is /static, and anything in there can be referenced as the root, and they're lying, and I'll set them on fire in front of their families.

webology, to random
@webology@mastodon.social avatar

🎒 Everyone struggles with Django's static files: https://micro.webology.dev/2024/04/30/everyone-struggles-with.html

e11bits,
@e11bits@fosstodon.org avatar

@webology Using #hugo the last couple of days I asked myself what the difference is between the assets and static folder? And I wasn't the first. So assets hosts files that can/must be processed and static contains files that are used as is. For #Django I think it is more obvious what the purpose of those two directories are by naming them static/src and static/public as suggested by @josh.

hl, to emacs
@hl@social.lol avatar

If you use and to write your posts, it took me a minute to understand how to use HTML quoting to get things like details/summary tags working, but others might find that useful too:
https://www.henryleach.com/2024/04/adding-details/summary-to-hugo-org-mode-posts

mblayman, to random
@mblayman@mastodon.social avatar

💡 My personal website used to run with a static site generator that I created on my own. Even though I had a fully customized site generator, I switched to #Hugo. This article explains why I would do such a thing. https://www.mattlayman.com/blog/2018/tale-two-site-generators/

e11bits, to rust
@e11bits@fosstodon.org avatar

Want to change a file with structured data from json, yaml or toml to any of those formats? E.g. a config file from toml to yaml?

I think one of the easiest way to do this is using the tool convfmt.

If you have installed, installing convfmt is just as quick as:

cargo install convfmt

After that the transformation from toml to yaml is just this:

convfmt -f toml -t yaml < hugo.toml > hugo.yaml

Helps if you start from an example project with an hugo.toml config.

jackgilmore, to webdev

As I delve into yet another data analytics project, I'm wondering what static site generators folks are using these days?

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

New post - Auto-deploy: Hugo and Codeberg CI https://taffer.ca/posts/2024/hugo-ci/

A description of how I’ve set up Codeberg’s CI to automatically build and deploy changes to my website.

potatomeow, to javascript
@potatomeow@fosstodon.org avatar

trying out #Hugo atm, i have a feeling that this framework might be more suitable for me than Astrojs from #javascript since i only care for writing contents in markdown...

mapache, to fediverse
@mapache@hachyderm.io avatar

Part 3 of "A Guide to Implementing ActivityPub in a Static Site (or Any Website)" is just out the oven!

In this blog post, I explain how to make your blog discoverable in the Fediverse as an account, and also address some of the annoying pitfalls I encountered.

Full article here: https://maho.dev/2024/02/a-guide-to-implementing-activitypub-in-a-static-site-or-any-website-part-3/

If you like it don't forget to follow the @blog !

#fediverse #activitypub #static-sites #hugo #azure #mastodon #web-development #social-web #webfinger #http

foolishowl, to random
@foolishowl@social.coop avatar

I was looking at some discussion of static site generators and whether one could be used for blogs since it was designed for documentation.

FFS. A blog is just text with a date at the top, and optionally hyperlinks to whatever you're talking about. Bonus points for an index of titles and dates.

I keep thinking that all the crap we've layered on top of web pages is hostile and anti-democratic, that it's all gatekeeping, that the original point was to make it easy to publish text and share it.

jonobie,
@jonobie@social.coop avatar

@foolishowl That’s so odd - even a cursory look at something like #hugo / #GoHugo reveals a ton of themes that are for documentation OR blogs. (I found fewer themes for SSG for small service-oriented businesses, which surprised me because it seems so obviously suited for that niche.)

Agree about your hostile comment tho. A lot out there is way more complex than it needs to be.

mapache, to fediverse
@mapache@hachyderm.io avatar

Part 6 of "A Guide to Implementing ActivityPub in a Static Site (or Any Website)" is now out.

Sorry about the delay, this is the part that not many people will like, I assume. I try to explain how to implement the inbox, which by nature is dynamic non-static.

Full article here:
https://maho.dev/2024/04/a-guide-to-implementing-activitypub-in-a-static-site-or-any-website-part-6/

If you like it don't forget to follow the @blog !

darth, to webdev
@darth@silversword.online avatar

I need advice or a hint from @gohugoio users. I want to make a fairly simple static webpage for a small restaurant, but the complex part is that they need to be able to edit this week’s menu. If I were the one editing the menu, that would be a no-brainer: SSH into my dev machine, edit the MD file, and do a simple git push. However, I need to make it simple for them, the restaurant staff. Please ping me if you have ideas.

#WebDev #HUGO

henrikjernevad, to programming
@henrikjernevad@mastodon.social avatar

Since I've gotten exactly one webmention for my blog, I obviously had to put some work in to display this webmention on my blog. 😄 Had to do some reading to figure out how to make Hugo download external resources, but otherwise it was pretty smooth sailing. Much thanks to https://webmention.io/. Still not implemented sending webmentions yet though.

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