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/

BryceWrayTX, to webdev
@BryceWrayTX@fosstodon.org avatar

Post >> Using Lightning CSS with Hugo: back to the workaround • Why a clear separation between dev mode and prod mode made sense.

https://www.brycewray.com/posts/2024/02/using-lightning-css-hugo-back-workaround/

claudinec, to random
@claudinec@aus.social avatar

As someone who reads science fiction and occasionally updates my blog built with a static site generator... the hashtag is a bit confusing these days. Maybe and are less ambiguous?

andreagrandi, to Blog

If I had to name one thing I really dislike about static website generator is that almost every theme has its own specific configuration, syntax and set of specific things.

Even for very standard things like copyright in the footer or social network links (I understand custom icons and where to render, not specific config), they need specific config 😕

This, added to the fact I really suck at frontend, is making my migration a real pain.

joeo10, to sciencefiction
@joeo10@mastodon.sdf.org avatar

Wow, there's a great report that's now live that reveals some authors have been excluded from Hugo Awards considerations in order to not piss off China. This kills any credibility the Hugos have now surely. https://file770.com/the-2023-hugo-awards-a-report-on-censorship-and-exclusion/

More coverage: https://www.theguardian.com/books/2024/feb/15/authors-excluded-from-hugo-awards-over-china-concerns

#Hugo #HugoAwards #sciencefiction #books #fantasy #authors #novel

me, to random

Bastel gerade ein wenig mit und dem Theme rum und ich glaube, ich werde meinen Blog dorthin umziehen.

Das von mir unter eingesetzte Theme bekommt nämlich schon lange keine Updates mehr. Ärgere mich damals dafür Geld investiert zu haben.

Wenn ich den Umzug mache, bekommt der Blowfish Entwickler dann eine Spende.

lebochequirit, to webdev German
@lebochequirit@social.tchncs.de avatar

Hat irgendjemand von Euch eine Website mit Hugo, Jekyll oder einem anderen SSG mit einem Kontaktformular, das Daten nicht an Drittanbieter ausleitet? Wie habt Ihr das gebaut? Und wie sichert ihr es ohne Google Captcha gegen Spam?

BryceWrayTX, to webdev
@BryceWrayTX@fosstodon.org avatar

Post >> PurgeCSS joins my new styling stack • I stay in CLI City as I continue using Lightning CSS with my Hugo site.

https://www.brycewray.com/posts/2024/02/purgecss-joins-my-new-styling-stack/

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 !

-sites -development -web

adele, to random
@adele@phpc.social avatar

If you are looking for a theme for static site generator, have a look to "Smol" theme:

https://themes.gohugo.io/themes/smol/

It covers guidelines:
http://smolweb.org/guidelines.html

glassbottommeg, to random
@glassbottommeg@peoplemaking.games avatar

Hrm. Another question for (or really) users:

So you add a new News post. You go to upload. Uh. What files do you ACTUALLY upload?

In principle the answer is "well the new ones silly", but when your static site includes say, a Tag and a search system, how on earth do you know which changed and select only them?

Lately I just FTP up the whole folder, overwriting everything, and I feel like an idiot 😭 (or am I valid? maybe?)

RileyNorman, to scifi

I went to 80? we called it. I'm still surprised that anyone thought it a good idea to host the & awards as well as all sorts of author talks in the country with the single largest censorship infrastructure in existence. All Chinese authors publish at the will of the government. Only government approved stories can be published or authors risk imprisonment and death. Why would ANYONE take any part in that, at all? Oh, big market...

https://www.esquire.com/entertainment/books/a46612912/science-fiction-hugo-awards-2024/

BryceWrayTX, to webdev
@BryceWrayTX@fosstodon.org avatar

(Restoring an earlier item that I briefly removed when I encountered, and subsequently fixed, a local glitch...)

Post >> Using Lightning CSS with Hugo — without workarounds • With a little tinkering, there’s no need for that PostCSS plugin I recently mentioned.

https://www.brycewray.com/posts/2024/02/using-lightning-css-hugo-without-workarounds/

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.

