Hello Verso
It's been 6 years since I first built this site using Hakyll—though I barely posted anything. Recently, I decided to migrate to Verso, a new static site generator written in Lean. It allows me to write posts directly in Lean and seamlessly integrating code snippets:
import VersoBlog
import Blog.Categories
import Blog.Site.Extensions
open Verso Genre Blog
#doc (Post) "Hello Verso" =>
%%%
authors := ["berberman"]
date := {year := 2026, month := 2, day := 14}
categories := [Category.meta]
%%%
```leanInit empty
```
It's been 6 years since I first built this site using [Hakyll](https://github.com/jaspervdj/hakyll)—though I barely posted anything.
Recently, I decided to migrate to [Verso](https://github.com/leanprover/verso),
a new static site generator written in Lean. It allows me to write posts directly in Lean and seamlessly integrating code snippets:
```lean empty
theorem Eq.uip {α : Sort u}
(x y : α) (h₁ h₂ : x = y) : h₁ = h₂ := α:Sort ux:αy:αh₁:x = yh₂:x = y⊢ h₁ = h₂
All goals completed! 🐙
#check Nat.succ
I adapted this site from verso-templates, and with some fine-tuning, I've got Prism.js working for non-Lean languages:
main :: IO ()
main = putStrLn "Hello, World!"
and typst with mathyml for typesetting math formulas:
I hope to use this refresh to share more updates and thoughts on programming. Stay tuned!