Skip to content

lumeland/theme-simple-blog

Repository files navigation

Simple Blog

Lume theme to create a simple blog.

  • Supports tags and post authors
  • Atom and JSON feeds
  • Sitemap and SEO features
  • Instant search engine

Set up a new site

The fastest and easiest way to configure this theme is the Lume init command, which one can also copy easily from the Simple Blog theme page. Running:

deno run -A https://lume.land/init.ts --theme=simple-blog

will create a new project with Simple Blog configured. Edit the _data.yml file in your blog root folder with your data to customize the site title, description, and metadata.

Posts must be saved in the posts folder. For example, posts/my-first-posts.md.

Install as a remote theme

To add the theme to an existing Lume project, import it in your _config.ts file as a remote module. Update it by changing the version number in the import URL:

import lume from "lume/mod.ts";
import blog from "https://deno.land/x/[email protected]/mod.ts";

const site = lume();

site.use(blog());

export default site;

Copy the _data.yml file to your blog root folder and edit it with your data.

Use it as a base template

To use this theme as a base template for a more customized blog, clone this repo and edit the _config.ts file. The source files are in the src folder.