Skip to content
Snippets Groups Projects
Commit 1809ff8f authored by alexisben's avatar alexisben
Browse files

fix block programs

parent a6d81886
No related merge requests found
......@@ -17,7 +17,7 @@
<ol class="programs">
{{- range .programs -}}
<li>
{{ $program := site.GetPage (printf "/programs/%s" .slug) }}
{{ $program := site.GetPage (printf "/programs%s" .path) }}
{{- $title := partial "PrepareHTML" $program.Title -}}
<a href="{{ $program.Permalink }}" title="{{ safeHTML (i18n "commons.more_aria" (dict "Title" $title)) }}">
{{- $title -}}
......@@ -25,10 +25,6 @@
</li>
{{ end }}
</ol>
{{/* TODO : use program list partial ?
{{ partial "programs/programs-list.html" .programs }}
*/}}
</div>
</div>
</section>
......
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