jekyll-news-sitemap 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/jekyll-news-sitemap/version.rb +1 -1
- data/lib/sitemap_news.xml +2 -23
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecd6b67564e699e886bad3e4033a30abfff07cb36404856b2a284bf65002b7d3
|
4
|
+
data.tar.gz: 73f1ed9eae6e917ff40669e4a6e13f38f539eee30ec3300165ab99a9d6af7369
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b600b6d0d296532decba90843130f8e4be6d67451ba49cb8a79093ac52f20bb31dd27e22b8698dfe051e2ee92f999c8e520d3be282923bc01330104a2ae3f773
|
7
|
+
data.tar.gz: 691ca88cb9c5470a74a3d3e2517b53b2d568bee35116953ae21f13f035c9ee738e34004f7288282e2842703c6024e3aec54307254d66342381149767b2f65b54
|
data/Gemfile.lock
CHANGED
data/lib/sitemap_news.xml
CHANGED
@@ -3,29 +3,8 @@
|
|
3
3
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
4
4
|
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
|
5
5
|
|
6
|
-
{% assign
|
7
|
-
|
8
|
-
{% for collection in collections %}
|
9
|
-
{% assign docs = collection.docs | where_exp:'doc','doc.sitemap != false' %}
|
10
|
-
{% for doc in docs %}
|
11
|
-
<url>
|
12
|
-
<loc>{{ page.url | replace:'/index.html','/' | absolute_url | xml_escape }}</loc>
|
13
|
-
|
14
|
-
<news:news>
|
15
|
-
<news:publication>
|
16
|
-
<news:name>{{page.publisher}}</news:name>
|
17
|
-
<news:language>en</news:language>
|
18
|
-
</news:publication>
|
19
|
-
<news:publication_date>{{ page.date | date_to_xmlschema }}</news:publication_date>
|
20
|
-
<news:title>{{ page.title }}</news:title>
|
21
|
-
</news:news>
|
22
|
-
</url>
|
23
|
-
{% endfor %}
|
24
|
-
{% endfor %}
|
25
|
-
|
26
|
-
{% assign pages = site.html_pages | where_exp:'doc','doc.sitemap != false' | where_exp:'doc','doc.url != "/404.html"'
|
27
|
-
%}
|
28
|
-
{% for page in pages %}
|
6
|
+
{% assign posts = site.posts | where_exp:'doc','doc.sitemap != false' %}
|
7
|
+
{% for page in posts %}
|
29
8
|
<url>
|
30
9
|
<loc>{{ page.url | replace:'/index.html','/' | absolute_url | xml_escape }}</loc>
|
31
10
|
|