1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Exclude Gemini privacy policy from sitemap/atom

This commit is contained in:
Rohan Kumar 2022-07-11 15:24:48 -07:00
parent 77c44184c8
commit 5183118ee7
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 5 additions and 2 deletions

View file

@ -4,4 +4,5 @@ outputs:
title: Privacy policy title: Privacy policy
description: "Privacy policy for seirdy.one" description: "Privacy policy for seirdy.one"
date: "2022-04-06T00:00:00+00:00" date: "2022-04-06T00:00:00+00:00"
private: true
--- ---

View file

@ -37,7 +37,8 @@
</author> </author>
<updated>{{ now.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated> <updated>{{ now.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
<id>{{ .Permalink }}</id> <id>{{ .Permalink }}</id>
{{ range $pages }} {{ range $pages -}}
{{- if not .Params.Private }}
<entry> <entry>
<title>{{ .Title }}</title> <title>{{ .Title }}</title>
<link rel="alternate" type="text/html" href="{{ .Permalink }}" /> <link rel="alternate" type="text/html" href="{{ .Permalink }}" />
@ -70,5 +71,6 @@
<activity:object-type>http://activitystrea.ms/schema/1.0/{{ $type }}</activity:object-type> <activity:object-type>http://activitystrea.ms/schema/1.0/{{ $type }}</activity:object-type>
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb> <activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
</entry> </entry>
{{ end }} {{- end }}
{{ end }}
</feed> </feed>