Skip to content

Commit

Permalink
Merge pull request #85 from ckan/fix_css_issues_in_non_root_paths
Browse files Browse the repository at this point in the history
Fix issues with css files when ckan is installed in non-root path
  • Loading branch information
amercader committed Jun 16, 2020
2 parents 00b019b + 6c5cd46 commit 91a57c0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ckanext/showcase/templates/showcase/edit_base.html
Expand Up @@ -6,7 +6,7 @@

{% block styles %}
{{ super() }}
<link rel="stylesheet" href="{{ g.site_url }}/ckanext_showcase.css" />
{% resource "showcase/ckanext_showcase.css" %}
{% endblock %}

{% block breadcrumb_content_selected %}{% endblock %}
Expand Down
4 changes: 2 additions & 2 deletions ckanext/showcase/templates/showcase/read.html
Expand Up @@ -8,9 +8,9 @@

{% block styles %}
{{ super() }}
<link rel="stylesheet" href="{{ g.site_url }}/ckanext_showcase.css" />
{% resource "showcase/ckanext_showcase.css" %}
{% if editor == 'ckeditor' %}
<link rel="stylesheet" href="{{ g.site_url }}/ckeditor-content-style.css" type="text/css">
{% resource "showcase/ckeditor-content-style.css" %}
{% endif %}
{% endblock %}

Expand Down

0 comments on commit 91a57c0

Please sign in to comment.