File tree 1 file changed +10
-14
lines changed
1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change 1
- {{!< default }} {{ #tag }}
1
+ {{!< default }}
2
2
3
- <section class =" py-8 px-4 mx-auto max-w-screen-xl lg:py-16 lg:px-6" >
4
- <div class =" max-w-screen-lg text-gray-500 sm:text-lg dark:text-gray-400" >
5
- <h2 class =" py-1 border-b-2 border-indigo-500/75 mb-4 text-4xl capitalize tracking-tight font-bold text-gray-700 dark:text-white" > Tagged / {{ name }} </h2 >
6
- </div >
3
+ {{ #tag }}
7
4
5
+ <section class =" container my-16 text-left mx-auto" >
6
+ <h2 class =" py-1 border-b-2 border-indigo-500/75 mb-4 text-4xl capitalize tracking-tight font-bold text-foreground" > Tagged / {{ name }} </h2 >
8
7
</section >
9
8
10
9
{{!-- get posts related to tag base on tag slug --}}
11
-
12
10
{{ #get " posts" include =" authors,tags" limit =" 3" filter =" tag:{{ slug }} " as |related |}}
13
11
14
- {{!-- loop posts base on article --}}
15
- {{ #foreach related }}
16
-
17
- {{!-- partials/postCard.hbs --}}
18
- {{> card }}
19
-
20
- {{ /foreach }}
12
+ {{!-- loop posts base on article --}}
13
+ {{ #foreach related }}
14
+ {{!-- partials/postCard.hbs --}}
15
+ {{> card }}
16
+ {{ /foreach }}
21
17
22
18
{{ /get }}
23
19
24
- {{ /tag }}
20
+ {{ /tag }}
You can’t perform that action at this time.
0 commit comments