|
|
@@ -66,7 +66,7 @@ |
|
|
|
{% set hierarchy = node.rwalk()|list %} |
|
|
|
{% for yeargrp in hierarchy[-1].walk_resources_sorted_by_time()|groupby("meta.created.year")|reverse %} |
|
|
|
<div class="w3-dropdown-hover w3-dropdown-click"> |
|
|
|
<button class="w3-button">{{ yeargrp.grouper }}{# font awesome <i class="fa fa-caret-down"></i> #}</button> |
|
|
|
<button class="w3-button">{{ yeargrp.grouper }} ({{ yeargrp.list|count }}){# font awesome <i class="fa fa-caret-down"></i> #}</button> |
|
|
|
<div class="w3-dropdown-content w3-bar-block"> |
|
|
|
{% for monthgrp in yeargrp.list|groupby("meta.created.month")|reverse %} |
|
|
|
<button class="w3-button">{{ monthgrp.list[0].meta.created|date_format('%B') }}{# font awesome <i class="fa fa-caret-down"></i> #}</button> |
|
|
|