Add Atom feeds for categories and tags
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
{% comment %}
|
||||
{% assign csp="default-src *; script-src 'self'" %}
|
||||
@@ -14,11 +13,10 @@
|
||||
<meta http-equiv="X-Content-Security-Policy" content="{{ csp }}">
|
||||
<meta http-equiv="X-WebKit-CSP" content="{{ csp }}">
|
||||
{% endcomment %}
|
||||
{% if page.title == nil %}
|
||||
<title>{{ site.title }} - {{ site.tagline }} </title>
|
||||
{% else %}
|
||||
<title>{{ page.title }} | {{ site.title }} - {{ site.tagline }} </title>
|
||||
{% endif %}
|
||||
<meta charset="utf-8" />
|
||||
{% comment %}
|
||||
Support for OpenGraph
|
||||
{% endcomment %}
|
||||
{% if page.url != nil %}
|
||||
<meta property="og:url" content="{{ page.url | absolute_url }}" />
|
||||
{% else %}
|
||||
@@ -44,8 +42,12 @@
|
||||
<meta property="og:video" content="{{ page.video | absolute_url }}?timestamp={{ page.date | default: site.time | date_to_xmlschema }}" />
|
||||
{% endif %}
|
||||
<meta property="article:published_time" content="{{ page.date | default: site.time | date_to_xmlschema }}" />
|
||||
{% if page.title == nil %}
|
||||
<title>{{ site.title }} - {{ site.tagline }} </title>
|
||||
{% else %}
|
||||
<title>{{ page.title }} | {{ site.title }} - {{ site.tagline }} </title>
|
||||
{% endif %}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="color-scheme" content="dark">
|
||||
<link rel="icon" href="{{ site.xaymar.data.logo | absolute_url }}?timestamp={{ site.time | date_to_xmlschema }}">
|
||||
<link rel="stylesheet" href="{{ site.xaymar.data.css | absolute_url }}?timestamp={{ site.time | date_to_xmlschema }}">
|
||||
<link rel="alternate" type="application/rss+xml" href="{{ site.xaymar.data.rss | absolute_url }}">
|
||||
<link rel="alternate" type="application/atom+xml" title="All Articles" href="{{ site.xaymar.data.rss | absolute_url }}">
|
||||
|
||||
Reference in New Issue
Block a user