Browse Source

add event h-tags

main
rra 3 years ago
parent
commit
852db24c5c
  1. 6
      layouts/partials/calendar_card.html

6
layouts/partials/calendar_card.html

@ -1,5 +1,5 @@
<div class='card calendar'> <div class='card calendar'>
<article class="h-entry calendar"> <article class="h-event calendar">
<header> <header>
<h2 class="p-name"><a href="{{ .Permalink }}" class="u-url">{{ .Title }}</a></h2> <h2 class="p-name"><a href="{{ .Permalink }}" class="u-url">{{ .Title }}</a></h2>
</header> </header>
@ -15,9 +15,9 @@
<div class='calendar-duration'>Duration: <b>{{ .Params.duration }}</b></div> <div class='calendar-duration'>Duration: <b>{{ .Params.duration }}</b></div>
<input class='descr_button' type='checkbox' id='toggle-{{ .Params.uid }}'/> <input class='descr_button' type='checkbox' id='toggle-{{ .Params.uid }}'/>
<label class='calendar' for='toggle-{{ .Params.uid }}'></label> <label class='calendar' for='toggle-{{ .Params.uid }}'></label>
<div class='calendar-location'>{{ .Params.location | markdownify }}</div> <div class='calendar-location p-location'>{{ .Params.location | markdownify }}</div>
<div class='calendar description' id='event-{{ .Params.uid }}'> <div class='calendar description p-description' id='event-{{ .Params.uid }}'>
{{.Content}} {{.Content}}
</div> </div>
</div> </div>

Loading…
Cancel
Save