Small fixes to lastMod feature

This commit is contained in:
panr 2020-01-27 18:29:31 +01:00
parent 853c16dac3
commit 7a69ffcdf8
4 changed files with 12 additions and 11 deletions

View file

@ -16,6 +16,7 @@ This theme is pretty basic and covers all of the essentials. All you have to do
- [How to start](#how-to-start)
- [How to configure](#how-to-configure)
- [How to add a cover image to your posts](#how-to-add-a-cover-image-to-your-posts)
- [How to display the Last Modified Date in your posts](#how-to-display-the-last-modified-date-in-your-posts)
- [Add-ons](#add-ons)
- [How to run your site](#how-to-run-your-site)
- [How to edit the theme](#how-to-edit-the-theme)
@ -137,7 +138,7 @@ Adding a cover image to your post is simple and there are two options when you e
* Use `cover = "img.jpg"` and `useRelativeCover = true` to link the image relative to the blog post folder
* Resulting in `https://www.yourpage.com/posts/blog-entry-xy/img.jpg`
# How to display the Last Modified Date in your posts
## How to display the Last Modified Date in your posts
Add `lastModDisplay = "[your display text]"` to `config.toml` to enable last modified date on your posts. Note - an empty string value `""` does not display anything.