mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-25 01:05:07 +01:00
update ReadMe
This commit is contained in:
parent
dfbb8dab18
commit
4cfe93ec29
10
README.md
10
README.md
@ -101,6 +101,8 @@ paginate = 5
|
||||
minuteReadingTime = "min read"
|
||||
dateFormatSingle = "2006-01-02"
|
||||
dateFormatList = "2006-01-02"
|
||||
# leave empty to disable, enter display text to enable
|
||||
# lastModDisplay = ""
|
||||
|
||||
[languages.en.params.logo]
|
||||
logoText = "hello friend"
|
||||
@ -134,6 +136,14 @@ 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
|
||||
|
||||
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.
|
||||
|
||||
Example: `lastModDisplay = "Modified: "` --> "Modified: Jan 01, 0001"
|
||||
|
||||
:octocat: Hugo's `enableGitInfo` option is a nice complement to this feature.
|
||||
|
||||
## Add-ons
|
||||
|
||||
- **Archive** — Theme has built-in `archive` page for main content (see `contentTypeName` variable in config). If you need archive on your blog just copy https://github.com/panr/hugo-theme-hello-friend/blob/master/exampleSite/content/archive.md to your `content` dir. If you need multilangual archives, duplicate `content/archive.md` and add `.Lang` variable, eg: `content/archive.pl.md` (remember to change `url` in duplicated file).
|
||||
|
Loading…
Reference in New Issue
Block a user