Engineering
Sasha — Static Site Generator
April 2025
→ This site loads in under 0.8s on mobile, 0.2s on desktop (PageSpeed Insights)
A simple system for writing articles and generating sites that are effortless to maintain.
Markdown articles & folder directories are rendered into HTML templates.
Template System
The template system assembles template fragments into a final layout.
Use .frag.html fragment HTML files for
templates.
Layouts
Layout templates are used to render both article & directory pages.
Layouts follow a hierarchal order to building a final HTML page.
Articles are converted to HTML using Pandoc.
The template system assembles fragments and injects
them into the
layout.frag.html Layout Template file.
The final output is a self-contained HTML page.
Replacement Tags
The template system uses
{{ }} Replacement Tags to inject content
into template fragments.
<!-- Layout Template -->
<!DOCTYPE html>
<html lang="en">
{{HEAD}}
{{BODY}}
{{FOOTER}}
</html>
The
project README
contains complete documentation for the
template system.
Performant & accessible layouts can look good—when you design them with care.
🌐 Book a consultation to discuss your project. →
alfred.r.duarte@gmail.com Message