huangyuzhang / Fizzy-Theme

🥤A tasty blogging theme for Ghost.
https://fizzy.cc
MIT License
282 stars 68 forks source link

Tocify not working #45

Closed denvergeeks closed 4 years ago

denvergeeks commented 4 years ago

v1.3.2 Tocify is not working when set to true in the header script.

I am running Ghost v3.1.1

huangyuzhang commented 4 years ago

please provide sufficient information related to the issue you are facing and the process to reproduce the issue.

denvergeeks commented 4 years ago

Thank you for the quick reply, and THANK YOU for this awesome theme!

I have a fresh install of Ghost v3.1.1 here: https://fizzy.ghost-o-matic.com

I downloaded and enable the Master branch

I inserted into the Code Injection site header

<script>
    var show_toc = true; // enable TOC (default: false)
</script>

The TOC does not appear on any page

So, I also enabled the Template "Post with TOC" on all of the posts

The TOC still never appears

Also the TOC is not appearing on your demo page https://fizzy.cc/fizzy-theme/ as stated on the github project page referenced here:

Screenshot 2019-12-16 at 8 10 42 PM

denvergeeks commented 4 years ago

I got it working! Not sure what the problem was, but TOC is now working on your Fizzy demo page so I just made sure to match mine with yours. Thank you again, my friend!