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 .

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.

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 , though I’ve never evaluated any.

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

https://www.siteleaf.com/

jwildeboer, to markdown
@jwildeboer@social.wildeboer.net avatar

4 new blog posts in April. Seems I'm getting better at sharing my long(er) form thoughts :)

The workflow I now have makes it really easy too. When I have a thread here that I think deserves a blog post, I copy the link to the first toot and paste it in https://mtr.wildeboer.net where I can get a dump that I can copy/paste in my editor and work on. My blog is based and also uses Markdown, so it is easy to do :)

Blog: https://jan.wildeboer.net
RSS/Atom: https://jan.wildeboer.net/feed.xml

1/2

jackgilmore, to webdev
@jackgilmore@mstdn.social avatar

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

winslowjosiah, to Blog
@winslowjosiah@hachyderm.io avatar

I think it'd be a neat idea to start a , and I'm brainstorming how to do it.

Not gonna use . sounds promising. There's an alternative called that, as the creator of the the Pelicanizer, would be fitting for my blog.

Does anyone else have suggestions?

davidbisset, to wordpress
@davidbisset@phpc.social avatar

Interesting. A plugin (not recently updated but still) to sync content with a repository (or site)

https://wordpress.org/plugins/wp-github-sync/

minioctt, to blogging Italian

