Skip to content
Snippets Groups Projects
Unverified Commit 0e88c2ba authored by Arnaud Levy's avatar Arnaud Levy Committed by GitHub
Browse files

Simplification de la variable et utilisation du Title (#825)

parent d978c989
No related branches found
No related tags found
No related merge requests found
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
<dt>{{ i18n "programs.location" ( len . ) }}</dt> <dt>{{ i18n "programs.location" ( len . ) }}</dt>
<dd> <dd>
{{- range . -}} {{- range . -}}
{{- $locationpage := site.GetPage .path -}} {{- $location := site.GetPage .path -}}
<a href="{{ .permalink }}">{{ $locationpage.Params.title }}</a> <a href="{{ .permalink }}">{{ $location.Title }}</a>
{{- end -}} {{- end -}}
</dd> </dd>
{{- end -}} {{- end -}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment