Closed vezaynk closed 9 years ago
I figured out a really ugly workaround but it works so you may take your time.
What I did was I put the first half of the code into default.hbs.
For some reason, the attributes in the default Casper navigation show up, even if I paste Casper's navigation code into @viruzx's theme, but this bug still does seem to exist. If I add <p>{{@blog.title}}</p>
or other blog attributes to the navigation.hbs of casper, it shows up blank. So, I do believe this is a bug, I just cannot figure out why it works for default casper code, and not other custom code.
{{navigation}} seems to be having strange issues.
I have some code in a partial called
navigation.hbs
which I include indefault.hbs
.The affected code is the following:
Full code:
Issue 1: I cannot use global variables.
This line:
Gives the following:
Issue 2:
I then tried replacing
with the actual code I had. The issue was fixed but a new one appeared; The following code did not return anything:
You can try it by yourself, the theme I am working on is here: https://github.com/viruzx/Basic-Plus-Ghost-Theme