Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new hook "before_suit_styles" #408

Merged
merged 1 commit into from
Sep 28, 2015
Merged

Conversation

brunocascio
Copy link
Contributor

Hi guys!
I added another hook for template. Is this possible?
My project have other css framework, but i need load before bootstrap because some styles are broken.

Hi guys!
I added another hook for template. Is this possible?
My project have other css framework, but i need load before bootstrap because some styles are broken.
@brunocascio
Copy link
Contributor Author

Use example:

{% block before_suit_styles %}
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.0.4/components/icon.min.css"/>
  <link rel="stylesheet" type="text/css" href="{% static "admin/css/semantic.min.css" %}" />
  {{ block.super }}
{% endblock %}

darklow added a commit that referenced this pull request Sep 28, 2015
Added new hook "before_suit_styles"
@darklow darklow merged commit 60790bf into darklow:develop Sep 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants