How to post in blog
Thu, 02 May 2024
Create a new file in /blog directory. Do not use blank space, use - instead. For example
how-to-create-post-in-blog.md
Since we use markdown, we need this markdown cheat sheet for our guide. Do not forget our default frontmatter
---
layout: post-blog.html
title: How to post in blog
description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi nec cursus tortor. Ut eu quam consequat, gravida massa vel, luctus diam. Duis congue lacus eget magna faucibus sodales. Curabitur laoreet justo in libero faucibus, at laoreet risus lacinia.
keyword: eleventy, tutorial
date: 2024-04-21
tags:
- Tutorial
---
Explanation:
layoutis the layout we use for this blog UI, if you want to change it, go to_includes/post-blog.htmltitleis your post title.descriptionis the short text about your post, it will show in the meta tag and the index of post.keywordwe'll use it in the meta tag.datause format yyyy-mm-dd.tagstag will use as categories, you can set it two or more.