This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

NickL
NickL

When I design every single Pages on the backend, these is a 'Meta' tag.

I try to set the 'Meta Title' and the 'Meta Description' under 'Meta' tag, but got nothing about these items on the result page.

So, how to use the 'Meta' tag? I can't find out the answer on the online document.

I prefer to think this is relevant to SEO setup.

Anyone can help? thanks.~

Last updated

Daniel81
Daniel81

{{ this.page.meta_title }}

{{ this.page.meta_description }}

I think :)

NickL
NickL

@daniel81, YES! It works!!

Thank you! :)

david19236
david19236

You can also use the viewBag component in your page template to inject custom meta tags into the layout template at runtime

Example

[viewBag]
custom_meta = '<meta content="origin" id="mref" name="referrer">'

Last updated

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.