Config.typoscript 1.26 KB
Newer Older
Harry Glatz's avatar
Harry Glatz committed
1
config {
2
3
4
5
  absRefPrefix = auto
  no_cache = {$config.no_cache}
  uniqueLinkVars = 1
  pageTitleFirst = 1
6
  linkVars = L(0), type(int)
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  prefixLocalAnchors = {$config.prefixLocalAnchors}
  renderCharset = utf-8
  metaCharset = utf-8
  doctype = html5
  removeDefaultJS = {$config.removeDefaultJS}
  inlineStyle2TempFile = 1
  admPanel = {$config.admPanel}
  debug = 0
  cache_period = 86400
  sendCacheHeaders = {$config.sendCacheHeaders}
  intTarget =
  extTarget =
  disablePrefixComment = 1
  index_enable = 1
  index_externals = 1
  index_metatags = 1
  headerComment = {$config.headerComment}
  removeDefaultCss = 1
Harry Glatz's avatar
Harry Glatz committed
25

26
  spamProtectEmailAddresses = 1
27

28
29
  // Disable Image Upscaling
  noScaleUp = 1
Harry Glatz's avatar
Harry Glatz committed
30

31
32
33
34
35
  // Compression and Concatenation of CSS and JS Files (done via gulp process)
  compressJs = 0
  compressCss = 0
  concatenateJs = 0
  concatenateCss = 0
Andreas Nedbal's avatar
Andreas Nedbal committed
36

37
38
39
40
  additionalHeaders {
    10.header = Cache-Control: max-age=86400, public
    20.header = Cache-Control: max-age=7200, private, must-revalidate
  }
Harry Glatz's avatar
Harry Glatz committed
41
}
42

Thomas Löffler's avatar
Thomas Löffler committed
43
[siteLanguage("languageId") == 1]
44
45
46
47
48
49
config {
  sys_language_uid = 1
  language = de
  locale_all = de_DE.UTF-8
  htmlTag_langKey = de
}
50
51
[global]

Thomas Löffler's avatar
Thomas Löffler committed
52
[siteLanguage("languageId") == 2]
53
54
55
56
57
58
59
config {
  sys_language_uid = 2
  language = es
  locale_all = es.UTF-8
  htmlTag_langKey = es
}
[global]