mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 14:14:48 +00:00
22 lines
842 B
HTML
22 lines
842 B
HTML
<div class="pub-list-item" style="margin-bottom: 1rem" itemscope itemtype="http://schema.org/Event">
|
|
<i class="fas fa-calendar-alt pub-icon" aria-hidden="true"></i>
|
|
<span itemprop="name"><a href="{{ .RelPermalink }}">{{ .Title }}</a></span>
|
|
<div itemprop="startDate">
|
|
{{ $date := .Params.time_start | default .Date }}
|
|
{{ (time $date).Format $.Site.Params.date_format }}
|
|
{{ if $.Site.Params.talks.time }}
|
|
{{ (time $date).Format ($.Site.Params.time_format | default "3:04 PM") }}
|
|
{{ end }}
|
|
</div>
|
|
<div class="talk-metadata">
|
|
{{ if .Params.event_short }}
|
|
{{ .Params.event_short | markdownify }}
|
|
{{ else if .Params.event }}
|
|
{{ .Params.event | markdownify }}
|
|
{{ end }}
|
|
</div>
|
|
<div class="talk-links">
|
|
{{ partial "talk_links" (dict "content" . "is_list" 1) }}
|
|
</div>
|
|
</div>
|