Skip to content
Snippets Groups Projects
Commit 9ca5ef47 authored by Bady's avatar Bady
Browse files

Update news list template

parent 33c8f1e2
No related merge requests found
......@@ -2,11 +2,13 @@
<section class="page">
<h1 style="text-align: center;">News & Announcements</h1>
{{ range .Pages}}
<h3><a class="link" href="{{.Permalink}}">{{.Title}}</a></h3>
<div class="list-item">
<small class="label-dark">{{ .PublishDate.Format "January 2, 2006" }}</small>
<div class="news-item">
<h3><a class="link" href="{{.Permalink}}">{{.Title}}</a></h3>
<div class="list-item">
<small class="label-dark">{{ .PublishDate.Format "January 2, 2006" }}</small>
</div>
<p>{{ .Summary }}</p>
</div>
<p>{{ .Summary }}</p>
{{end}}
</section>
{{end}}
......@@ -106,7 +106,9 @@ nav{
.content p{
text-align: justify;
}
.news-item{
margin-bottom: 24px;
}
@media screen and (max-width:1100px) {
.show-menu-btn,.hide-menu-btn{
display: block;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment