Include css & js in header:
Setup.TS
page.includeJS {
file1 = fileadmin/templates/public/templates_files/file.js
}
page.includeCSS {
file1 = fileadmin/templates/public/templates_files/file.css
}
Include css & js in header:
Setup.TS
page.includeJS {
file1 = fileadmin/templates/public/templates_files/file.js
}
page.includeCSS {
file1 = fileadmin/templates/public/templates_files/file.css
}
Setup.TS
page.meta {
keywords.field = keywords
keywords.ifEmpty (
List your keywords....
)
description.field = description
description.ifEmpty (
Enter some page meta description...
)
copyright.field = copyright
copyright.ifEmpty (
Enter some copyright meta description...
)
}
This will end up as HTML:
<meta name="keywords" content="List your keywords...." />
<meta name="description" content="Enter some page meta description..." />
<meta name="copyright" content="Enter some copyright meta description..." />
in <head> part of HTML document…
Alternatively this can be achieved using pages headerData:
# Meta Keywords
page.headerData.10 = TEXT
page.headerData.10.insertData=1
page.headerData.10.case=lower
page.headerData.10.wrap =
page.headerData.10.value = List your keywords....
# Meta Description
page.headerData.20 = TEXT
page.headerData.20.insertData=1
page.headerData.20.wrap =
page.headerData.20.value = Enter some page meta description...
# Meta Copyright
page.headerData.30 = TEXT
page.headerData.30.insertData=1
page.headerData.30.wrap =
page.headerData.30.value = Enter some copyright meta description...