mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
parent
df4f44f112
commit
c07e3e5db0
3 changed files with 5 additions and 5 deletions
|
@ -33,9 +33,9 @@
|
|||
<div class="talk-metadata" itemprop="startDate">
|
||||
{{ $date := .Params.time_start | default .Date }}
|
||||
{{ (time $date).Format $.Site.Params.date_format }}
|
||||
{{ (time $date).Format "3:00 PM" }}
|
||||
{{ (time $date).Format "3:04 PM" }}
|
||||
{{ with .Params.time_end }}
|
||||
— {{ (time .).Format "3:00 PM" }}
|
||||
— {{ (time .).Format "3:04 PM" }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<div itemprop="startDate">
|
||||
{{ $date := .Params.time_start | default .Date }}
|
||||
{{ (time $date).Format $.Site.Params.date_format }}
|
||||
{{ (time $date).Format "3:00 PM" }}
|
||||
{{ (time $date).Format "3:04 PM" }}
|
||||
</div>
|
||||
<div class="talk-metadata">
|
||||
{{ if .Params.event_short }}
|
||||
|
|
|
@ -34,9 +34,9 @@
|
|||
{{ $date := .Params.time_start | default .Date }}
|
||||
{{ (time $date).Format $.Site.Params.date_format }}
|
||||
<div class="talk-time">
|
||||
{{ (time $date).Format "3:00 PM" }}
|
||||
{{ (time $date).Format "3:04 PM" }}
|
||||
{{ with .Params.time_end }}
|
||||
— {{ (time .).Format "3:00 PM" }}
|
||||
— {{ (time .).Format "3:04 PM" }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue