File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5
5
</a >
6
6
<div class =" px-6 py-8 flex flex-col justify-between flex-1" >
7
7
<h3 class =" font-bold text-2xl text-white" >
8
- <a href =" {{ url }}" class =" transition hover:text-yellow" >{{ title }}</a >
8
+ <a href =" {{ url }}" class =" transition hover:text-yellow" >{{ title | sanitize }}</a >
9
9
</h3 >
10
10
<div class =" flex items-end justify-between" >
11
11
<div >
@@ -14,7 +14,7 @@ <h3 class="font-bold text-2xl text-white">
14
14
</div >
15
15
{{ if ! hide_tag }}
16
16
{{ tags limit = " 1" }}
17
- <a href =" {{ url }}" class =" px-3 py-1 text-gray-100 font-bold bg-yellow transition hover:bg-orange rounded-full text-sm" >{{ title }}</a >
17
+ <a href =" {{ url }}" class =" px-3 py-1 text-gray-100 font-bold bg-yellow transition hover:bg-orange rounded-full text-sm" >{{ title | sanitize }}</a >
18
18
{{ /tags }}
19
19
{{ /if }}
20
20
</div >
Original file line number Diff line number Diff line change 2
2
<header class =" max-w-3xl mx-auto" >
3
3
{{ if tags }}
4
4
{{ tags }}
5
- <a href =" {{ url }}" class =" px-3 py-1 text-gray-100 font-bold bg-yellow transition hover:bg-orange rounded-full inline-block mb-8" >{{ title | lowercase }}</a >
5
+ <a href =" {{ url }}" class =" px-3 py-1 text-gray-100 font-bold bg-yellow transition hover:bg-orange rounded-full inline-block mb-8" >{{ title | lowercase | sanitize }}</a >
6
6
{{ /tags }}
7
7
{{ /if }}
8
- <h1 class =" text-5xl md:text-6xl lg:text-7xl tracking-tight text-white font-bold" >{{ title }}</h1 >
8
+ <h1 class =" text-5xl md:text-6xl lg:text-7xl tracking-tight text-white font-bold" >{{ title | sanitize }}</h1 >
9
9
<div class =" flex items-center mt-12" >
10
10
{{ if author }}
11
11
<img class =" rounded-full h-16 w-16" src =" {{ author :avatar }}" alt =" {{ author :avatar : alt }}" >
Original file line number Diff line number Diff line change 1
1
<header class =" my-12 md:my-16 lg:my-24 text-center" >
2
2
<p class =" text-green font-bold text-lg antialiased mb-4" >Articles</p >
3
- <h1 class =" text-6xl md:text-7xl lg:text-8xl text-white font-bold" >{{ title }}</h1 >
3
+ <h1 class =" text-6xl md:text-7xl lg:text-8xl text-white font-bold" >{{ title | sanitize }}</h1 >
4
4
</header >
5
5
6
6
<section class =" grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 max-w-6xl mx-auto gap-x-8 gap-y-16 px-4" >
You can’t perform that action at this time.
0 commit comments