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

fix block programs

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