Use simpler listing on tag list page
This commit is contained in:
parent
26fabf3a43
commit
c8f01870d4
5 changed files with 32 additions and 15 deletions
|
@ -1,13 +0,0 @@
|
|||
.page-contactpage {
|
||||
.card {
|
||||
@include dark-mode {
|
||||
background-color: $grey-darker;
|
||||
}
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
@include dark-mode {
|
||||
color: $grey-lighter;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -78,3 +78,15 @@ nav.pagination {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.card {
|
||||
@include dark-mode {
|
||||
background-color: $grey-darker;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
@include dark-mode {
|
||||
color: $grey-lighter;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
@import "search";
|
||||
@import "spotify";
|
||||
@import "404";
|
||||
@import "contact";
|
||||
@import "password_required";
|
||||
@import "commento";
|
||||
|
||||
|
|
|
@ -1 +1,18 @@
|
|||
{% extends "common/listing_page.html" %}
|
||||
|
||||
{% load wagtailcore_tags %}
|
||||
|
||||
{% block listing_item %}
|
||||
<div class="card mt-4">
|
||||
<div class="card-content">
|
||||
<div class="media">
|
||||
<div class="media-content">
|
||||
<p class="title is-4">
|
||||
<a href="{% pageurl page %}">{{ page.title }}</a>
|
||||
</p>
|
||||
<p class="subtitle is-6">{{ page.summary }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -15,7 +15,9 @@
|
|||
{% block post_content %}
|
||||
<section class="container">
|
||||
{% for page in listing_pages %}
|
||||
{% include "common/listing-item.html" %}
|
||||
{% block listing_item %}
|
||||
{% include "common/listing-item.html" %}
|
||||
{% endblock %}
|
||||
{% endfor %}
|
||||
</section>
|
||||
|
||||
|
|
Loading…
Reference in a new issue