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.
Parameter
Description
Default

title

Title of post.

image

URL to a thumbnail image for post. Also shows as a background at the top of the post page.

author

Filename of author's team member page (without the extension). If found, the portrait and name of the member is displayed automatically. If not found, the template assumes you provided a raw name to display, e.g. "Tim Member".

tags

List of topics/themes for post.

<!-- excerpt start/end --> in body

OR excerpt in front matter

last_modified_at

File last saved, taken from filesystem

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