From 7bf862d9d35e10ddac58545bbedc50d0aaa37f64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20P=C3=A4pper?= Date: Tue, 19 Mar 2019 17:28:41 +0100 Subject: [PATCH] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3227429..4210936 100644 --- a/README.md +++ b/README.md @@ -126,10 +126,12 @@ to `config.toml` file in your Hugo root directory and change params fields. In c ## How to add a cover image to your posts -Adding a cover image to your post is simple and there are two options: +Adding a cover image to your post is simple and there are two options when you edit your `index.md` file in `content/posts/blog-entry-xy/index.md`: -* Use `cover: "/path/to/absolute/img.jpg"` in your markdown file meta data to link an absolute image -* Use `relcover: "img.jpg" to link the image relative to the blog post folder +* Use `cover: "/path/to/absolute/img.jpg"` to link an absolute image + * Resulting in `https://www.yourpage.com/path/to/absolute/img.jpg` +* Use `relcover: "img.jpg"` to link the image relative to the blog post folder + * Resulting in `https://www.yourpage.com/posts/blog-entry-xy/img.jpg` ## Add-ons