aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-17 02:00:01 +0900
committernsfisis <nsfisis@gmail.com>2023-03-17 02:00:01 +0900
commitcbfb56927c34a8d45c789fe463ab1b66b8d9d9ff (patch)
tree61b55d341ea7563a4c33de3b02e480cf3dddbd9b
parent77d1d07fbc1b8e27125d5d727e1551e9aeaac6c2 (diff)
downloadblog.nsfisis.dev-cbfb56927c34a8d45c789fe463ab1b66b8d9d9ff.tar.gz
blog.nsfisis.dev-cbfb56927c34a8d45c789fe463ab1b66b8d9d9ff.tar.zst
blog.nsfisis.dev-cbfb56927c34a8d45c789fe463ab1b66b8d9d9ff.zip
chore: remove unnecessary files
-rw-r--r--templates/feed.xml.erb27
-rw-r--r--templates/sitemap.xml.erb11
2 files changed, 0 insertions, 38 deletions
diff --git a/templates/feed.xml.erb b/templates/feed.xml.erb
deleted file mode 100644
index 7ebd1ba..0000000
--- a/templates/feed.xml.erb
+++ /dev/null
@@ -1,27 +0,0 @@
-<% _feed_title = feed_title %>
-<% _link = link %>
-<% _description = description %>
-<% _lang = lang %>
-<% _last_build_date = last_build_date %>
-<% _feed_link = feed_link %>
-<% _posts = posts %>
-<?xml version="1.0" encoding="utf-8"?>
-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
- <channel>
- <title><%= _feed_title %></title>
- <link><%= _link %></link>
- <description><%= _description %></description>
- <language><%= _lang %></language>
- <lastBuildDate><%= _last_build_date %></lastBuildDate>
- <atom:link href="<%= _feed_link %>" rel="self" type="application/rss+xml" />
- <% for post in _posts %>
- <item>
- <title><%= post.title %></title>
- <link><%= post.href %></link>
- <pubDate><%= post.updated_on %></pubDate>
- <guid><%= post.href %></guid>
- <description><![CDATA[<%= post %>]]></description>
- </item>
- <% end %>
- </channel>
-</rss>
diff --git a/templates/sitemap.xml.erb b/templates/sitemap.xml.erb
deleted file mode 100644
index 304b1c6..0000000
--- a/templates/sitemap.xml.erb
+++ /dev/null
@@ -1,11 +0,0 @@
-<% _base_url = base_url %>
-<% _pages = pages %>
-<?xml version="1.0" encoding="utf-8"?>
-<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" >
- <% for page in _pages %>
- <url>
- <loc><%= _base_url %><%= page.href %></loc>
- <lastmod><%= page.updated_on %></lastmod>
- </url>
- <% end %>
-</urlset>