mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-12-23 12:25:49 +00:00
77 lines
2.1 KiB
HTML
77 lines
2.1 KiB
HTML
{{- define "main" -}}
|
|
|
|
<div class="pub">
|
|
|
|
{{ partial "page_header.html" . }}
|
|
|
|
<div class="article-container">
|
|
|
|
{{ if .Params.abstract }}
|
|
<h3>{{ i18n "abstract" }}</h3>
|
|
<p class="pub-abstract">{{ .Params.abstract | markdownify | emojify }}</p>
|
|
{{ else }}
|
|
<br>
|
|
{{ end }}
|
|
|
|
<div class="row">
|
|
<div class="col-md-1"></div>
|
|
<div class="col-md-10">
|
|
<div class="row">
|
|
<div class="col-12 col-md-3 pub-row-heading">{{ i18n "date" }}</div>
|
|
<div class="col-12 col-md-9">
|
|
{{ partial "functions/get_event_dates" . }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-1"></div>
|
|
</div>
|
|
<div class="d-md-none space-below"></div>
|
|
|
|
{{ if .Params.event }}
|
|
<div class="row">
|
|
<div class="col-md-1"></div>
|
|
<div class="col-md-10">
|
|
<div class="row">
|
|
<div class="col-12 col-md-3 pub-row-heading">{{ i18n "event" }}</div>
|
|
<div class="col-12 col-md-9">
|
|
{{ with .Params.event_url }}<a href="{{ . }}" target="_blank" rel="noopener">{{ end }}
|
|
{{ .Params.event | markdownify }}
|
|
{{ if .Params.event_url }}</a>{{ end }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-1"></div>
|
|
</div>
|
|
<div class="d-md-none space-below"></div>
|
|
{{ end }}
|
|
|
|
{{ if .Params.location }}
|
|
<div class="row">
|
|
<div class="col-md-1"></div>
|
|
<div class="col-md-10">
|
|
<div class="row">
|
|
<div class="col-12 col-md-3 pub-row-heading">{{ i18n "location" }}</div>
|
|
<div class="col-12 col-md-9">{{ .Params.location | markdownify }}</div>
|
|
{{ if .Params.address }}
|
|
<div class="col-md-3"></div>
|
|
<div class="col-12 col-md-9">{{partial "functions/get_address" (dict "root" . "address" .Params.address) }}</div>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
<div class="col-md-1"></div>
|
|
</div>
|
|
<div class="d-md-none space-below"></div>
|
|
{{ end }}
|
|
|
|
<div class="space-below"></div>
|
|
|
|
<div class="article-style">
|
|
{{ .Content }}
|
|
</div>
|
|
|
|
{{ partial "page_footer" . }}
|
|
|
|
</div>
|
|
</div>
|
|
{{- end -}}
|