Use splat redirects

Signed-off-by: lucperkins <lucperkins@gmail.com>
This commit is contained in:
lucperkins 2019-04-22 18:20:31 -07:00
parent c664da7b05
commit 7a573575d1
2 changed files with 11 additions and 4 deletions

View File

@ -6,4 +6,11 @@
- proto
- web
- dart
- community
- community
- node
- swift
- php
- java-api-checker
- docker-library
- experiments
- haskell

View File

@ -1,4 +1,4 @@
{{- $redirects := site.Data.redirects -}}
{{- range $redirects }}
/grpc-{{ . }} https://github.com/grpc/grpc-{{ . }}
{{- end }}
{{- range $redirects -}}
/grpc-{{ . }}/* https://github.com/grpc/grpc-{{ . }}/:splat
{{ end -}}