chore: mv conf/tpl->website/template

This commit is contained in:
deepzz0
2021-05-07 15:17:20 +08:00
parent a99ed9504b
commit 488c0f04fe
6 changed files with 1 additions and 1 deletions

View File

@@ -1,4 +0,0 @@
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*.{{.Host}}" />
</cross-domain-policy>

View File

@@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{.Title}}</title>
<link>https://{{.Host}}</link>
<description>{{.SubTitle}}</description>
<atom:link href="https://{{.Host}}/rss.html" rel="self" />
<atom:link href="{{.FeedrURL}}" rel="hub" />
<language>zh-CN</language>
<lastBuildDate>{{.BuildDate}}</lastBuildDate>
{{range .Articles}}
<item>
<title>{{.Title}}</title>
<link>https://{{$.Host}}/post/{{.Slug}}.html</link>
<comments>https://{{$.Host}}/post/{{.Slug}}.html#comments</comments>
<guid>https://{{$.Host}}/post/{{.Slug}}.html</guid>
<description>
<![CDATA[<blockquote>{{.Content}}<p>本文链接:<a href="https://{{$.Host}}/post/{{.Slug}}.html">https://{{$.Host}}/post/{{.Slug}}.html</a><a href="https://{{$.Host}}/post/{{.Slug}}.html#comments">参与评论 »</a></p>]]>
</description>
</item>
{{end}}
</channel>
</rss>

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>{{.BTitle}}</ShortName>
<Description>{{.SubTitle}}</Description>
<Url type="text/html" template="https://{{.Host}}/search.html?q={searchTerms}" />
</OpenSearchDescription>

View File

@@ -1,3 +0,0 @@
User-agent: *
Allow: /
Sitemap: https://{{.Host}}/sitemap.xml

View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{{range .Articles}}
<url>
<loc>https://{{$.Host}}/post/{{.Slug}}.html</loc>
<lastmod>{{dateformat .CreatedAt "2006-01-02"}}</lastmod>
<priority>0.6</priority>
</url>
{{end}}
</urlset>