use abridge theme
This commit is contained in:
parent
abd6331f91
commit
2b9fe8c15f
21 changed files with 971 additions and 131 deletions
|
@ -1,44 +1,28 @@
|
|||
{% extends "zola-clean-blog/templates/index.html" %}
|
||||
{% extends "base.html" %}
|
||||
{%- set uglyurls = config.extra.uglyurls | default(value=false) -%}
|
||||
{%- if config.extra.offline %}{% set uglyurls = true %}{% endif %}
|
||||
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
<header class="masthead" style="background-image: url('{{ get_url(path="/img/about-bg.jpg")}}')">
|
||||
<div class="overlay">
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-md-10 mx-auto">
|
||||
<div class="page-heading">
|
||||
<h1>RSS</h1>
|
||||
<span class="subheading">RSS feeds</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{% endblock header %}
|
||||
{%- block seo %}
|
||||
{{- super() }}
|
||||
{%- set title = "Tag Feeds" %}
|
||||
|
||||
{%- if config.title %}
|
||||
{%- set title_addition = title_separator ~ config.title %}
|
||||
{%- else %}
|
||||
{%- set title_addition = "" %}
|
||||
{%- endif %}
|
||||
|
||||
{%- set description = config.description %}
|
||||
|
||||
{{- macros_seo::seo(config=config, title=title, title_addition=title_addition, description=description, is_home=true) }}
|
||||
{%- endblock seo %}
|
||||
|
||||
{% block content %}
|
||||
<!-- Main Content -->
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-md-10 mx-auto">
|
||||
{{ page.content | safe }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-md-10 mx-auto">
|
||||
<h2>Tags</h2>
|
||||
<ul>
|
||||
{% set tags = get_taxonomy(kind="tags") %}
|
||||
{% for tag in tags.items %}
|
||||
<li><a href="{{ tag.permalink }}/rss.xml">{{ tag.name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
{%- set terms = get_taxonomy(kind="tags") %}
|
||||
<h2>Tag Feeds</h2>
|
||||
<div class="c">
|
||||
<p>{% for term in terms.items %} #<a href="{{ term.permalink | safe }}/rss.xml">{{ term.name }}</a><sup>{{ term.pages | length }}</sup> {% endfor %}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue