-
Notifications
You must be signed in to change notification settings - Fork 144
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
Excerpt and Description #6
Comments
Hi, try this:
|
Sorry, I just realized that you wanted to know how to display it in the meta tag. There is a solution for it. Use the onEnd() function in the page PHP section to access the loaded post object. Load the excerpt from the post and inject it to the page as a new variable:
Example page (or layout) HEAD tag contents:
|
Thanks Aleksey. It works. |
If I'm using |
Hi RainLab, Prompt how to display the contents of the "Excerpt" in "meta=Description" on page post?
The text was updated successfully, but these errors were encountered: