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

Support for "Pending" entries when using Template Meta #161

Open
joshuapease opened this issue Oct 27, 2016 · 3 comments
Open

Support for "Pending" entries when using Template Meta #161

joshuapease opened this issue Oct 27, 2016 · 3 comments

Comments

@joshuapease
Copy link

Hello! I'm running into an interesting issue when using SEOmatic Template meta with entries that have a postDate in the future.

My SEO title looks like so {title} - Site Name Here However, the {title} tag isn't displaying anything on posts that aren't live.

I know that by default, craft doesn't set the entry variable when you're trying to view a pending entry. I had to do some funny stuff with custom routes and manually setting the entry var using a slug.

Is there some other way that I can let SEOmatic know what entry it should be using?

@khalwat
Copy link
Collaborator

khalwat commented Nov 20, 2016

Hrm, I'm really not sure on this one. When the entry actually goes live (when it matters), it should work as expected. I'll keep this open as I look into some way to handle it.

@robleeper
Copy link

robleeper commented Jan 19, 2017

I'm having a similar issue as @joshuapease. I have a Section that uses publish/expiry dates to determine programmatically how they are shown on the site, but they are never completely removed or invisible, even when expired. The end result is that "expired" entries don't pull Template Meta or Entry Meta.

As an example, the title of an 'expired' entry should still be Entry Title - Site SEO Name, but it comes out Site SEO Title - Site SEO Name. (I say should... rather, I wish it would.)

@Jkrane
Copy link

Jkrane commented Jan 19, 2018

@khalwat - We use the "Live Preview" functionality in Craft to see what future posts are going to look like, we always see the "default" seo title meta where we should see the posts' title, just an inconvenience for us. Is there an ETA for this feature request?

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

No branches or pull requests

4 participants