Commit Graph

13 Commits

Author SHA1 Message Date
Aditya Telange
7795c90f6f
Add safeHTML to post_meta
- delimit now returns a string and not a template.HTML from hugo v0.120.0
- no impact found with min req version for Papermod
https://github.com/gohugoio/hugo/releases/tag/v0.120.0

fixes #1325
2023-10-31 21:34:19 +05:30
Rook1e
1521cc77a2
feat: allow hiding author in post_meta (#1250)
* feat: allow hiding author in post_meta

For a person's site, in most cases the author is the person, and displaying it
on every post and list may be redundant.

Setting the `params.author` in the configuration to empty will achieve
the hidden effect, but it will also empty the value of `<meta name="author">`.

So add hideAuthor
2023-08-05 11:52:30 +05:30
Aditya Telange
575cc0ca8c
Use site function instead of .Site or $.Site
- The site function provides global access to the same data as the .Site page method.
- Current context (`.`) is never considered.
2022-03-27 18:44:06 +05:30
Thiago Perrotta
b0ab8ea495
Add option to add word count to metadata (#740)
Usage: 
ShowWordCount: true
2022-01-21 23:58:25 +05:30
Saxodwarf
c59193fc48
Use hugo 0.87's date formatting feature with time.Format (#555) 2021-12-26 13:52:10 +05:30
Aditya Telange
3bcafa0be9
Show full date on hovering over it in post-meta 2021-10-30 20:27:01 +05:30
Lucas Eduardo
537ec0038f
Fix post_meta/reading_time (#427) 2021-06-11 11:49:30 +05:30
Aditya Telange
196b82645e
Fix Spacing in overall repo 2021-03-30 18:26:43 +05:30
Aditya Telange
f7dbf75d5b
allow setting ShowReadingTime per-page
as well as site-wide
2021-01-24 18:08:15 +05:30
Aditya Telange
5b9eaac130
layouts: use author partial in head and post_meta 2020-10-25 12:47:09 +05:30
Aditya Telange
3e84ff0435
post-meta: fix redundant '·'(separator) in end
when author is not present
2020-10-25 11:17:54 +05:30
Aditya Telange
16213a37e5
post-meta: improvements
- hide zero date (closes #33)
- fix separator
- refactor
2020-10-22 20:40:00 +05:30
Aditya Telange
684cb2160f layouts: post_meta as partial 2020-10-22 16:53:24 +05:30