Skip to content

Commit

Permalink
Fix missing closing tag in tag page header
Browse files Browse the repository at this point in the history
Add missing closing </h1> tag in the page title for entries
tagged with a specific tag to ensure proper HTML structure.
  • Loading branch information
joone committed Mar 25, 2024
1 parent 524c983 commit eb29e4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const tagPage = (tag, posts) => `
<a href="/tags">Tags</a>
</nav>
</header>
<h1 class="page-title">Entries tagged - "${tag}"</p>
<h1 class="page-title">Entries tagged - "${tag}"</h1>
<ul class="posts">
${posts
Expand All @@ -38,6 +38,7 @@ const tagPage = (tag, posts) => `
</li>`
)
.join("")}
</ul>
<footer>
<div style="display:flex">
<a class="soc" href="https://github.com/joone/fosscomics" rel="me" title="GitHub"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-github"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg></a>
Expand Down

0 comments on commit eb29e4f

Please sign in to comment.