diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2018-11-23 17:40:51 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-11-23 17:40:51 +0300 |
commit | e95441847727bfc93d9f19f81fe408b51ba24c70 (patch) | |
tree | 4fde4a739904eb54bf6928104b9e5c8953deee0d /.gitlab | |
parent | a18e0f48797ae6430233b116f688b45542a14ddc (diff) |
Add a route map
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/route-map.yml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/.gitlab/route-map.yml b/.gitlab/route-map.yml new file mode 100644 index 00000000..595fb6d9 --- /dev/null +++ b/.gitlab/route-map.yml @@ -0,0 +1,52 @@ +######################################## +## ## +## Files under content/ and layouts/ ## +## ## +######################################## + +## Versions pointing to archives/ +- source: '/(content\/_data\/versions.yaml|layouts\/archives.html)/' + public: 'archives/' + +## Everything under content/*/index.md +- source: '/content/(.+)\/index.md/' + public: '\1' + +## Home page +- source: '/(content\/index.erb|layouts\/home.html)' + public: 'index.html' + +## 404 +- source: '/(content|layouts)\/404.html' + public: '404.html' + +########################## +## ## +## Files under content/ ## +## ## +########################## + +## Everything ending in erb hosted under content/ +- source: '/content\/(.+).erb/' + public: '\1' + +## HTML files +- source: '/content\/(.+?\/html)/' + public: '\1' + +## Other files +- source: '/content\/(.*)/' + public: '\1' + +########################## +## ## +## Files under layouts/ ## +## ## +########################## + +## Search +- source: '/layouts\/instantsearch*/' + public: 'search/' + +- source: 'layouts/landing-header.html' + public: 'index.html' |