Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restaure les itemprop perdus #6672

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions templates/base_content_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@


{% block content_out %}
<article class="content-wrapper" {% block article_schema %}{% endblock %}>
<article class="content-wrapper" itemscope itemtype="http://schema.org/Article">
<header>
{% block headline %}{% endblock %}
</header>
{% block content_page %}
<section class="article-content" {% block article_centent_schema %}{% endblock %}>
<section class="article-content">
{% block content %}{% endblock %}
</section>
{% endblock %}
Expand Down
6 changes: 0 additions & 6 deletions templates/tutorialv2/base_online.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,3 @@
</a>
</li>
{% endblock %}



{% block article_schema %}
itemscope itemtype="http://schema.org/Article"
{% endblock %}
2 changes: 1 addition & 1 deletion templates/tutorialv2/includes/headline/licence.part.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@

{% crispy form %}
{% elif licence %}
<span class="license">{{ licence }}</span>
<span class="license" itemprop="license">{{ licence }}</span>
{% endif %}
4 changes: 2 additions & 2 deletions templates/tutorialv2/includes/headline/title.part.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div class="content-title-and-subtitle-group">
<div class="content-title-group">
{% spaceless %}
<h1 class="title">{{ title }}</h1>
<h1 class="title" itemprop="name">{{ title }}</h1>
{% if show_form %}
<a href="#edit-title" class="open-modal edit-button" title="{% trans "Modifier le titre" %}">
<span class="visuallyhidden">{% trans "Modifier le titre" %}</span>
Expand All @@ -48,7 +48,7 @@ <h1 class="title">{{ title }}</h1>
{% endif %}
{% crispy form_subtitle %}
{% else %}
<p class="subtitle">{{ subtitle }}</p>
<h2 class="subtitle" itemprop="description">{{ subtitle }}</h2>
{% endif %}
{% endspaceless %}
</div>
Expand Down