Add robots.txt and link to favicon
This commit is contained in:
parent
2e01cc447a
commit
79e9024fe6
@ -20,5 +20,15 @@ then
|
|||||||
mkdocs build
|
mkdocs build
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Generate robots.txt
|
||||||
|
cat > site/robots.txt <<EOF
|
||||||
|
User-agent: *
|
||||||
|
Allow: /
|
||||||
|
|
||||||
|
Sitemap: http://scodoc.org/sitemap.xml
|
||||||
|
EOF
|
||||||
|
|
||||||
|
(cd site && ln -s img/favicon.ico .)
|
||||||
|
|
||||||
# --- Publish
|
# --- Publish
|
||||||
rsync -vaze ssh site scodoc.org:/var/www/html
|
rsync -vaze ssh site scodoc.org:/var/www/html
|
||||||
|
Loading…
Reference in New Issue
Block a user