File tree Expand file tree Collapse file tree 4 files changed +4
-19
lines changed Expand file tree Collapse file tree 4 files changed +4
-19
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ <h1 class="mt-2 text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl" ite
27
27
{% for tag in page.tags %}
28
28
< a href ="{{ site.url }}/blog/tag/{{ tag|url_encode(true) }} "
29
29
class ="rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100 no-underline ">
30
- {{ constant('App\\Blog\\Tag::ALLOWED_TAGS')[ tag] ?? tag }}
30
+ {{ tag | capitalize }}
31
31
</ a >
32
32
{% endfor %}
33
33
</ div >
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ <h1 class="text-4xl font-bold">{{ page.title }}</h1>
24
24
{% for tag in post.tags %}
25
25
< a href ="{{ site.url }}/blog/tag/{{ tag|url_encode(true) }} "
26
26
class ="relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100 no-underline ">
27
- {{ constant('App\\Blog\\Tag::ALLOWED_TAGS')[ tag] ?? tag }}
27
+ {{ tag | capitalize }}
28
28
</ a >
29
29
{% endfor %}
30
30
</ div >
Original file line number Diff line number Diff line change 8
8
9
9
< section class ="mx-auto max-w-3xl my-16 w-full bg-white px-4 md:px-0 ">
10
10
< header class ="mb-8 ">
11
- < h1 class ="text-4xl font-bold "> Tag: {{ constant('App\\Blog\\Tag::ALLOWED_TAGS')[ page.tag] ?? page.tag }}</ h1 >
11
+ < h1 class ="text-4xl font-bold "> Tag: {{ page.tag | capitalize }}</ h1 >
12
12
</ header >
13
13
14
14
{% if page.tag == 'roundup' %}
@@ -27,7 +27,7 @@ <h1 class="text-4xl font-bold">Tag: {{ constant('App\\Blog\\Tag::ALLOWED_TAGS')[
27
27
{% for tag in post.tags %}
28
28
< a href ="{{ site.url }}/blog/tag/{{ tag|url_encode(true) }} "
29
29
class ="relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100 no-underline ">
30
- {{ constant('App\\Blog\\Tag::ALLOWED_TAGS')[ tag] ?? tag }}
30
+ {{ tag | capitalize }}
31
31
</ a >
32
32
{% endfor %}
33
33
</ div >
You can’t perform that action at this time.
0 commit comments