File tree Expand file tree Collapse file tree 1 file changed +10
-14
lines changed
Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change 1- {{!< default }} {{ #tag }}
1+ {{!< default }}
22
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 }}
74
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 >
87</section >
98
109 {{!-- get posts related to tag base on tag slug --}}
11-
1210 {{ #get " posts" include =" authors,tags" limit =" 3" filter =" tag:{{ slug }} " as |related |}}
1311
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 }}
2117
2218 {{ /get }}
2319
24- {{ /tag }}
20+ {{ /tag }}
You can’t perform that action at this time.
0 commit comments