1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
Rohan Kumar
7d120e9ff8
Add "pending" labels to directory listings 2022-06-27 14:35:04 -07:00
Rohan Kumar
c3026ed9d8
Exclude custom 404 from sitemap 2022-06-27 14:32:15 -07:00
3 changed files with 18 additions and 3 deletions

View file

@ -4,6 +4,7 @@ outputs:
url: "/404.html" url: "/404.html"
title: "Error 404 (Not Found)" title: "Error 404 (Not Found)"
layout: "404" layout: "404"
private: true
--- ---
You have requested a page that was not found on this server. You have requested a page that was not found on this server.

View file

@ -175,6 +175,7 @@ This site is featured in some cool directories.
- [Webrings Fanlisting](https://fanlistings.nickifaulk.com/webrings/) - [Webrings Fanlisting](https://fanlistings.nickifaulk.com/webrings/)
- [Gossip's Web](https://gossipsweb.net/personal-websites) - [Gossip's Web](https://gossipsweb.net/personal-websites)
- [Nixers](https://github.com/nixers-projects/sites/wiki/List-of-nixers.net-user-sites) - [Nixers](https://github.com/nixers-projects/sites/wiki/List-of-nixers.net-user-sites)
- [Nerd Listings](https://nerdlistings.info/category/personalsites/) - [Nerd Listings](https://nerdlistings.info/category/personalsites/) (pending)
- [Ye Olde Blogroll](https://blogroll.org/) - [Ye Olde Blogroll](https://blogroll.org/) (pending)
- [LinkLane](https://www.linklane.net/) - [LinkLane](https://www.linklane.net/) (pending)

View file

@ -0,0 +1,13 @@
{{- printf `<?xml version="1.0" encoding="utf-8" standalone="yes"?>` | safeHTML }}
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{{- range .Data.Pages }}
{{- if not .Params.private -}}
<url>
<loc>{{ .Permalink }}</loc>
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ with .Sitemap.ChangeFreq }}
<changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
<priority>{{ .Sitemap.Priority }}</priority>{{ end }}
</url>
{{- end -}}
{{- end }}
</urlset>