Skip to content

Commit

Permalink
fix random dashes in article
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed Sep 8, 2024
1 parent f4aa9aa commit 5d18b8a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions _includes/article_download.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
---
<!-- this is reused in both the post and pack layouts -->
<h2 class="display-4 my-5 text-center" id="download-title">Downloads</h2>
<div id="download"></div>
Expand All @@ -23,7 +21,6 @@ <h2 class="display-4 my-5 text-center" id="download-title">Downloads</h2>
// liquid iteration sucks so I switched it to plain JS
const items = Object.entries(downloadObj).map(([category, items]) => {
// legacy changelog support
if (Array.isArray(items) && items.length === 1) items = items[0];
if (typeof items === "string") {
isLegacy = true;
const [className, icon] = handleIcon(items);
Expand Down

0 comments on commit 5d18b8a

Please sign in to comment.