Skip to content

Commit

Permalink
Add robots/sitemap.
Browse files Browse the repository at this point in the history
  • Loading branch information
kristaps committed Jul 24, 2018
1 parent 3413693 commit 49865ae
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -256,6 +256,7 @@ installwww: www
mkdir -p $(PREFIX)
install -m 0444 $(IMAGES) $(GENHTMLS) $(BUILT) $(CSSS) $(PAGES) $(PREFIX)
install -m 0444 icons/*.{png,ico,xml,json,svg} $(PREFIX)
install -m 0444 robots.txt sitemap.xml $(PREFIX)

clean:
rm -f $(PAGES) $(GENS) kwebapp.db.c kwebapp.db.h
3 changes: 3 additions & 0 deletions robots.txt
@@ -0,0 +1,3 @@
Sitemap: https://learnbchs.org/sitemap.xml
User-agent: *
Disallow: /report/
16 changes: 16 additions & 0 deletions sitemap.xml
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url><loc>https://learnbchs.org/index.html</loc></url>
<url><loc>https://learnbchs.org/auditing.html</loc></url>
<url><loc>https://learnbchs.org/easy.html</loc></url>
<url><loc>https://learnbchs.org/index.html</loc></url>
<url><loc>https://learnbchs.org/json.html</loc></url>
<url><loc>https://learnbchs.org/ksql.html</loc></url>
<url><loc>https://learnbchs.org/kwebapp.html</loc></url>
<url><loc>https://learnbchs.org/pledge.html</loc></url>
<url><loc>https://learnbchs.org/rbac.html</loc></url>
<url><loc>https://learnbchs.org/tools.html</loc></url>
<url><loc>https://learnbchs.org/atom.xml</loc></url>
</urlset>

0 comments on commit 49865ae

Please sign in to comment.