diff options
author | Alex S <alex@panoptic.onl> | 2023-02-06 11:55:30 -0700 |
---|---|---|
committer | Alex S <alex@panoptic.onl> | 2023-02-06 11:55:30 -0700 |
commit | 8b93e7ded3883b957921ef43580d9f5c70796513 (patch) | |
tree | 31f76703b5dec2ca4fd6626b20a7d5c790025656 | |
parent | 28cf1a362268d5af07b8de26fd47732de249fee4 (diff) |
⚡️ improvement: track dt-start and dt-end
Added two invisible <time> tags which allow for microformat parsing of dt-start & dt-end
-rwxr-xr-x | views/event.handlebars | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/event.handlebars b/views/event.handlebars index 05be10c..88856f3 100755 --- a/views/event.handlebars +++ b/views/event.handlebars @@ -32,6 +32,8 @@ <i class="fas fa-fw fa-calendar-day"></i> </span> <span class="dt-duration">{{{displayDate}}}</span> + <time class="dt-start" datetime="{{eventStartISO}}"></time> + <time class="dt-end" datetime="{{eventEndISO}}"></time> <br> <span class="text-muted"> {{#if eventHasBegun}}{{#unless eventHasConcluded}}Started {{else}}Ended {{/unless}}{{/if}}{{fromNow}} |