Skip to content

Commit

Permalink
Solves two little bugs (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-Crow authored Jun 5, 2024
1 parent df477da commit 8cf0d63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<{{ value.heading_tag | default:"h3" }} class="fr-card__title">
{% if value.link and value.link.url %}
<a href="{{ value.link.url }}" {% if value.link.url.0 != '/' and request.get_host not in value.link.url %}target="_blank" rel="noopener noreferrer"{% endif %}>
{{ value.title }} {{value.link.url}}
{{ value.title }}
{% if value.link.url.0 != '/' and request.get_host not in value.link.url %}
<span class="fr-sr-only">{% translate "Opens a new window" %}</span>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{{ value.caption }}
<a class="fr-link" href="{{ value.caption }}">{% translate "Watch on the site" %}</a>
</figcaption>
{% if value.transcription %}
{% if value.transcription.content %}
{% include_block value.transcription %}
{% endif %}
</figure>
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "content-manager"
version = "1.5.0"
version = "1.5.1"
description = "Gestionnaire de contenu permettant de créer et gérer un site internet basé sur le Système de design de l'État, accessible et responsive"
authors = [
"Sébastien Reuiller <[email protected]>",
Expand Down

0 comments on commit 8cf0d63

Please sign in to comment.