Merge pull request #37 from abeudin/master

Fix material theme
This commit is contained in:
Laurent Peuch 2016-02-24 17:19:32 +01:00
commit fd7f3c4420
3 changed files with 4 additions and 12 deletions

View File

@ -16,14 +16,6 @@
<body> <body>
<main> <main>
<nav class="blue-grey darken-1">
<div class="nav-wrapper">
<a href="#" class="brand-logo right">{{ settings.title }}</a>
{% if settings.menu -%}
{% include 'menu.html' %}
{% endif -%}
</div>
</nav>
{% for section in gallery.sections %} {% for section in gallery.sections %}
{% include "sections/" + section.type + ".html" %} {% include "sections/" + section.type + ".html" %}

View File

@ -26,10 +26,10 @@
{% set cover = Image(gallery.cover) %} {% set cover = Image(gallery.cover) %}
{{ cover.copy() }} {{ cover.copy() }}
<img src="{{ cover.generate_thumbnail("x800") }}"> <img src="{{ cover.generate_thumbnail("x800") }}">
<span class="card-title">{{ gallery.title }}</span> <span class="card-title truncate">{{ gallery.title }}</span>
</div> </div>
<div class="card-content"> <div class="card-content">
<span class="card-title">{% if gallery.sub_title %}{{ gallery.sub_title }}{% endif %}</span> <span class="card-title truncate">{% if gallery.sub_title %}{{ gallery.sub_title }}{% endif %}</span>
{% if gallery.tags %}{% for tag in gallery.tags -%}<div class="chip right"><i class="mdi-action-label"></i> {{ tag }} </div>{% endfor -%}{% endif %} {% if gallery.tags %}{% for tag in gallery.tags -%}<div class="chip right"><i class="mdi-action-label"></i> {{ tag }} </div>{% endfor -%}{% endif %}
</div> </div>
<div class="card-action"> <div class="card-action">

View File

@ -1,5 +1,5 @@
{% set image = Image(section.image) %} {% set image = Image(section.image) %}
{{ image.copy() }} {{ image.copy() }}
<div class="container panorama"> <div class="panorama">
<img src="{{ image.generate_thumbnail("x800") }}"> <img src="{{ image }}">
</div> </div>