Skip to content

Commit c3648a6

Browse files
remove the adsense
1 parent 2321e8f commit c3648a6

File tree

1 file changed

+5
-21
lines changed

1 file changed

+5
-21
lines changed

index.hbs

+5-21
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,13 @@
1-
{{!-- Add default.hbs layout file --}}
21
{{!< default}}
32

4-
{{!-- loop all the posts and show on home page --}}
3+
{{> newsletter }}
54

6-
{{#foreach posts}}
75

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 }}
176

18-
{{/foreach}}
7+
{{#foreach posts}}
198

20-
{{!-- Add pagination --}}
21-
{{pagination}}
9+
{{> card }} {{!-- partials/card.hbs --}}
2210

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}}
2712

28-
{{!-- newsletter partials --}}
29-
{{> newsletter}}
13+
{{pagination}} {{!-- Add pagination --}}

0 commit comments

Comments
 (0)