About This Site
This site was generated using a powerful static site generator built with Node.js and modern web technologies.
Technology Stack
- Node.js: JavaScript runtime
- Handlebars: Template engine with inheritance
- Marked: Markdown parser
- Gray Matter: Frontmatter parser
- Vite: Development server with hot reload
Template System
Our generator supports multiple template types:
- Base Template: Common layout with header/footer
- Page Template: For regular content pages
- Blog Post Template: For blog posts with metadata
- Blog Feed Template: For listing blog posts
Code Example
Here's how you might use the generator:
const StaticGenerator = require('./index.js')
const generator = new StaticGenerator({
sourceDir: 'content',
outputDir: 'public',
templatesDir: 'templates',
})
generator.generateSite()
This is a simple yet powerful tool for creating static websites from Markdown files with advanced templating capabilities.