Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix meta ads conditional #174

Open
enatario opened this issue Mar 13, 2017 · 1 comment
Open

fix meta ads conditional #174

enatario opened this issue Mar 13, 2017 · 1 comment
Assignees

Comments

@enatario
Copy link
Contributor

enatario commented Mar 13, 2017

  • change the if to #if meta.ads if it’s a single-page repo
  • if it’s multi-page, it should use #if ads for the sub pages and #if index.ads for the root

basically for multipage, the ad script was only showing up if i turned it to true in the index object. so i couldn’t toggle it for individual pages. and meta.index.ads isn’t a thing in a single page repo.

@enatario
Copy link
Contributor Author

also make sure to update this in fetch-methode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants