Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lumeland/theme-simple-blog

Lume theme to create a simple blog
https://github.com/lumeland/theme-simple-blog

blog deno lume theme

Last synced: 3 days ago
JSON representation

Lume theme to create a simple blog

Awesome Lists containing this project

README

        

# Simple Blog

[Lume](https://lume.land) 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](https://deno.land/x/lume_init), which one can also copy
easily from the [Simple Blog theme page](https://lume.land/theme/simple-blog/).
Running:

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

will create a new project with Simple Blog configured. Edit the
[`_data.yml`](./src/_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:

```ts
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`](./src/_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](./_config.ts) file. The source files are in the
[src](./src/) folder.