-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Merlin Buczek
committed
Jun 11, 2019
1 parent
9fe4f4c
commit 0ca8883
Showing
5 changed files
with
33 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{% load wagtailcore_tags %} | ||
|
||
<div class="flex-base"> | ||
{% for item in pages %} | ||
<div class="card is-preview-wide"> | ||
<div class="card-content"> | ||
<a href="{% pageurl item %}" class="title is-4">{{ item.title }}</a> | ||
<div class="content"> | ||
{{ item.specific.preview|richtext }} | ||
<div class="menu"> | ||
<ul class="menu-list card-list"> | ||
{% for child in item.get_children.live %} | ||
<li> | ||
<a class="menu-item" href="{% pageurl child %}"><div>{{ child }}</div></a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters