Page Header Tags

Metadaten im HTML Page Header

Um die Header Tags zu rendern (hier für deutschsprachige Seiten) folgendes in die Templates aufnehmen:

#--------------------------------
# General Configuration
#--------------------------------
config.renderCharset=UTF-8
config.disablePrefixComment = 1
config.headerComment (
      Design and Programming by www.rootsystem.de
  )

# Title
config.noPageTitle = 2
page.headerData.10 = TEXT
page.headerData.10.field = subtitle // title
page.headerData.10.wrap = <title>Domainname: |</title>
 

# Header
config {
  //xhtml-transitional
  //htmlTag_langKey = ...set in language dialog
  doctype = xhtml_trans
  xhtml_cleaning = all
  xmlprologue = none
}


#--------------------------------
# Page
#--------------------------------
page = PAGE
page {
    
  headerData {
    1 = TEXT
    1.value (
        <link href="favicon.ico" type="image/x-icon" rel="shortcut icon">
        <link href="/favicon.ico" type="image/x-icon" rel="icon">
        <link href="/favicon.ico" type="image/x-icon" rel="shortcut icon">
    <meta name="page-topic" content="Kultur">
    <meta name="page-type" content="Text">
    <meta name="audience" content="Alle">
    <meta name="publisher" content="Rootsystem">
    <meta name="copyright" content="Rootsystem">
    <meta name="ROBOTS" content="INDEX, FOLLOW">
    <meta name="Content-Language" content="de">
    )
  }
 
  # ---------- General ----------
  typeNum = 0
  bodyTag = <body bgColor = "#DDDDDD">
  includeCSS.file1 = fileadmin/css/example.css
  includeCSS.file1.import = 0
  includeCSS.file1.media = all
 
  #includeCSS.file2 = fileadmin/css/example_rte.css
  #includeCSS.file2.import = 0
  #includeCSS.file2.media = all
 
  meta.description.field = abstract
  meta.author.field = author
  meta.keywords.field = keywords
  meta.audience  = all
  config.metaCharset = utf-8
  config.additionalHeaders = 
       Content-Type:text/html;charset=UTF-8
 
}

Der htmlTag_langKey wird abhängig von der Sprache gesetzt siehe Content Sprachen.

Erstellt: 07/2010| Geändert: 10/2015