6 files changed, 3 insertions(+), 42 deletions(-)
M .build.yml
M .gitignore
D public/categories/index.xml
D public/index.xml
D public/sitemap.xml
D public/tags/index.xml
M .build.yml => .build.yml +2 -1
@@ 11,4 11,5 @@ tasks:
hugo
tar -C public -cvz . > ../site.tar.gz
- upload: |
- hut pages publish -d $site site.tar.gz
+ #hut pages publish -d $site site.tar.gz
+ acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz
M .gitignore => .gitignore +1 -0
@@ 1,3 1,4 @@
site.tar.gz
*~
.hugo_build.lock
+public/
D public/categories/index.xml => public/categories/index.xml +0 -10
@@ 1,10 0,0 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?>
-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
- <channel>
- <title>Categories on My New Hugo Site</title>
- <link>http://example.org/categories/</link>
- <description>Recent content in Categories on My New Hugo Site</description>
- <generator>Hugo -- gohugo.io</generator>
- <language>en-us</language><atom:link href="http://example.org/categories/index.xml" rel="self" type="application/rss+xml" />
- </channel>
-</rss>
D public/index.xml => public/index.xml +0 -10
@@ 1,10 0,0 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?>
-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
- <channel>
- <title>My New Hugo Site</title>
- <link>http://example.org/</link>
- <description>Recent content on My New Hugo Site</description>
- <generator>Hugo -- gohugo.io</generator>
- <language>en-us</language><atom:link href="http://example.org/index.xml" rel="self" type="application/rss+xml" />
- </channel>
-</rss>
D public/sitemap.xml => public/sitemap.xml +0 -11
@@ 1,11 0,0 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?>
-<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
- xmlns:xhtml="http://www.w3.org/1999/xhtml">
- <url>
- <loc>http://example.org/categories/</loc>
- </url><url>
- <loc>http://example.org/</loc>
- </url><url>
- <loc>http://example.org/tags/</loc>
- </url>
-</urlset>
D public/tags/index.xml => public/tags/index.xml +0 -10
@@ 1,10 0,0 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?>
-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
- <channel>
- <title>Tags on My New Hugo Site</title>
- <link>http://example.org/tags/</link>
- <description>Recent content in Tags on My New Hugo Site</description>
- <generator>Hugo -- gohugo.io</generator>
- <language>en-us</language><atom:link href="http://example.org/tags/index.xml" rel="self" type="application/rss+xml" />
- </channel>
-</rss>