Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Blog template

Ajda edited this page Jun 21, 2019 · 1 revision

+++
showonlyimage = false
draft = true
hardLineBreak = true
joinLines = false
type = "blog"
date = "2013-05-05"
categories = ["a category"]
author = "Janez Novak"
title = "Best Title"
weight = 15
image = "bigger-image.jpg"
frontPageImage = ""
thumbImage = "some-small-image.png"
shortExcerpt = ""
longExcerpt = ""
+++

Instructions for creating the front matter:

  • date: Date format is YYYY-MM-DD.
  • image: image for blog list
  • frontPageImage: Appears on the main page. Size - width: 300px, height: 170px.
  • thumbImage: Appears on the blog list. Size - width: 450px, height: 300px.
  • Short excerpt will be shown on the home page. Limit text to 140 characters.
  • Long excerpt will be shown on the blog page. Limit text to 280 characters.

Instructions for creating the content:

Some text.

(Line breaks require backslash.)

Here we will add an image.

(Example of adding an image.)
{{% figure src="/blog_img/IMG_20180713_092503.jpg" %}}

(How to add a Related box.)
Related: {{< link_new url="https://blog.biolab.si/related" name="Related Blog">}}

Clone this wiki locally