Skip to content

Commit 74f3c8f

Browse files
committed
Fix html entities appearing in the next/prev links
1 parent b484035 commit 74f3c8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/_views/post.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ <h1 class="mt-2 text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl" ite
4545
<a href="{{ site.url }}{{ page.previous_post.url }}"
4646
class="flex flex-col w-1/2 border p-2 mx-2 rounded hover:border-[#7f52ff] transition-all no-underline">
4747
<div class="mb-1 text-sm text-gray-600 font-medium">Previous</div>
48-
<div class="font-bold text-blue-500">{{ page.previous_post.title }}</div>
48+
<div class="font-bold text-blue-500">{{ page.previous_post.title | raw }}</div>
4949
</a>
5050
{% endif %}
5151

5252
{% if page.next_post %}
5353
<a href="{{ site.url }}{{ page.next_post.url }}"
5454
class="flex flex-col w-1/2 border p-2 mx-2 rounded hover:border-[rgba(127,82,255,.8)] transition-all no-underline">
5555
<div class="mb-1 text-sm text-gray-600 font-medium">Next</div>
56-
<div class="font-bold text-blue-500">{{ page.next_post.title }}</div>
56+
<div class="font-bold text-blue-500">{{ page.next_post.title | raw }}</div>
5757
</a>
5858
{% endif %}
5959
</nav>

0 commit comments

Comments
 (0)