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

Parent Page omitted from Snippet Preview #1421

Closed
GermanKiwi opened this issue Aug 12, 2014 · 3 comments
Closed

Parent Page omitted from Snippet Preview #1421

GermanKiwi opened this issue Aug 12, 2014 · 3 comments

Comments

@GermanKiwi
Copy link

Hi, I've just upgraded to 1.5.5 (thanks for all the fixes and enhancements!!)

I've spotted a new buglet though (although I suppose it might be by design)...

On my Titles & Metas page in the settings, I have this title template for "Pages":

%%title%% %%page%% %%sep%% %%parent_title%% %%sep%% %%sitename%%

Now if I edit a page (let's say called "Kittens"), the Snippet Preview shows this for the title:

Kittens » » My Site Title

So it shows a double separator, with no content in-between where the parent title should go.

Note that it shows this exact same title in the snippet, regardless of whether the page has a parent or not. So even when there is a parent page, the snippet still looks like the above, with nothing between the two separators.

Maybe this is unavoidable due to the way the code works? And it's not the end of the world - the title works perfectly fine on the actual page itself. :)

@jdevalk
Copy link
Contributor

jdevalk commented Aug 13, 2014

Hmm we should just fix this with JS.

@jdevalk
Copy link
Contributor

jdevalk commented Aug 13, 2014

Fixed with 9e8da65

@jdevalk jdevalk closed this as completed Aug 13, 2014
@GermanKiwi
Copy link
Author

Nice, thanks!

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