forked from 18F/analytics.usa.gov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
88 lines (77 loc) · 1.91 KB
/
_config.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
baseurl: ""
# Don't exclude nginx.conf, needs to be copied into _site for
# cloud.gov to pick up on it.
exclude:
- .gitignore
- .codeclimate.yml
- .eslinrc.yml
- .sass-cache
- bin/
- docs/
- node_modules/
- sass/
- spec/
- CONTRIBUTING.md
- Dockerfile
- Dockerfile.production
- docker-compose.yml
- Gemfile
- Gemfile.lock
- LICENSE.md
- Makefile
- manifest.yml
- nginx.conf
- package.json
- package-lock.json
- README.md
- Staticfile
- system-security-plan.yml
- vendor
- webpack.config.js
defaults:
- scope:
path: ""
type: agencies
values:
layout: default
# Site title and description
title: "analytics.usa.gov | The US government's web traffic."
description: "Official data on web traffic to thousands of US federal government websites. Published by the Digital Analytics Program."
# Site's own URL
url: https://analytics.usa.gov
# Default dropdown title, will not appear if there are no sub-pages
dropdown_title: Government-Wide
# Default data url (also needs to be in nginx.conf for cloud.gov deployment)
data_url: https://analytics.usa.gov/data
# twitter information
twitter: usgsa
# Site wide error message
site_wide_error:
display: false
title: "Analytics.usa.gov is migrating to a new web analytics platform."
body: "Real time data is currently unavailable."
sass:
sass_dir: sass
style: nested
plugins:
- jekyll-datapage-generator
- jekyll-redirect-from
page_gen:
# Write /agency.slug pages
- data: "agencies"
template: "data"
dir_expr: "record['slug']"
index_files: false
name_expr: "'index'"
title_expr: "record['name']"
# debug: true
# Write /agency.slug/data pages
- data: "agencies"
template: "data_download"
dir_expr: "record['slug'] + '/data/'"
index_files: false
# name: "index"
# name_expr: "record['slug']"
name_expr: "'index'"
title_expr: "record['name']"
debug: true