Commit 576fdc06 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg

Fix the photos CSS compress

parent a8e6658d
/* Solving this with dynamic a data attribute (i.e. attr(data-rotation)) does not work, as that's a string. */ /* Solving this with dynamic a data attribute (i.e. attr(data-rotation)) does not work, as that's a string. */
img.rotate90 { img.rotate90 {
transform: rotate(90deg); transform: rotate(90deg);
......
{% extends 'base.html' %} {% extends 'base.html' %}
{% load staticfiles i18n thumbnail shared_thumbnail %} {% load staticfiles i18n thumbnail shared_thumbnail compress %}
{% block title %}{{ album.title }} — {% trans "Photos" %} — {{ block.super }}{% endblock %} {% block title %}{{ album.title }} — {% trans "Photos" %} — {{ block.super }}{% endblock %}
{% block css_head %} {% block css_head %}
{{ block.super }} {{ block.super }}
<link href="{% static "photos/css/style.scss" %}" rel="stylesheet" type="text/scss"> {% compress css %}
<link href="{% static "photos/css/style.scss" %}" rel="stylesheet" type="text/x-scss">
{% endcompress %}
{% endblock %} {% endblock %}
{% block body %} {% block body %}
......
{% extends 'base.html' %} {% extends 'base.html' %}
{% load i18n thumbnail staticfiles %} {% load i18n thumbnail staticfiles compress %}
{% block title %}{% trans "Photos" %} — {{ block.super }}{% endblock %} {% block title %}{% trans "Photos" %} — {{ block.super }}{% endblock %}
{% block css_head %} {% block css_head %}
{{ block.super }} {{ block.super }}
<link href="{% static 'photos/css/style.scss' %}" rel="stylesheet" type="text/scss"> {% compress css %}
<link href="{% static 'photos/css/style.scss' %}" rel="stylesheet" type="text/x-scss">
{% endcompress %}
{% endblock %} {% endblock %}
{% block body %} {% block body %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment