mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 22:14:08 +00:00
fix(widgets): respect the date_format option for experience widget (#783)
This commit is contained in:
1 parent
ca4fd7159d
commit
4b5c97262c
1 file changed
+2
-2
@@ -34,9 +34,9 @@
|
||||
<div class="card-body">
|
||||
<div class="float-right text-muted exp-meta">
|
||||
<div>
|
||||
{{ (time .date_start).Format ($.Params.date_format | default "January 2006") }} –
|
||||
{{ (time .date_start).Format ($page.Params.date_format | default "January 2006") }} –
|
||||
{{ if .date_end}}
|
||||
{{ (time .date_end).Format ($.Params.date_format | default "January 2006") }}
|
||||
{{ (time .date_end).Format ($page.Params.date_format | default "January 2006") }}
|
||||
{{else}}
|
||||
{{ i18n "present" | default "Present" }}
|
||||
{{end}}
|
||||
|
||||
Reference in new issue
Block a user