Skip to content

Commit

Permalink
Fix raw HTML on download page
Browse files Browse the repository at this point in the history
Fixes #187.
  • Loading branch information
foonathan committed Jan 12, 2024
1 parent 940483c commit b82ffcb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/layouts/shortcodes/release_list.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{{ range sort $.Site.Data.tags "date" "desc" }}
== {{ .name }} +++{{ if .prerelease }} <i>{{ (resources.Get "icons/beta.svg").Content | safeHTML }} {{ end }}</i>+++

+++<h2> {{ .name }} {{ if .prerelease }} <i>{{ (resources.Get "icons/beta.svg").Content | safeHTML }} {{ end }}</i> </h2>+++
+++<i>{{ (resources.Get "icons/calender.svg").Content | safeHTML }}</i>+++ {{ default (now) .date | time.Format "2006-01-02" }}
+++<i>{{ (resources.Get "icons/github.svg").Content | safeHTML }}</i>+++ link:{{ .url }}[Github]
+++<i>{{ (resources.Get "icons/download.svg").Content | safeHTML }}</i>+++ link:{{ .download }}[Download]
Expand Down

0 comments on commit b82ffcb

Please sign in to comment.