7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-22 14:21:31 +00:00
web-ansol.org/themes/academic/layouts/_default/single.html

36 lines
724 B
HTML
Raw Normal View History

2020-06-11 11:46:16 +00:00
{{- define "main" -}}
<article class="article">
{{ partial "page_header" . }}
<div class="article-container">
<div class="article-style">
{{ .Content }}
{{ if eq .Params.layout "evento" }}
<h3>Informação do evento</h3>
2023-03-31 16:46:28 +00:00
<p>
<strong>Data:</strong>
{{ partial "event-date" . }}
</p>
{{ with .Params.metadata.event.site }}
<p><strong>Website:</strong> <a href="{{ .url }}">{{ .title | or .url }}</a></p>
{{ end }}
{{ with .Params.metadata.event.location }}
<p><strong>Local:</strong> {{ . }}</p>
{{ end }}
{{ end }}
2020-06-11 11:46:16 +00:00
</div>
{{ partial "page_footer" . }}
</div>
</article>
{{- end -}}