mapache, to fediverse
@mapache@hachyderm.io avatar

So, I will add a very basic interface to my static site with . I will follow this https://paul.kinlan.me/adding-activity-pub-to-your-static-site/ but for , which is where my site is hosted, and this is a thread in case I don't find the time to write a blog.

larsmb, to github
@larsmb@mastodon.online avatar

One of these days I'm going to replace my semi-defunc-abandoned Jekyll blog with a self-hosted / / or similar static site generator.

sigh

rticks, to random
@rticks@mastodon.social avatar

World Con was among the worst experiences in my life, where the formal writers event told me, literally "Stop writing dude" from two professionals. in the writing program I paid for for ritual humiliation, so to find out these vain glorious turds are now (like the WHO) owned lock stock and barrel by the CCP makes me feel vindicated.

World Con is TRASH.

https://youtu.be/MA7Fy6wTzEo?si=aeBeHg2tGDqYdMox

ynom, to orgmode

Every 6 months or so I say to myself, "I'm going to document all my computer doings on a website," and I jump into . Very shakily get it to kind of work, get some posts going, give up, come back 6 months later and try to add a post and everything breaks.

I'm thinking I'm just gonna do HTML + CSS so I can... know what's going on?

Anyone else do this? Anyone know a good way to turn files (or preferably) one giant orgmode file into posts on a website?

I know of -hugo but this also turns into.... a bunch of figuring out (of things I'm not entirely interested in).

Curious what the rest of you do.

gmcgath, to China
@gmcgath@liberdon.com avatar

In 2010, Neil Gaiman's children's books weren't sold in China because they showed "disrespect for authority."
https://www.theguardian.com/books/2019/may/24/neil-gaiman-interview-good-omens

In 2015, Neil Gaiman signed a letter to Xi Jinping protesting the jailing of authors in #China.
https://www.theguardian.com/books/2015/sep/21/neil-gaiman-authors-chinese-president-jailed-writers

In 2023, "The Sound of Her Wings," an episode of his Sandman series, was disqualified for a #Hugo for unspecified reasons.

There's no proof yet these were connected, but we can speculate.

gbxyz, to webdev

I made something quite cool (IMHO) over the weekend: a 100% client-side search engine for static websites:

https://github.com/gbxyz/webidx

You run a script to generate an database with an index of all the files, publish it, and then embed some which uses sql.js to query the contents of the database and display search results.

Perfect if you use , , etc

jhx, to random
@jhx@fosstodon.org avatar

Finally made a repo for my personal website and blog. 😎
(Should have done that from the start 😂 )

Made with and the awesome theme 🙂

Well, if anyone wants to see the code, here it is:

https://github.com/jhx0/website

shom, to foss
@shom@fosstodon.org avatar

I like URLs that are descriptive but sharing them in posts take up a lot of valuable characters. I don't want to use a third party url shortner because of the chance for dead links. And even if I host it, it's decoupled from the content and adds another link in the chain that could break. Thanks to @kaushalmodi's ox-hugo, even obscure Hugo features are usable.

So I decided to add short URL of the site, by the site, for the site: https://shom.dev/s/1ba87346

SDZ, to escribiendo
@SDZ@mstdn.social avatar

Wow. It looks like the Hugo awards are all sorts of pear-shaped this year. Babel wasn't even considered and the voting seems clearly jacked up across the board. I have suspicions about what happened, but I'm looking forward to someone smarter than me and with more information to explain things.

jay, to random

It appears that the answer to "Did the Chinese government pressure the Chengdu 2023 -Award Committee into censoring the award ballot?" is "Yes. Yes they did."

https://www.tumblr.com/jayblanc/740063067189198848/chinese-censorship-of-the-2023-hugo-award

BryceWrayTX, to CSS
@BryceWrayTX@fosstodon.org avatar

New post >> Using Lightning CSS with Hugo • Does Hugo natively support Lightning CSS? No, but there’s a neat workaround for that.

https://www.brycewray.com/posts/2024/01/using-lightning-css-hugo/

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