mirror of
https://github.com/andwati/andwati.com.git
synced 2026-11-26 18:38:47 +00:00
fix xml
This commit is contained in:
+3
-2
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="{{ get_url(path="rss.xsl", trailing_slash=false) }}"?>
|
||||
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
|
||||
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
|
||||
<channel>
|
||||
<title>{{ config.title }}</title>
|
||||
<link>{{ config.base_url }}</link>
|
||||
@@ -16,7 +16,8 @@
|
||||
<author>{{ page.extra.author | default(value=config.extra.author) | default(value="Unknown") }}</author>
|
||||
<link>{{ page.permalink | safe }}</link>
|
||||
<guid>{{ page.permalink | safe }}</guid>
|
||||
<description xml:base="{{ page.permalink | safe }}">{{ page.content }}</description>
|
||||
<description xml:base="{{ page.permalink | safe }}">{{ page.description | default(value=config.description) }}</description>
|
||||
<content:encoded>{{ page.content }}</content:encoded>
|
||||
</item>
|
||||
{% endfor %}
|
||||
</channel>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{% extends "base.html" %} {% block title %}Tag: {{ term.name }} | {{ config.title }}{% endblock
|
||||
title %} {% block description %}Posts tagged "{{ term.name }}" on {{ config.title }}{% endblock
|
||||
title %} {% block description %}{{ config.extra.tag_descriptions[term.slug] | default(value='Posts tagged "' ~ term.name ~ '" on ' ~ config.title) }}{% endblock
|
||||
description %} {% block canonical %}{{ term.permalink }}{% endblock canonical %} {% block og_title
|
||||
%}Tag: {{ term.name }} | {{ config.title }}{% endblock og_title %} {% block og_description %}Posts
|
||||
tagged "{{ term.name }}" on {{ config.title }}{% endblock og_description %} {% block og_url %}{{
|
||||
%}Tag: {{ term.name }} | {{ config.title }}{% endblock og_title %} {% block og_description %}{{
|
||||
config.extra.tag_descriptions[term.slug] | default(value='Posts tagged "' ~ term.name ~ '" on ' ~ config.title) }}{% endblock og_description %} {% block og_url %}{{
|
||||
term.permalink }}{% endblock og_url %} {% block head %}
|
||||
{% set tag_ld_name = 'Posts tagged "' ~ term.name ~ '" | ' ~ config.title %}
|
||||
{% set tag_ld_description = 'Posts tagged "' ~ term.name ~ '" on ' ~ config.title %}
|
||||
{% set tag_ld_description = config.extra.tag_descriptions[term.slug] | default(value='Posts tagged "' ~ term.name ~ '" on ' ~ config.title) %}
|
||||
<!-- SEO: Tag CollectionPage JSON-LD -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
@@ -51,6 +51,9 @@ term.permalink }}{% endblock og_url %} {% block head %}
|
||||
<div class="post-detail">
|
||||
<header class="post-header list-page-header">
|
||||
<h1 class="post-title list-page-title"><span class="term-hash">#</span>{{ term.name }}</h1>
|
||||
{% if config.extra.tag_descriptions[term.slug] %}
|
||||
<p class="tag-description">{{ config.extra.tag_descriptions[term.slug] }}</p>
|
||||
{% endif %}
|
||||
</header>
|
||||
|
||||
<div class="archive-list">
|
||||
|
||||
Reference in New Issue
Block a user