mirror of
https://github.com/docker/docs.git
synced 2026-06-19 07:35:16 +00:00
Add markdown output for docs homepage
This commit is contained in:
@@ -1,2 +1,6 @@
|
||||
{{- $path := strings.TrimSuffix "/" .RelPermalink -}}
|
||||
{{- printf "%s.md" $path | absURL -}}
|
||||
{{- if .IsHome -}}
|
||||
{{- absURL "/index.md" -}}
|
||||
{{- else -}}
|
||||
{{- $path := strings.TrimSuffix "/" .RelPermalink -}}
|
||||
{{- printf "%s.md" $path | absURL -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
# Docker Documentation
|
||||
|
||||
{{ .RenderShortcodes }}
|
||||
Reference in New Issue
Block a user