diff options
author | Evan Read <eread@gitlab.com> | 2020-05-13 06:02:43 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2020-05-13 06:02:43 +0300 |
commit | 6e53734f9ac7b6ff08ffb2956c5076989929c2d6 (patch) | |
tree | 9a5c744626cbc85f45d68ef826fe73d3eb1a77a4 /.gitlab | |
parent | c86a2f3c8acc7d5d2bed9c72e539a61da206a655 (diff) |
Refine route map
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/route-map.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.gitlab/route-map.yml b/.gitlab/route-map.yml index 595fb6d9..d4f9b3f4 100644 --- a/.gitlab/route-map.yml +++ b/.gitlab/route-map.yml @@ -5,19 +5,19 @@ ######################################## ## Versions pointing to archives/ -- source: '/(content\/_data\/versions.yaml|layouts\/archives.html)/' +- source: '/(content\/_data\/versions\.yaml|layouts\/archives\.html)/' public: 'archives/' ## Everything under content/*/index.md -- source: '/content/(.+)\/index.md/' +- source: '/content/(.+)\/index\.md/' public: '\1' ## Home page -- source: '/(content\/index.erb|layouts\/home.html)' +- source: '/(content\/index\.erb|layouts\/home\.html)/' public: 'index.html' ## 404 -- source: '/(content|layouts)\/404.html' +- source: '/(content|layouts)\/404\.html/' public: '404.html' ########################## @@ -27,7 +27,7 @@ ########################## ## Everything ending in erb hosted under content/ -- source: '/content\/(.+).erb/' +- source: '/content\/(.+)\.erb/' public: '\1' ## HTML files |