Merge pull request #989 from Gluejar/maintenance2022

remove meta elements from where they shouldn't be
pull/94/head
Eric Hellman 2022-03-04 17:15:52 -05:00 committed by GitHub
commit 83bad6866e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -107,8 +107,8 @@
<span itemprop="publisher"><a href="{% url 'bypubname_list' work.last_campaign.publisher.name.id %}">{{ work.last_campaign.publisher }}</a></span>
{% endif %}
<span itemprop="datePublished">{{ work.publication_date }}</span>
<meta itemprop="inLanguage" content="work.language" />
<meta itemprop="typicalAgeRange" content="work.age_range" />
<span itemprop="inLanguage" style="display:none">{{ work.language }}</span>
<span itemprop="typicalAgeRange" style="display:none">{{ work.work.age_range }}</span>
</h3>
</div>
</div>

View File

@ -36,8 +36,8 @@
<span itemprop="publisher"><a href="{% url 'bypubname_list' work.last_campaign.publisher.name.id %}">{{ work.last_campaign.publisher }}</a></span>
{% endif %}
<span itemprop="datePublished">{{ work.publication_date }}</span>
<meta itemprop="inLanguage" content="work.language" />
<meta itemprop="typicalAgeRange" content="work.age_range" />
<span itemprop="inLanguage" style="display:none">{{ work.language }}</span>
<span itemprop="typicalAgeRange" style="display:none">{{ work.work.age_range }}</span>
</h3>
</div>
</div>