diff --git a/_config.yml b/_config.yml index fa6bc0a..5c400ae 100644 --- a/_config.yml +++ b/_config.yml @@ -2,6 +2,7 @@ title: ChooseALicense.com relative_permalinks: false markdown: kramdown +url: "http://choosealicense.com" rules: diff --git a/index.html b/index.html index a00b37b..445ce16 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ class: home hide_breadcrumbs: true title: Choosing an OSS license doesn't need to be scary description: A site to provide non-judgmental guidance on choosing a license for your open source project +permalink: / ---

diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..3f86d8a --- /dev/null +++ b/robots.txt @@ -0,0 +1,10 @@ +--- +layout: nil +--- + +# www.robotstxt.org/ + +# Allow crawling of all content +User-agent: * +Disallow: +Sitemap: {{ site.url }}/sitemap.xml diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..1322dcd --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,31 @@ +--- +layout: nil +--- + + + + + {{ site.url }}/ + {{ site.time | date_to_xmlschema }} + daily + 1.0 + + {% for page in site.pages %} + {% if page.layout != "nil" %} + + {{ site.url }}{{ page.url }} + {{ site.time | date_to_xmlschema }} + weekly + 0.7 + + {% endif %} + {% endfor %} + {% for post in site.posts %} + + {{ site.url }}{{ post.url }} + {{ post.date | date_to_xmlschema }} + weekly + 0.8 + + {% endfor %} +