Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
17722e5e
Commit
17722e5e
authored
11 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Add sitemap.xml and robots.txt files.
parent
4d527f92
4 merge requests
!28721
Hot test
,
!22103
test
,
!25326
Adjust examples
,
!12866
Add sitemap.xml and robots.txt files.
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
_config.yml
+1
-1
_config.yml
docs/robots.txt
+10
-0
docs/robots.txt
docs/sitemap.xml
+22
-0
docs/sitemap.xml
with
33 additions
and
1 deletion
+33
-1
_config.yml
+
1
-
1
View file @
17722e5e
...
@@ -11,7 +11,7 @@ destination: ./_gh_pages
...
@@ -11,7 +11,7 @@ destination: ./_gh_pages
host
:
0.0.0.0
host
:
0.0.0.0
port
:
9001
port
:
9001
baseurl
:
/
baseurl
:
/
url
:
http://
localhost:9001
url
:
http://
getbootstrap.com
encoding
:
UTF-8
encoding
:
UTF-8
exclude
:
exclude
:
...
...
This diff is collapsed.
Click to expand it.
docs/robots.txt
0 → 100644
+
10
-
0
View file @
17722e5e
---
layout: nil
---
# www.robotstxt.org/
# Allow crawling of all content
User-agent: *
Disallow:
Sitemap: {{ site.url }}/sitemap.xml
This diff is collapsed.
Click to expand it.
docs/sitemap.xml
0 → 100644
+
22
-
0
View file @
17722e5e
---
layout: nil
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset
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"
xmlns=
"http://www.sitemaps.org/schemas/sitemap/0.9"
>
<url>
<loc>
{{ site.url }}/
</loc>
<lastmod>
{{ site.time | date_to_xmlschema }}
</lastmod>
<changefreq>
daily
</changefreq>
<priority>
1.0
</priority>
</url>
{% for page in site.html_pages %}
{% if page.layout != "home" %}
<url>
<loc>
{{ site.url }}{{ page.url }}
</loc>
<lastmod>
{{ site.time | date_to_xmlschema }}
</lastmod>
<changefreq>
weekly
</changefreq>
<priority>
0.7
</priority>
</url>
{% endif %}
{% endfor %}
</urlset>
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets