Line 16: | Line 16: | ||
|Title mode= (optional: replace/append/prepend) | |Title mode= (optional: replace/append/prepend) | ||
|Title separator= (text) | |Title separator= (text) | ||
+ | |Keywords= (text) | ||
|Description= (text) | |Description= (text) | ||
− | | | + | |
+ | |Robots = (text) | ||
+ | |Googlebot= (text) | ||
+ | |||
|Type= (text) | |Type= (text) | ||
− | |||
|Image= (text) | |Image= (text) | ||
|Image alt= (text) | |Image alt= (text) | ||
|Image width= (number) | |Image width= (number) | ||
|Image height= (number) | |Image height= (number) | ||
+ | |Locale= (text) | ||
+ | |Site name= (text) | ||
|Author= (text) | |Author= (text) | ||
+ | |Section= {text) | ||
|Published time= (date) | |Published time= (date) | ||
− | |||
− | |||
− | |||
}} | }} | ||
</pre> | </pre> | ||
Line 40: | Line 43: | ||
|description={{{Description|}}} | |description={{{Description|}}} | ||
+ | |robots={{#if: {{{Robots|}}} |{{{Robots|}}} |index, follow}} | ||
+ | |googlebot={{#if: {{{Googlebot|}}} |{{{Googlebot|}}} |index, follow}} | ||
+ | |||
+ | |type={{{Type|}}} | ||
|image={{{Image|}}} | |image={{{Image|}}} | ||
|image_alt={{{Image alt|}}} | |image_alt={{{Image alt|}}} | ||
|image_width={{{Image width|}}} | |image_width={{{Image width|}}} | ||
|image_height={{{Image height|}}} | |image_height={{{Image height|}}} | ||
− | |||
|locale={{#if: {{{Locale|}}} |{{{Locale|}}} |en_US}} | |locale={{#if: {{{Locale|}}} |{{{Locale|}}} |en_US}} | ||
|site_name={{#if: {{{Site name|}}} |{{{Site name|}}} |OpenCSP}} | |site_name={{#if: {{{Site name|}}} |{{{Site name|}}} |OpenCSP}} | ||
|author={{{Author|}}} | |author={{{Author|}}} | ||
+ | |section={{[Section|}}} | ||
|published_time={{{Published time|}}} | |published_time={{{Published time|}}} | ||
− | |||
− | |||
− | |||
}}</includeonly> | }}</includeonly> |
Revision as of 15:59, 14 February 2023
This is the SEO template. It should be called in the following format:
Note: Please use the CMS sidebar to fill in the seo settings instead of trying to do it manually
static properties:
- locale = en_US
- site name = OpenCSP
- Title always gets 'OpenCSP - ' prefix
- robots & googlebot are set to 'index, follow'
{{SEO |Title= (text) |Title mode= (optional: replace/append/prepend) |Title separator= (text) |Keywords= (text) |Description= (text) |Robots = (text) |Googlebot= (text) |Type= (text) |Image= (text) |Image alt= (text) |Image width= (number) |Image height= (number) |Locale= (text) |Site name= (text) |Author= (text) |Section= {text) |Published time= (date) }}