No Gods, No Masters, just salads and pasta.
DPRN are a loose collective of punk, grind and noise bands. We put on shows in Glasgow, Scotland.
├── src/
│ ├── _data/ # Global data files
│ │ └── metadata.json # Site metadata
│ ├── _includes/ # Layout templates and partials
│ │ ├── layouts/
│ │ │ ├── base.njk # Base layout template
│ │ │ └── post.njk # Post layout template
│ │ └── postslist.njk # Post list partial
│ ├── posts/ # Blog posts (markdown)
│ │ ├── posts.json # Post defaults
│ │ ├── welcome-to-my-blog.md
│ │ ├── building-with-eleventy.md
│ │ └── markdown-guide.md
│ ├── css/ # Stylesheets
│ │ ├── index.css # Main stylesheet
│ │ └── prism-base16-monokai.dark.css # Code highlighting
│ ├── index.md # Homepage
│ ├── posts.md # Posts archive page
│ ├── about.md # About page
│ └── feed.njk # RSS feed template
├── .eleventy.js # 11ty configuration
├── package.json # Dependencies
├── index.ts # Val Town HTTP handler
└── README.md
The blog includes these working pages:
/) - Welcome page with recent posts/posts/) - Complete list of blog posts/posts/[slug]/) - Full post content/about/) - Information about the blog/css/index.css) - Responsive stylesheetThis implementation uses a simplified approach that works within Val Town's constraints:
The blog comes with three sample posts:
To add new blog posts, you can:
mockData.posts array in index.ts/src/css/index.css for visual changesindex.tsmockData.metadata objectThis implementation demonstrates 11ty concepts while working within Val Town's serverless environment. The original 11ty configuration files are preserved to show the intended structure, but the actual serving is handled by a custom TypeScript handler that mimics 11ty's output.
The blog is fully functional and demonstrates all the key features you'd expect from an 11ty static site!