Closed jonwgeorge closed 10 years ago
Example?
@halfdan I'm using a custom theme, so that's likely the cause: http://www.jonwgeorge.com/about/
That is technically not a bug with Ouija nor Ghost. You have a static page which essentially is just a post that doesn’t appear in the normal post list. If you want to prevent Ouija from showing up you’d need to adjust the snippet from Ouija:
{{#with post}}
{{unless page}}
... Ouija code ..
{{/unless}}
{{/with}}
I didn't realize that was available in Ghost (or handlebars). Guess I didn't read the docs that far.
Actually, it seems that doesn't work.
Oops. That’s supposed to read {{#unless ..}}
That causes Ouija not to load at all.
Nevermind. I misspelled page...
@jonwgeorge Can I close this as a non-issue then?
Yep. Just fat fingers on my end haha.
Looks like after switching to using
v0.1.2
Ouija is now loading on pages as well as posts. I don't remember this happening before, and it's more likely an issue with Ghost and handlebars if anything.