Skip to content

Commit

Permalink
🐛 Change SITEURL by main_siteurl (fix #29)
Browse files Browse the repository at this point in the history
This commit change the variable SITEURL in the links to the assets in the head of base.html (<link rel>) by mail_siteurl because if in a multilingual website is used SITEURL, this one change for each language, so it is necessary a variable that doesn't change across the language options. See #29 for more information about it.
  • Loading branch information
ivanhercaz committed Jan 16, 2020
1 parent de21555 commit 8f77ca5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<meta name="twitter:creator" content="@{{ TWITTER_USERNAME }}" />
{% endif %}
<title>{% block title %}{{ SITENAME|striptags|e }}{% endblock title %}</title>
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/style.min.css">
<script src="{{ SITEURL }}/theme/js/menu.js"></script>
<link rel="stylesheet" type="text/css" href="{{ main_siteurl }}/theme/css/style.min.css">
<script src="{{ main_siteurl }}/theme/js/menu.js"></script>
<!-- Pending to improve -->
{% if MATOMO %}
{{ MATOMO }}
Expand Down

0 comments on commit 8f77ca5

Please sign in to comment.