This is a basic Publican theme you can adapt or use as-is. Get started…
Website features #
The theme provides a high-performance, lightweight, HTML-first static site with:
- home and about pages
- blog posts with paginated index pages
- paginated tag lists
- a responsive mobile-first layout
- a light/dark theme switcher
- lightweight social sharing buttons
- SEO meta tags, schema.org, and Open Graph structured data
- syntax color coding
- an RSS feed
- text and XML sitemaps
- a robots.txt file pointing to the sitemaps
- a website manifest
- minimal unminified CSS (20Kb) and JavaScript (3Kb)
- speculation rules for fast page loads
- printer-friendly layout
- strict Content Security Policy settings to prevent malicious attacks
Developer experience #
The site builds in less than a second and provides:
- easy configuration with
.env
files - markdown content
- fast build times and file watch mode
- development mode with a localhost server and hot reloading
- production mode with HTML minification
- simple HTML templates with JavaScript
${ expressions }
(jsTACS template engine) - function libraries to build navigation menus and format values
- a Node.js only solution with minimal requirements