File tree 1 file changed +5
-21
lines changed
1 file changed +5
-21
lines changed Original file line number Diff line number Diff line change 1
- {{!-- Add default.hbs layout file --}}
2
1
{{!< default }}
3
2
4
- {{!-- loop all the posts and show on home page -- }}
3
+ {{> newsletter }}
5
4
6
- {{ #foreach posts }}
7
5
8
- {{!-- check condition define in config section in package.json and add adsense code after every third post --}}
9
- {{ #has number =" nth:3" }}
10
- {{ #match @custom.adsense_enable " Enable" }}
11
- {{> ads }}
12
- {{ /match }}
13
- {{ /has }}
14
-
15
- {{!-- partials/postCard.hbs --}}
16
- {{> postCard }}
17
6
18
- {{ / foreach}}
7
+ {{ # foreach posts }}
19
8
20
- {{!-- Add pagination --}}
21
- {{ pagination }}
9
+ {{> card }} {{!-- partials/card.hbs --}}
22
10
23
- {{!-- check condition define in config section in package.json and add adsense --}}
24
- {{ #match @custom.adsense_enable " Enable" }}
25
- {{> ads }}
26
- {{ /match }}
11
+ {{ /foreach }}
27
12
28
- {{!-- newsletter partials --}}
29
- {{> newsletter }}
13
+ {{ pagination }} {{!-- Add pagination --}}
You can’t perform that action at this time.
0 commit comments