How to install this theme
by Óscar Otero
1 min read
Simple blog is a clean and minimal blog theme for Lume, with support for tags and authors. It allows you to build your own blog in seconds, and provides Atom and JSON feeds for your subscribers.
The fastest and easiest way to configure this theme is the Lume init command, which you 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/lume_theme_simple_blog@v0.15.6/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.
Customization
Tip
You can use lumeCMS to customize the blog and add content easily