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. */
img.rotate90 {
transform: rotate(90deg);
......
{% 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 css_head %}
{{ block.super }}
<link href="{% static "photos/css/style.scss" %}" rel="stylesheet" type="text/scss">
{{ block.super }}
{% compress css %}
<link href="{% static "photos/css/style.scss" %}" rel="stylesheet" type="text/x-scss">
{% endcompress %}
{% endblock %}
{% block body %}
......
{% extends 'base.html' %}
{% load i18n thumbnail staticfiles %}
{% load i18n thumbnail staticfiles compress %}
{% block title %}{% trans "Photos" %} — {{ block.super }}{% endblock %}
{% block css_head %}
{{ block.super }}
<link href="{% static 'photos/css/style.scss' %}" rel="stylesheet" type="text/scss">
{{ block.super }}
{% compress css %}
<link href="{% static 'photos/css/style.scss' %}" rel="stylesheet" type="text/x-scss">
{% endcompress %}
{% endblock %}
{% 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