fddl Features
This page demonstrates new features added to fddl.
Syntax Highlighting
Check out this Swift code with beautiful syntax highlighting:
struct Person {
let name: String
var age: Int
func greet() {
print("Hello, my name is \(name)!")
}
}
let person = Person(name: "Web Developer", age: 25)
person.greet()
And hereβs some JavaScript:
function createAwesomeWebsite() {
const features = ["live reload", "syntax highlighting", "themes"];
features.forEach((feature) => {
console.log(`β¨ ${feature} is enabled!`);
});
}
createAwesomeWebsite();
GeoCities-Style Shortcodes
Letβs get retro! Here are some classic GeoCities elements:
π UNDER CONSTRUCTION π
Rainbow Text is BACK!
Modern Features
YouTube Embeds
Alert Boxes
Image with Caption

Theming System
This site uses the GeoCities theme. You can switch between:
Modern (clean and professional)
Dark (easy on the eyes)
Minimal (typography-focused)
GeoCities (maximum nostalgia!)
Plugin Features
Sitemap Generation
Automatically generates sitemap.xml for SEO.
RSS Feed
Creates an RSS 2.0 feed at /feed.xml for your blog posts.
Search Index
Builds a searchable JSON index of all your content.
Reading Time
Estimates how long it takes to read each page.
Analytics Support
Easy integration with Google Analytics or Plausible.
Live Development Server
The dev server includes:
π₯ Hot reload via WebSocket
π Watches for file changes
π Instant rebuilds
π Local preview server
Just run: fddl serve --open
Code Examples
Python with syntax highlighting:
def generate_awesome_site():
"""Generate a static site with fddl"""
features = {
'themes': ['modern', 'dark', 'minimal', 'geocities'],
'plugins': ['sitemap', 'rss', 'search', 'analytics'],
'shortcodes': ['blink', 'marquee', 'rainbow', 'youtube']
}
for category, items in features.items():
print(f"{category}: {', '.join(items)}")
return "Site generated! π"
result = generate_awesome_site()
print(result)
Bash scripting:
#!/bin/bash
# Build and deploy your fddl site
echo "π¨ Building site..."
fddl generate
echo "π Starting dev server..."
fddl serve --port 8080
echo "β
Done!"
Dynamic Site Context
fddl exposes site-wide metadata that you can use anywhere in your content or templates.
More GeoCities Fun
NEW! Check out my guestbook!
Built with fddl - A modern static site generator with retro vibes! πβ¨