Post Image Alt Text

Posted on .

Turns out, you can add alt text to the image that accompanies a social media embed:

Folks who run their own site/blog, did you know that you can add alt text to the images that show up on social media when your articles are shared?

og:image:alt
twitter:image:alt

stefanbohacek.online/@stefan/113640509943561271

Now with version 2.1.0, you can add your own in Scriptorium, by using the image_alt tag on a post:

image: https://nicd.gitlab.io/scriptorium_blog/images/blog.png
image_alt: Scriptorium blog logo text

Version 2.0.1 with Deps Bumps

Posted on .

Just a small update to bump some dependencies that were preventing using Scriptorium on the latest Gleam stdlib. This now requires the latest stdlib to work.

New Repository Address

Posted on .

I've been lately moving stuff to my own little home server, and now Scriptorium's repository has also been moved. It's now available as a Forgejo instance at git.ahlcode.fi/nicd/scriptorium. The GitLab repository has accordingly been archived.

You can sign up to my instance by using a GitHub or GitLab account, so no real new account is needed (and indeed you cannot register a regular account). When Forgejo enables federation features, you can hopefully contribute from any Forgejo instance.

In case you don't want to make an account but have something to contribute, don't hesitate to contact me via other means such as on the Gleam Discord server or on the fediverse. Let's make it work. :)

This demo blog still resides on GitLab, as it uses GitLab Pages to be published. I don't have CI on my instance yet, so this will have to be moved later.

Kirjoita omalla kielellä

Posted on .

Tähän mennessä Scriptoriumilla on voinut kirjoittaa vain yhdellä kielellä, joka on ollut konfiguroitavissa globaalisti. Uusimmassa versiossa blogimoottoriin on lisätty tuki kielen vaihtamiseen jokaiselle tekstille tai sivulle erikseen. Hurraa! Tämä tapahtuu asettamalla postaukselle tai sivulle otsikkotieto lang, esimerkiksi lang: fi.

Tämän lisäksi koko generoidun blogin voi nyt kääntää Gettextillä. Jos valitset kieleksi "fi", sivuston kiinteät tekstit kuten "Posted at" vaihtuvat suomeksi. Kielitiedostot voi kääntää ja ladata itse, tai ne voi lisätä Scriptoriumin koodipohjaan jotta kaikki voivat hyötyä niistä.

And the same in English: Up until now, Scriptorium has only supported one language for the entire blog. In the latest version (2.0.0), a header such as lang: fi can be added to change the language of a single post. This affects the generated HTML and the Atom feed.

In addition, all the fixed strings in the generated site can now also be translated using Gettext. The user can do the translations themselves with their own translation files, or they can be contributed to the main project to be available for all.

Scriptorium 1.0 Published

Posted on .

scriptorium /skrĭp-tôr′ē-əm/

Writing room set aside in monastic communities for the use of scribes engaged in copying manuscripts. […]

Encyclopædia Britannica

This morning I formally published Scriptorium 1.0.0 (and 1.0.1, and 1.0.2 😅). The library now has API docs and a quickstart guide, but the full user's guide is still a work-in-progress. For now if there's any prospective user, they can contact me directly for assistance (I'm Nicd in the Gleam Discord). There's still surely some CSS and bug fixes to do, and some refactoring.

Hello, world!

Posted on .

This is the Scriptorium demo blog. This blog will contain news about Scriptorium, and the user's guide. It also works as a demonstration of a simple blog setup. You can find this blog's code also on GitLab.