SOLR-10863: remove feed.xml from HTML version of Ref Guide

This commit is contained in:
Cassandra Targett 2017-06-09 16:40:32 -05:00
parent b3b8344a72
commit 072e72097c
3 changed files with 1 additions and 35 deletions

View File

@ -54,11 +54,7 @@ defaults:
layout: "post"
search: true
# the description is used in the feed.xml file
description: "The Apache Solr Reference Guide is the official documentation for the Apache Solr project."
# needed for sitemap.xml and feed.xml files
# needed for sitemap.xml
url: https://home.apache.org/~ctargett/RefGuidePOC/jekyll-full
# Asciidoc settings - disabled so we can use asciidoctor instead

View File

@ -31,5 +31,3 @@
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="{{ site.site_title }}" href="{{ "/feed.xml" | prepend: site.url }}">

View File

@ -1,28 +0,0 @@
---
search: exclude
layout: none
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.site_title | xml_escape }}</title>
<description>{{ site.description | xml_escape }}</description>
<link>{{ site.url }}</link>
<atom:link href="{{ "/feed.xml" | prepend: site.url }}" rel="self" type="application/rss+xml"/>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<generator>Jekyll v{{ jekyll.version }}</generator>
{% for page in site.pages limit:10 %}
<item>
<title>{{ page.title | xml_escape }}</title>
<description>{{ page.content | xml_escape }}</description>
<link>{{ page.url | prepend: site.url }}</link>
<guid isPermaLink="true">{{ page.url | prepend: site.url }}</guid>
{% for tag in page.tags %}
<category>{{ tag | xml_escape }}</category>
{% endfor %}
</item>
{% endfor %}
</channel>
</rss>