use abridge theme
This commit is contained in:
parent
abd6331f91
commit
2b9fe8c15f
21 changed files with 971 additions and 131 deletions
0
templates/.gitkeep
Normal file
0
templates/.gitkeep
Normal file
|
@ -1,30 +0,0 @@
|
|||
{% extends "zola-clean-blog/templates/index.html" %}
|
||||
|
||||
{% 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>Impressum</h1>
|
||||
<span class="subheading">Who runs this site?</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{% endblock header %}
|
||||
|
||||
{% 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>
|
||||
{% endblock content %}
|
|
@ -1,4 +0,0 @@
|
|||
{% extends "zola-clean-blog/templates/index.html" %}
|
||||
{% block copyright %}
|
||||
Copyright © Harald Hoyer 2000-today
|
||||
{% endblock copyright %}
|
|
@ -1,7 +0,0 @@
|
|||
{% extends "zola-clean-blog/templates/page.html" %}
|
||||
{% block copyright %}
|
||||
Copyright © Harald Hoyer 2000-today
|
||||
{% endblock copyright %}
|
||||
|
||||
{% block title %}{{ config.title }} – {{ page.title }}{% endblock title %}
|
||||
|
|
@ -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 %}
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
|
||||
<channel>
|
||||
<title>{{ config.title }}
|
||||
{%- if term %} - {{ term.name }}
|
||||
{%- elif section.title %} - {{ section.title }}
|
||||
{%- endif -%}
|
||||
</title>
|
||||
<link>
|
||||
{%- if section -%}
|
||||
{{ section.permalink | escape_xml | safe }}
|
||||
{%- else -%}
|
||||
{{ config.base_url | escape_xml | safe }}
|
||||
{%- endif -%}
|
||||
</link>
|
||||
<description>{{ config.description }}</description>
|
||||
<generator>Zola</generator>
|
||||
<language>{{ lang }}</language>
|
||||
<atom:link href="{{ feed_url | safe }}" rel="self" type="application/rss+xml"/>
|
||||
<lastBuildDate>{{ last_updated | date(format="%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
|
||||
{%- for page in pages %}
|
||||
<item>
|
||||
<title>{{ page.title }}</title>
|
||||
<pubDate>{{ page.date | date(format="%a, %d %b %Y %H:%M:%S %z") }}</pubDate>
|
||||
<author>
|
||||
{%- if page.authors -%}
|
||||
{{ page.authors[0] }}
|
||||
{%- elif config.author -%}
|
||||
{{ config.author }}
|
||||
{%- else -%}
|
||||
Unknown
|
||||
{%- endif -%}
|
||||
</author>
|
||||
<link>{{ page.permalink | escape_xml | safe }}</link>
|
||||
<guid>{{ page.permalink | escape_xml | safe }}</guid>
|
||||
<description>{% if page.summary %}{{ page.summary }} {{ '<p class="post-meta"><a href="' | escape_xml | safe }}{{ page.permalink }}{{ '">Read More</a></p>' | escape_xml | safe }} {% else %}{{ page.content }}{% endif %}</description>
|
||||
</item>
|
||||
{%- endfor %}
|
||||
</channel>
|
||||
</rss>
|
Loading…
Add table
Add a link
Reference in a new issue