Skip to content
Snippets Groups Projects
Commit 2e232c55 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

better

parent 69d99c88
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,14 @@
.lead
@include h3
.events__section
.archive-link
@include icon(arrow, after, true)
@include hover-translate-icon(after)
display: block
text-align: right
text-decoration: none
.event-infos
margin-bottom: 0
@include meta
......
{{ if .IsSection }}
{{ range where .Pages "Kind" "section" }}
<a href="{{ .Permalink }}">{{ i18n "events.archives" }}</a>
<a href="{{ .Permalink }}" class="archive-link">{{ i18n "events.archives" }}</a>
{{ end }}
{{ end }}
......@@ -7,15 +7,17 @@
{{ .long }}
</li>
{{ end }}
<li>
<span>{{ i18n "events.hour" }}</span>
{{ with .from }}
<time datetime="{{ .hour }}">{{ .hour }}</time>
{{ end }}
{{ with .to }}
<time datetime="{{ .hour }}">{{ .hour }}</time>
{{ end }}
</li>
{{ if .from.hour }}
<li>
<span>{{ i18n "events.hour" }}</span>
{{ with .from.hour }}
<time datetime="{{ . }}">{{ . }}</time>
{{ end }}
{{ with .to.hour }}
<time datetime="{{ . }}">{{ . }}</time>
{{ end }}
</li>
{{ end }}
{{ end }}
<li>
<span>{{ i18n "posts.share" }}</span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment