Skip to content

Commit

Permalink
fix: rss icon in news pages
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Jul 4, 2024
1 parent 3d03192 commit d9daf65
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions publiccode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ name: uniCMS - Unical template
platforms:
- linux
- web
releaseDate: '2024-06-25'
releaseDate: '2024-07-04'
roadmap: 'https://github.com/UniversitaDellaCalabria/unicms-template-unical/issues'
softwareType: standalone/web
softwareVersion: v1.6.22
softwareVersion: v1.6.23
url: 'https://github.com/UniversitaDellaCalabria/unicms-template-unical'
usedBy:
- Università della Calabria - https://www.unical.it
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name=PKG_NAME,
version='1.6.22',
version='1.6.23',

packages=[PKG_NAME],
package_dir={PKG_NAME: f"{SRC_FOLDER}/{PKG_NAME}"},
Expand Down
2 changes: 1 addition & 1 deletion src/unicms_template_unical/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

# CDN FOR STATICS
UNICMS_TEMPLATE_UNICAL_USE_CDN = False
UNICMS_TEMPLATE_UNICAL_CDN = 'https://cdn.jsdelivr.net/gh/UniversitaDellaCalabria/unicms-template-unical@1.6.22/src/unicms_template_unical/static'
UNICMS_TEMPLATE_UNICAL_CDN = 'https://cdn.jsdelivr.net/gh/UniversitaDellaCalabria/unicms-template-unical@1.6.23/src/unicms_template_unical/static'
11 changes: 10 additions & 1 deletion src/unicms_template_unical/templates/pages/publication_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

{% get_current_language as LANGUAGE_CODE %}
{% settings_value "CMS_PUBLICATION_LIST_PREFIX_PATH" as publication_list_prefix %}
{% settings_value "CMS_PUBLICATION_RSS_PREFIX_PATH" as publication_rss_prefix %}
{% settings_value "FACEBOOK_ENDPOINT" as facebook_share %}
{% settings_value "INSTAGRAM_ENDPOINT" as instagram_share %}
{% settings_value "TWITTER_ENDPOINT" as twitter_share %}
Expand All @@ -40,7 +41,15 @@ <h2 class="m-0 p-0">

<div class="row">
<div class="col">
<h1 class="mb-4 lighter">{% if category_name %}{{ category_name }}{% else %}News{% endif %}</h1>
<h1 class="mb-4 lighter">
{% if category_name %}{{ category_name }}{% else %}News{% endif %}
<a href="{{ webpath.get_full_path }}{{ publication_rss_prefix }}?{{ request.GET.urlencode }}" class="no-color">
<svg class="icon me-3 icon-secondary icon" aria-labelledby="rss_svg">
<title id="rss_svg">RSS Feed</title>
<use xlink:href="{% static '/svg/sprites.svg' %}#it-rss-square"></use>
</svg>
</a>
</h1>

{% if category_name %}
<div class="mb-4">
Expand Down

0 comments on commit d9daf65

Please sign in to comment.