aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.json
blob: 2495f6070b1876117aa9f99564b7f2d25220bf90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  "version": "4.0",
  "title": "{{ .Site.Title }}",
  "languageCodeHTML": "{{ .Site.LanguageCode }}",
  "languageCode": "{{ T "languageCode" }}",
  "languageCode": "{{ T "languageCode" }}", 
  "baseURL": "{{ .Site.BaseURL }}", 
  "description": "{{ .Site.Params.Description }}",
  "logo": "{{ .Site.Params.logo | absURL }}",
  "categories": [
    {{ range $i, $e := .Site.Params.categories }}{{ if $i }},{{ end }}
      {
        "name": "{{ .name }}",{{ if .description }}
        "description": "{{ .description }}",{{ end }}
        "hideTitle": "{{ .untitled }}",
        "closedByDefault": "{{ .closed }}"
      }
    {{ end }}
  ],
  "systems": [
    {{ range $i, $e := .Site.Params.systems }}{{ if $i }},{{ end }}
      {
        "name": "{{ .name }}",{{ if .description }}
        "description": "{{ .description }}",{{ end }}
        "category": "{{ .category }}",
        "hideTitle": "{{ .untitled }}",
        "closedByDefault": "{{ .closed }}"
      }
    {{ end }}
  ],

  "colorBrand": "{{ .Site.Params.Brand }}",
  "colorOk": "{{ .Site.Params.Ok }}",
  "colorDisrupted": "{{ .Site.Params.Disrupted }}",
  "colorDown": "{{ .Site.Params.Down }}",
  "colorNotice": "{{ .Site.Params.Notice }}",
  "alwaysKeepBrandColor": "{{ .Site.Params.alwaysKeepBrandColor }}",
  "googleAnalytics": "{{ .Site.Params.googleAnalytics }}"
}