Skip to content
Snippets Groups Projects
Unverified Commit 18b2ae5d authored by Alexis BENOIT's avatar Alexis BENOIT Committed by GitHub
Browse files

Correction des micro data (#788)

parent 7818aacb
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
{{- $direction = partial "GetImageDirection" .Params.image -}}
{{ end }}
<article class='post' itemprop="blogPosts" itemscope itemtype="http://schema.org/BlogPosting">
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<div class="post-content">
{{- $title := partial "PrepareHTML" .Title -}}
......
......@@ -6,7 +6,7 @@
{{ with .block.data }}
<ol data-slider="{{ site.Params.blocks.timeline.slider | encoding.Jsonify }}">
{{ range .events }}
<li class="timeline-event">
<li class="timeline-event" itemscope itemtype="https://schema.org/Article">
{{ $heading_tag.open -}}
{{ .title | safeHTML }}
{{ $heading_tag.close -}}
......
......@@ -22,7 +22,7 @@
{{ $post_class = printf "%s %s" $post_class "without-image" }}
{{ end }}
<article class="{{ $post_class }}" itemprop="blogPosts" itemscope itemtype="http://schema.org/BlogPosting">
<article class="{{ $post_class }}" itemscope itemtype="http://schema.org/BlogPosting">
<div class="post-content">
{{- $title := partial "PrepareHTML" .Title -}}
{{ if and $options.subtitle .Params.subtitle }}
......
......@@ -6,11 +6,11 @@
) }}
{{ $options := .options }}
<li class="program">
<li class="program" itemscope itemtype="https://schema.org/EducationalOccupationalCredential">
<div class="program-content">
{{ $title := partial "PrepareHTML" $program.Title }}
{{ $heading_tag.open }}
<a href="{{ $program.Permalink }}" itemtype="url" title="{{ safeHTML (i18n "commons.more_aria" (dict "Title" $title)) }}">
<a href="{{ $program.Permalink }}" itemprop="url" title="{{ safeHTML (i18n "commons.more_aria" (dict "Title" $title)) }}">
{{ $title }}
</a>
{{ $heading_tag.close }}
......
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