extends layout.pug

block content
    main
        h2 Blog
        p.
            Stuff I say, conveniently accessible on the internet.
        div.blog
            each post in posts
                .imbox(style=`background: ${post.bgcol}`)
                    if images.hasOwnProperty(post.slug)
                        img(src=images[post.slug])
                    div
                        div
                            a.title(href=`/${post.slug}/`)= post.title
                        small= renderDate(post.updated)
                        div.description!= post.description

        h2 Experiments
        p.
            Various random somewhat useless web projects I have put together over many years. Made with at least four different JS frameworks.
        div.experiments
            each experiment in experiments
                .imbox(style=`background: ${experiment.bgcol}`)
                    if images.hasOwnProperty(experiment.slug)
                        img(src=images[experiment.slug])
                    div
                        div
                            a.title(href=`/${experiment.slug}/`)= experiment.title
                        span.description!= experiment.description

        p Get updates to the blog (not experiments) in your favourite RSS reader using the <a href="/rss.xml">RSS feed</a>.
        p View some of my projects (and whatever else) at 
            a(href=`https://git.${domain}/`) my git hosting.

        .ring!= openring
        iframe(src="https://george.gh0.pw/embed.cgi?gollark", style="border:none;width:100%;height:50px", title="Acquiesce to GEORGE.")