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

fix programs'posts

parent 4513ecf2
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,6 @@
<div class="organizations">
{{- range .partners }}
<div>
{{- if .slug }}
{{ with (site.GetPage (printf "/organizations/%s" .slug )) }}
{{- partial "organizations/organization.html" . -}}
......@@ -37,7 +36,7 @@
{{ $title = partial "PrepareHTML" .name -}}
<h1>
{{- if .url }}
<a href="{{ .url }}">
<a href="{{ .url }}" title="{{ safeHTML (i18n "commons.link.blank_aria" (dict "Title" $title)) }}">
{{ end }}
{{- $title -}}
{{ if .url }}
......
......@@ -29,5 +29,10 @@
{{- partial "programs/pedagogy.html" . -}}
{{- partial "programs/results.html" . -}}
{{- partial "programs/admission.html" . -}}
{{/* TODO: fixer les posts liés */}}
{{/* {{- $category := site.GetPage (printf "/categories%s" .Params.category) -}} */}}
{{/* {{- partial "posts/related.html" $category -}} */}}
{{- partial "hooks/before-program-end.html" . -}}
</div>
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