This commit is contained in:
+17
-1
@@ -1,5 +1,12 @@
|
||||
{% extends "base.html" %}
|
||||
{% from "macros/tag-links.html" import tag_links with context %}
|
||||
{% from "macros/feed-links.html" import feed_autodiscovery, visible_feed_links with context %}
|
||||
{% block feed_head %}
|
||||
{% if this._id in ['articles', 'blog'] %}
|
||||
{% set feed_base = 'https://www.labyricorn.com/' ~ this._id ~ '/' %}
|
||||
{{ feed_autodiscovery(feed_base ~ 'feed.xml', feed_base ~ 'rss.xml', 'Labyricorn - ' ~ this.title) }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block body %}
|
||||
{% set filter_tags = namespace(values=[]) %}
|
||||
{% if this._id in ['blog', 'articles', 'projects'] %}
|
||||
@@ -158,7 +165,16 @@
|
||||
{% endif %}
|
||||
<section class="activity-section">
|
||||
<div class="shell">
|
||||
<div class="section-heading"><span>{{ this.title }}</span><span data-entry-count>{{ this.children.count() }} entries</span></div>
|
||||
<div class="section-heading">
|
||||
<span>{{ this.title }}</span>
|
||||
<span>
|
||||
<span data-entry-count>{{ this.children.count() }} entries</span>
|
||||
{% if this._id in ['articles', 'blog'] %}
|
||||
{% set feed_base = 'https://www.labyricorn.com/' ~ this._id ~ '/' %}
|
||||
· {{ visible_feed_links(feed_base ~ 'feed.xml', feed_base ~ 'rss.xml') }}
|
||||
{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
{% if filter_tags.values %}
|
||||
<div class="tag-filter" data-tag-filter aria-label="Filter {{ this.title }} by tag">
|
||||
<button class="tag-filter-button is-active" type="button" data-tag-value="" aria-pressed="true">All</button>
|
||||
|
||||
Reference in New Issue
Block a user