This is a template post showing what a blog entry looks like on this site. Replace the title, date, and everything below with your own writing — the layout, typography, and dark mode all come for free from the shared stylesheet.

Section headings look like this

Regular paragraphs are set in a muted color for comfortable long-form reading, while headings stay high-contrast. Links look like this.

Blockquotes are handy for takeaways or quoting a paper — they pick up the accent color automatically.

Code

Inline code like torch.nn.Module works, and so do code blocks:

import torch

def positional_encoding(x, num_freqs=10):
    freqs = 2.0 ** torch.arange(num_freqs)
    return torch.cat([torch.sin(x * f) for f in freqs], dim=-1)

Figures

Drop images into blog/ (or reuse images/) and reference them:

Example figure
Figures get rounded corners and a caption style like this.

How to publish a new post

Copy this file, rename it (e.g. blog/my-next-post.html), edit the content, then add an entry to the Blog list in index.html — there is a commented-out template right in the sidebar. That's it.