Well, my previous homepage was pretty much outdated. Actually, it was just a remainder of trying out the org-page static site generator and hasn't been changed since the initial upload.

We'll see if that changes with the new page generated by cobalt.rs. Until now I can at least say that it has been very easy to install (just cargo install cobalt-bin) and get started (just mkdir mypage && ch mypage && cobalt init).

Its docs are good, its structure is comprehensible, so after the initial setup burden (gosh, I've spend hours on the SCSS because I have totally no intuition for colors and aesthetics!) adding more content should be a simple task.

Its templating is done through liquid which is also pretty nice and allows for syntax-highlighted code blocks such as the one below.

use std::ops::Deref;
use std::collections::HashMap;
use std::sync::{Arc, RwLock};

#[derive(Debug)]
struct Test(i64);

fn main() {
    let t = Arc::new(RwLock::new(HashMap::new()));
    middle(t);
}

fn middle(t: Arc<RwLock<HashMap<i64, Test>>>,) {
    // A comment.
    something(&t.read().unwrap().deref())
}

fn something(t: &HashMap<i64, Test>) {
    println!("Got a {:?}", t)
}

Cobalt also supports both tagging or categorizing your post. So I guess there's no excuse for not blogging a bit more in the future.

Stay tuned!