Skip to content

Commit

Permalink
Fix security advisory list
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Oct 4, 2024
1 parent e683c6d commit 6c27e6e
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions src/website/layouts/security/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,26 @@
<div class="col-7 p-4">
<h1>{{ .Title }}</h1>
{{ .Content }}
<div class="row row-cols-12 g-4">
{{ range where .Site.RegularPages "Type" "eq" "security" }}
<div class="col-12">
<h5>{{ .File.BaseFileName }}: {{ .Title }}</h5>
<p class="small">{{ .Params.date | time.Format "January 1st 2006" }}</p>
<p>{{ .Params.description }}</p>
<div class="mt-auto d-flex justify-content-end">
<a href="{{ .RelPermalink }}/" class="btn btn-primary">Read More</a>
</div>
</div>
<hr>
{{ end }}
</div>
</div>
<div class="col-5 p-4">
<div class="p-3 card-shadow">
<h3>Report a security vulnerability</h3>
To report a security vulnerability for a project within the http4 ecosystem, see the
<a href="/security-policy/">Security Policy</a>
</div>

</div>
<div class="row row-cols-12 g-4">
{{ range where .Site.RegularPages "Type" "eq" "security" }}
<div class="col-12">
<h5>{{ .File.BaseFileName }}: {{ .Title }}</h5>
<p class="small">{{ .Params.date | time.Format "January 1st 2006" }}</p>
<p>{{ .Params.description }}</p>
<div class="mt-auto d-flex justify-content-end">
<a href="{{ .RelPermalink }}/" class="btn btn-primary">Read More</a>
</div>
</div>
<hr>
{{ end }}
</div>
</main>
</div>
Expand Down

0 comments on commit 6c27e6e

Please sign in to comment.