12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- {{- 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 -}}
|