config {
  // Administrator settings
  admPanel   = {$config.adminPanel}
  debug      = {$config.debug}

  contentObjectExceptionHandler = 0

  doctype = html5

  // Character sets
  renderCharset     = utf-8
  metaCharset       = utf-8

  // Cache settings
  cache_period          = 43200
  sendCacheHeaders      = 1

  // URL Settings
  tx_realurl_enable       = 0
  simulateStaticDocuments = 0

  // Language Settings
  uniqueLinkVars          = 1
  linkVars               := addToList(L(1),type(3))
  sys_language_uid        = 0
  sys_language_overlay    = 1
  sys_language_mode       = content_fallback
  pageTitleFirst          = 1
  language                = de
  locale_all              = de_DE.utf-8
  htmlTag_langKey         = de

  # Include Boilerplate handling for IE browsers
  htmlTag_stdWrap {
    setContentToCurrent = 1
    cObject = COA
    cObject {
      10 = LOAD_REGISTER
      10 {
        newLine.char = 10
        tagEnd {
          current = 1
          split.max = 2
          split.token = <html
          split.returnKey = 1
        }
      }

      20 = TEXT
      20.value = <!--[if lt IE 7]> <html class="no-js ie6 oldie"{register:tagEnd} <![endif]-->
      20.wrap = |{register:newLine}
      20.insertData = 1
      30 < .20
      30.value = <!--[if IE 7]> <html class="no-js ie7 oldie"{register:tagEnd} <![endif]-->
      40 < .20
      40.value = <!--[if IE 8]> <html class="no-js ie8 oldie"{register:tagEnd} <![endif]-->
      50 < .20
      50.value = <!--[if gt IE 8]> <!--><html class="no-js ie6 oldie"{register:tagEnd} <!--<![endif]-->

      90 = RESTORE_REGISTER
    }
  }

  // Link settings
  # baseURL =
  # absRefPrefix = {$config.domain}
  absRefPrefix            = /
  prefixLocalAnchors      = all

  // Remove targets from links
  intTarget =
  extTarget =

  // Enable Links across Domains
  typolinkEnableLinksAcrossDomains = 1

  // Image Scale
  noScaleUp = 1

  // Indexed Search
  index_enable       = 1
  index_externals    = 1

  // Code cleaning
  disablePrefixComment  = 1

  // Move default CSS and JS to external file
  removeDefaultJS        = external
  inlineStyle2TempFile   = 0

  // Protect mail addresses from spamming
  spamProtectEmailAddresses = -3
  spamProtectEmailAddresses_atSubst = @<span style="display:none;">remove-this.</span>

  // Comment in the <head> tag
  headerComment (
  Konzept, Design & Programmierung - Werbeagentur Direttissima
        - - - - - - - - - - - -
  )
}

# Set baseURL setting for http or https

# config.baseURL = http://{$config.domain}/
# [globalString = IENV:TYPO3_SITE_URL=https://{$config.domain}/]
#   config.baseURL = https://{$config.domain}/
# [global]

// Condition to switch the doctype and xml prologue
# [browser = msie] && [version = <7]
# config {
#   doctypeSwitch = 1
# }
# [global]

// Condition to set language according to L POST/GET variable
[globalVar = GP:L = 1]
config {
  htmlTag_langKey = en
  sys_language_uid = 1
  language = en
  locale_all = en_EN.UTF-8
}
[browser = msie]
config.additionalHeaders = X-UA-Compatible: IE=Edge,chrome=1
[global]
