Skip to content

Commit

Permalink
Fixed raw filter on copyright text
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoreno.rodriguez committed Oct 28, 2023
1 parent b17f670 commit 4e6b073
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v2.0.4
## 10/28/2023

1. [](#bugfix)
* Fixed raw filter on copyright text

# v2.0.3
## 10/28/2023

Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Editorial
slug: editorial
type: theme
version: 2.0.3
version: 2.0.4
description: GravCMS port of the HTML5UP theme Editorial
icon: rebel
author:
Expand Down
4 changes: 2 additions & 2 deletions templates/partials/footer.html.twig
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% set year = 'now'|date('Y') %}
{% set copyright = theme_var('copyright.text')|raw %}
{% set copyright = theme_var('copyright.text') %}
{% if copyright is not empty %}
<!-- Footer -->
<footer id="footer">
<div class="copyright">{{ year }} &copy; {{ site.title|upper }}. <br>
{{ copyright }}
{{ copyright|raw }}
</div>
</footer>
{% endif %}

0 comments on commit 4e6b073

Please sign in to comment.