~netlandish/links

35f49d6da8fd6f563d8a088905cfd00b1f619958 — Peter Sanchez 14 days ago 0835e6f
Adding robots.txt, security.txt and some robots meta headers to help with the crawling activity.
3 files changed, 22 insertions(+), 0 deletions(-)

A static/robots.txt
A static/security.txt
M templates/link_list.html
A static/robots.txt => static/robots.txt +8 -0
@@ 0,0 1,8 @@
User-agent: *
Disallow: /
Allow: /$
Allow: /blog
Allow: /blog/
Allow: /pricing
Allow: /docs/


A static/security.txt => static/security.txt +11 -0
@@ 0,0 1,11 @@
Contact: peter@netlandish.com
Encryption (PGP/GnuPG): 90956225167A28F5A0B461A2838FFCD2312235D1
Encryption Key URL: https://petersanchez.com/publickey.txt
Alternative email: ~netlandish/security@lists.code.netlandish.com (Admin only,
private mailing list. You can send encrypted email there as well using the key
above to encrypt the contents)

SPF/DMARC: Please do not submit reports related to our SPF or DMARC DNS
entries. We will not pay bounties for these reports. Our entries are set
correctly for our current needs.


M templates/link_list.html => templates/link_list.html +3 -0
@@ 1,5 1,8 @@
{{template "base" .}}
{{ define "title" }}{{ .title }}{{ end }}
{{ define "extrahead" }}
<meta name="robots" content="noindex, follow">
{{ end }}
{{ if (not .bookmarkListing) }}
<form method="GET"
    action="{{ if .isUserDomain }}/{{ else }}{{if .isPopular}}{{reverse "core:popular_link_list"}}{{else if .isOrgLink}}{{.currURL}}{{else}}{{reverse "core:recent_link_list"}}{{end}}{{ end }}{{if .hasUnreadFilter}}?filter=unread{{else if .hasStarredFilter}}?filter=starred{{end}}"

Do not follow this link