Part 2: Writing

·1 min

It’s time to create your first article!

Here I use lume cli to create the posts, you can also create the files manually.

deno task lume new article my-first-article

This will generate ./articles/my-first-article.md:

---
title: my-first-article
layout: layouts/article.tmpl.ts
---

I assume you already know what Frontmatter is.

Here you can use the Lume Standard Variables and part of the FFF Flavored Frontmatter (depending on the progress of theme development, most will be supported eventually)

For example, to change the generated directory without changing the filename:

---
title: my-first-article
layout: layouts/article.tmpl.ts
+ url: /articles/my-second-article/index.html
---

That’s it!