Password protection of admin pages, publish-switch and small fixes
This commit is contained in:
@@ -44,14 +44,14 @@
|
||||
<div class="col-md-6 col-sm-12"> <!-- Content -->
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="panel-title"> <h2>{{ page.title }}</h2> </div>
|
||||
<!-- <div class="panel-title"> <h2>{{ page.title }}</h2> </div> -->
|
||||
{{ page.description | markdown }}
|
||||
</div>
|
||||
{% if page.endpoint %}
|
||||
<div class="panel-footer">
|
||||
{% if page.endpoint %}
|
||||
<a href="mailto:order@designbyloven.se" class="btn btn-default"><span class="glyphicon glyphicon-envelope"></span> Beställ</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div> <!-- Content -->
|
||||
</div> <!-- Content row -->
|
||||
@@ -75,6 +75,7 @@
|
||||
{% else %}
|
||||
<div class="row"> <!-- Subsection list !-->
|
||||
{% for c in page.children %}
|
||||
{% if c.published %}
|
||||
<div class="col-xs-6 col-md-3">
|
||||
<div class="thumbnail">
|
||||
<div class="caption" style="padding: 0;">
|
||||
@@ -83,6 +84,7 @@
|
||||
<a href="{{ c.permalink }}"><img src="{{ c.thumbnail.thumbnail }}" class="img-responsive"></a>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div> <!-- Subsection list -->
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user