/Sharaal.github.io

Sharaal's Blog - Yet another Blog by and for Web Developers

Primary LanguageHTML

How to create a post

Because the blog use jekyll every post is just a file in the _posts directory.

  1. Create a new file in the _posts directory
  2. The filename must have the format date-title.md, e.g.: 2021-10-13-example.md
  3. The content must start with a Front Matter, e.g.:
---
layout: post
title: Example
---
  1. Write your content in markdown
  2. Commit the file via new branch and pull request to let someone review it before publishing
  3. https://sharaal.github.io/ will be automatically updated after merging the pull request with the new post