gcg-website/themes/educenter-hugo/layouts/notice/single.html
Denys Konovalov 225c08d3a0 Init
2020-06-27 10:05:59 +02:00

27 lines
765 B
HTML

{{ define "main" }}
<!-- notice details -->
<section class="section">
<div class="container">
<div class="row">
<div class="col-12">
<div class="d-flex">
<div class="text-center mr-4">
<div class="p-4 bg-primary text-white">
<span class="h2 d-block">{{ .PublishDate.Format "06"}}</span> {{ .PublishDate.Format "JAN, 2006"}}
</div>
</div>
<!-- notice content -->
<div class="content">
{{ .Content }}
{{ with .Params.Download_link }} <a href="{{ . | absURL }}" class="btn btn-primary">{{ i18n "download" }}</a>
{{ end }}
</div>
</div>
</div>
</div>
</div>
</section>
<!-- /notice details -->
{{ end }}