Skip to content
/ site-template Public template

A dockerised, minimal setup of 11ty (https://www.11ty.dev) static site generator with support for Obsidian wikilinks and templated layouts.

Notifications You must be signed in to change notification settings

SootyOwl/site-template

Repository files navigation

Site template

A simple & fast HTML site built with 11ty featuring:

  • Markdown content with frontmatter
  • Wiki-style internal linking between pages using [[links]]
  • Docker containerization
  • Custom Nunjucks layouts

Intended as a boilerplate for a personal blog/site/wiki based on an Obsidian-like workflow. Many options for customization and extension are available through the Eleventy ecosystem, see the Eleventy documentation for more information.

Development

Prerequisites

  • Node.js
  • Docker (optional)

Local Development

  1. Install dependencies:
npm install
  1. Start the development server:
npx @11ty/eleventy --serve

The site will be available at http://localhost:8080

Docker Development

To run using Docker:

docker compose up

The site will be available at http://localhost:8080 with live content reloading from the content directory.

Project Structure

  • content/ - Markdown content files and layouts
  • content/_includes/ - Nunjucks layout templates
  • eleventy.config.js - Eleventy configuration
  • Dockerfile - Container definition
  • docker-compose.yml - Container orchestration

Dependencies

About

A dockerised, minimal setup of 11ty (https://www.11ty.dev) static site generator with support for Obsidian wikilinks and templated layouts.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published