Blog posts

How to add, remove, and edit blog posts

Add/remove posts

To add or remove a blog post, create or delete a Markdown file in /_posts.

The filename should be in the format YYYY-MM-DD-your-post-title.md, which Jekyll uses for the post's URL and date (among other things).

Each file will automatically generate its own page based on its filename.

After adding post, you can display them on your site with the list and post excerpt components.

Example:

YYYY-MM-DD-your-post-title.md
---
title: An ordinary day in the life of me
image: images/some-photo.jpg
author: tim-member
tags:
  - biology
  - big data
  - medicine
---

<!-- excerpt start -->
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
<!-- excerpt end -->
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Customize post page

The skeleton arrangement and style of blog post pages are based on the /_layouts/post.html template, which you can freely edit to your liking.

Last updated