Hello, World!
As this blog enters the world, let us begin in the customary way: "hello, world!"
This blog will be a place for me to write things. I'm not really trying to achieve anything with this, except to write more words, so keep your expectations low. 🙂
For some reason, I have decided on a slightly odd software stack for this blog: I am using the Haunt static site generator. It is pretty bare-bones, and requires some up-front setup. Haunt is not much more than a Guile Scheme library for parsing posts and constructing pages from them. It has a few helpers, and a way to define "themes", but not that much else.
I decided to define a fancy style that I saw in an Org mode exporter time, to put the name of a language on the top-right of a code block.
pre code:after {
display: none;
position: absolute;
top: 0;
right: 0;
padding: 10px;
outline: 1px solid black;
}
pre:hover code:after {
display: block;
}
I need to make sure to define a new style for each language I use, though.
.language-scheme:after { content: "Scheme"; }
.language-css:after { content: "CSS"; }
But I should also add some sort of source highlighting, I guess. I have no idea how hard that is going to be.
Anyway, it's a start!