Line 18: | Line 18: | ||
|Description= (text) | |Description= (text) | ||
|Keywords= (text) | |Keywords= (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) | ||
+ | |||
|Author= (text) | |Author= (text) | ||
|Published time= (date) | |Published time= (date) | ||
+ | |||
+ | |Robots = (text) | ||
+ | |Googlebot= (text) | ||
}} | }} | ||
</pre> | </pre> | ||
Line 33: | Line 36: | ||
|title=OpenCSP - {{#if: {{{Title|}}} |{{{Title|}}} |{{PAGENAME}} }} | |title=OpenCSP - {{#if: {{{Title|}}} |{{{Title|}}} |{{PAGENAME}} }} | ||
|title_mode={{#if:{{{Title mode|}}} |{{{Title mode|}}} |replace}} | |title_mode={{#if:{{{Title mode|}}} |{{{Title mode|}}} |replace}} | ||
+ | |title_separator={{#if: {{{Title separator|}}} |{{{Title separator|}}} |- }} | ||
|keywords={{{Keywords|}}} | |keywords={{{Keywords|}}} | ||
|description={{{Description|}}} | |description={{{Description|}}} | ||
Line 41: | Line 45: | ||
|image_height={{{Image height|}}} | |image_height={{{Image height|}}} | ||
− | |locale=en_US | + | |locale={{#if: {{{Locale|}}} |{{{Locale|}}} |en_US}} |
− | |site_name=OpenCSP | + | |site_name={{#if: {{{Site name|}}} |{{{Site name|}}} |OpenCSP}} |
|author={{{Author|}}} | |author={{{Author|}}} | ||
|published_time={{{Published time|}}} | |published_time={{{Published time|}}} | ||
− | |robots=index, follow | + | |robots={{#if: {{{Robots|}}} |{{{Robots|}}} |index, follow}} |
− | |googlebot=index, follow | + | |googlebot={{#if: {{{Googlebot|}}} |{{{Googlebot|}}} |index, follow}} |
}}</includeonly> | }}</includeonly> |
Revision as of 15:54, 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) |Description= (text) |Keywords= (text) |Type= (text) |Image= (text) |Image alt= (text) |Image width= (number) |Image height= (number) |Author= (text) |Published time= (date) |Robots = (text) |Googlebot= (text) }}