mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-09 21:08:31 +02:00
Use Hugo template to dynamically list articles at /articles/index.md.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{{- $content := printf "# %s\n\n" .Title -}}
|
||||
{{- range .RegularPages.ByPublishDate.Reverse -}}
|
||||
{{- $content = printf "%s- [%s](%s)\n" $content .Title .RelPermalink -}}
|
||||
{{- end -}}
|
||||
{{- $content = replaceRE `\]\((/[^):]*/)([\)#?])` `](https://qdrant.tech${1}index.md${2}` $content -}}
|
||||
{{ $content -}}
|
||||
Reference in New Issue
Block a user