[⤴️ https://octospacc.altervista.org/2024/04/14/momento-vera-lista-di-liste/]

Dovevo finire di scriverlo ieri questo, ma, puntualmente, finito un progettino bisogna subito iniziarne un altro (no spoiler), e non c’è tempo per il #blogging. La pagina rilasciata ieri, nonostante comunque non mi abbia rubato così tanto tempo perché è pur sempre una paginetta, mi ha presa un po’ alla sprovvista considerando che l’avevo iniziata addirittura questo lunedì. (6 giorni son passati…) 😳

Il motivo è buffo e per nulla legato alla difficoltà di #programmazione in sé (ho fatto cose peggiori), ma al fatto che puntualmente le altre cose non funzionano mai come dovrebbero, e quindi bisogna fare delle #hack, e poi dopo altro test si vede che da quelle hack si scassano altre cose, e via quindi di altre hack per sistemare i #problemi… E allora io ad una certa mi seccavo, e dunque “aight then, see you tomorrow ☠️”

  • Per il sitoctt è stato relativamente semplice: mi appoggio alla pagina di ricerca statica del sito, parsando tutto l’HTML, che per quanto rotta (e per questo evito di far sapere che esiste) racchiude il contenuto di tutte le pagine compilate del sito. Quindi, raccolgo tutti i link ai post da tutte le pagine di categoria. 😺

    • Quei link però sono solo-testo, quindi per prendere l’immagine di copertina ho dovuto aggiornare staticoso dopo mesi solo per fargli scrivere gli URL in attributi data dell’HTML. Poi però mettiamoci pure che a volte questi vengono scritti rotti perché la sostituzione delle variabili non funziona in quel punto del #codice (e io non lo sistemerò mai), e anche che quando manca una copertina allora devo per forza prenderla dal contenuto della pagina, ho dovuto comunque complicare di più il #JavaScript… 😡
  • Per il fritto misto, bel #casino, innanzitutto perché per stabilità e sicurezza volevo evitare di usare i proxy CORS, e poi per efficienza e velocità volevo minimizzare il più possibile le richieste di rete necessarie (paginazione è cacca)… quindi anche qui mi appoggio alla ricerca (in JSON) del mirror statico del sito, anziché direttamente a WordPress; nel file ci sono tutti i post con i metadati necessari. 😸

    • Ganzo, se non fosse che ho sprecato chissà quanto tempo solo per le immagini; e totalmente invano, perché poi alla fine ho dovuto rassegnarmi a includere nel JSON tutti i dump #HTML dei post (ciò che volevo evitare, perché fatto così si appesantirà molto velocemente, ops) ed estrarre la prima immagine ricorrente in quelli. Non capisco se il problema ha a che fare con #Jekyll, la sua versione fornita da GitHub Pages, o ancora il parser Liquid di Ruby, perché con un altro parser (LiquidJS) ho verificato che il mio codice per estrarre gli URL dal markup è corretto… solo che poi messo lì non funge. Provato anche il plugin “jekyll-firstimage” trovato a casissimo, ma ovviamente non è servito, dava addirittura errore ad installarsi nel processo di build. 👹

Una parte del codice con fin troppi livelli logicamente e visivamente indentati.Solo parzialmente relato: questo era lo stato di una parte del codice una tarda sera in cui ero drogata di sonno ma, come sempre, di andare a dormire proprio no, meglio scrivere le scalette. 😞 (Poi il giorno dopo l’ho reso meno cacca.)https://octospacc.altervista.org/2024/04/14/i-casini-dietro-le-liste/

#blogging #casino #codice #hack #HTML #JavaScript #Jekyll #problemi #programmazione

someodd, to random
@someodd@fosstodon.org avatar

I made a landing page for my IRC service(s).

I make some stuff so that showcase posts like this:

https://www.someodd.zip/showcase/irc-server/

Are generated from simple Markdown like this:

https://github.com/someodd/someodd.github.io/blob/main/showcase/_posts/2024-04-01-irc-server.md

This way it's easy to turn what's basically a blog post into an app/service's one page website.

Schrank, to random German
@Schrank@phpc.social avatar

Any experience with ? I'm building a page for a friend and the generated thumbnails are not uploaded to ghpage, any idea why? Using this: https://github.com/abpaudel/jekyll-thumbnail-img
I can reproduce the issue locally, but have no clue how to debug it.

GH Page:
https://github.com/Schrank/nessi/

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

qlp, to random
@qlp@linh.social avatar

Well, I suppose it's time to properly announce the new Jekyll theme that I've been working: Termina Plex.

And, to do so, why not update my blog to use the new theme and write a post about it?

Blog Post: Announcing Termina Plex Theme for Jekyll

https://blog.linh.social/2024/03/25/announcing-termina-plex-theme-jekyll/

qlp, to random
@qlp@linh.social avatar

Well... I've published my first Gem up to RubyGems.org 🥳

https://rubygems.org/gems/termina-plex

qlp, to random
@qlp@linh.social avatar

A very early version of the new Termina Plex theme has been published on GitHub and you can checkout a simple demo site at: https://questionlp.github.io/termina-plex/

Repo: https://github.com/questionlp/termina-plex

randm, to Blog
@randm@fosstodon.org avatar

After almost a month of being of the back-burner, I return to my with RSS, new looks, updated about page, and new features!

https://randm.website/blog/big-ol-update/

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

I modified my website quite a lot lately, so I decided to quickly write an overview about the changes I made and link to some of the inspirations I had.

Day 21 of

https://joelchrono.xyz/blog/website-changes-flexbox-and-stuff/

someodd, to random
@someodd@fosstodon.org avatar

Can anyone recommend a basic theme that'll work with GitHub pages, which supports categories and tags?

cjerrington, to 11ty
@cjerrington@mstdn.social avatar

Are there any other static site contact form services? Formspree has been great but as of lately might need to change.

joel, to random
@joel@fosstodon.org avatar

I have been redesigning my website quite a bit today, funnily enough I realized @amin is doing it too lol.

For now I am getting rid of a bunch of divs with classes and replacing them with html elements such as aside and article. Trimming down the CSS I have to do for many classes into just a few niche cases :P

joel,
@joel@fosstodon.org avatar

@amin Now I also added breadcrumbs, I had to modify the site structure a bit but it makes sense and I think no links were broken thanks to 's redirect_from plugin :P

philip, to wordpress
@philip@aus.social avatar

After a lot of pain and learning along the way, I am very pleased to announce my new website!

The biggest change is finally migrating away from Wordpress to Jekyll.

I've been a user of Wordpress for over 14 years and it has served me well. But now I find it too bloated and resource heavy for what I need.

Jekyll was a long learning experience for me. But so far it seems like the best option.

I still think that Wordpress is a great piece of software that has transformed the internet. It just doesn't suit my needs at the moment.

Check it out at: https://philipmallis.com

convexer, to RSS
@convexer@mastodon.social avatar

Is there a standard way to show on my website that I have an feed (other than just a direct link to it)? E.g. something in the <head> element that will integrate with browsers? Or is the link still the best practice?

I don't want to surprise leaders by dropping a link that goes to raw xml. Using if that matters.

joel, to RSS
@joel@fosstodon.org avatar

I updated the way my #RSS feed works by adding a reply via #email and fediverse link (some may have noticed). While I was at it, I also made the feed human readable with #XSLT!

This is day 14 of #100DaysToOffload

I stole from @m2m and @kev this time around, but added my own twist since I use an #atom feed :blobcatderpy:

https://joelchrono.xyz/blog/improving-my-rss-feed/

#blog #jekyll

_benui, to unrealengine
@_benui@mastodon.gamedev.place avatar

I wish there was a way to improve the C++ parsing used by code highlighting. It's not great for macros.

me, to random
@me@teqqy.social avatar

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.

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?)

chsxf,
@chsxf@mastodon.gamedev.place avatar

@glassbottommeg you can use Cyberduck (on any similar tool) to synchronize both your local folder and your FTP, thus uploading only what’s actually needed.

Or you can go the devops route and configure a GitHub repo to do it automatically for you (either via GitHub Pages if or GitHub Actions).

realn2s, (edited ) to random

Resolved: Found the problem and it was me 🤪​. I misspelled the filename when moving the file.

Dummy question

How do I add images to pages build with
My local Jekyll instance copies the images folder but doesn't

Not sure how to accomplish that the images are available on

Boosts and any hints welcome.

I'm pretty sure that PEBCAK (problem exists between chair and keyboard) but i just don't know were to look. Do i explicitly need to include the image directory in Jekyll or do i need to copy it in 🥴?

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