Skip to content
Snippets Groups Projects
Unverified Commit ff2a5eb7 authored by claraRigo's avatar claraRigo Committed by GitHub
Browse files

Position des blocks de contenu dans la page program (#588)

parent dc311a06
No related branches found
No related tags found
No related merge requests found
......@@ -3,23 +3,27 @@
<div class="content">
<h2>{{ i18n "programs.toc.presentation" }}</h2>
<div>
{{- partial "programs/image.html" .Params.image -}}
{{- if partial "GetTextFromHTML" .Params.presentation -}}
<section id="{{ urlize (i18n "programs.presentation") }}">
<h3>{{ i18n "programs.presentation" }}</h3>
<p>{{- partial "PrepareHTML" .Params.presentation -}}</p>
</section>
{{- end -}}
{{ if or .Params.image .Params.presentation .Params.objectives }}
<div>
{{- partial "programs/image.html" .Params.image -}}
{{- if partial "GetTextFromHTML" .Params.objectives -}}
<section id="{{ urlize (i18n "programs.objectives") }}">
<h3>{{ i18n "programs.objectives" }}</h3>
{{- partial "PrepareHTML" .Params.objectives -}}
</section>
{{- end -}}
{{- if partial "GetTextFromHTML" .Params.presentation -}}
<section id="{{ urlize (i18n "programs.presentation") }}">
<h3>{{ i18n "programs.presentation" }}</h3>
<p>{{- partial "PrepareHTML" .Params.presentation -}}</p>
</section>
{{- end -}}
{{- if partial "GetTextFromHTML" .Params.objectives -}}
<section id="{{ urlize (i18n "programs.objectives") }}">
<h3>{{ i18n "programs.objectives" }}</h3>
{{- partial "PrepareHTML" .Params.objectives -}}
</section>
{{- end -}}
</div>
{{ end }}
{{- partial "contents/list.html" . }}
<div>
<section id="{{ urlize (i18n "programs.administrative_information") }}">
<h3>{{ i18n "programs.administrative_information" }}</h3>
<table class="program-table">
......@@ -57,7 +61,6 @@
</section>
</div>
{{- partial "contents/list.html" . }}
</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