~bkhl/elektrubadur.se

e71bd2e73f79189e6a180855d8bcdbc334c6a3ce — Björn Lindström 1 year, 2 months ago ee6bcb7
Disallow indexing on redirecting sites
2 files changed, 8 insertions(+), 1 deletions(-)

M Justfile
A redirect/robots.txt
M Justfile => Justfile +6 -1
@@ 78,8 78,13 @@ publish: package
package_redirect:
    tar -C redirect -czf redirect.tar.gz .

publish_redirect domain: package_redirect
_publish_redirect domain: package_redirect
    hut pages publish --domain '{{ domain }}' --site-config ./site-config-redirect.json redirect.tar.gz

publish_redirects:
    just _in_container _publish_redirect www.elektrubadur.se
    just _in_container _publish_redirect bkhl.elektrubadur.se
    just _in_container _publish_redirect bkhl.srht.site

check_links:
    podman run --rm docker.io/tennox/linkcheck --external '{{ DOMAIN }}'

A redirect/robots.txt => redirect/robots.txt +2 -0
@@ 0,0 1,2 @@
User-agent: *
Disallow: /