Skip to content

Commit

Permalink
Create a sitemap and fix copy in a few places
Browse files Browse the repository at this point in the history
  • Loading branch information
rchillard committed Apr 8, 2023
1 parent 7490753 commit c6bdb54
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 11 deletions.
16 changes: 7 additions & 9 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,17 @@ <h1>Resource Not Found (<span class="orange">404</span>)</h1>
the browser, this means the URL is not recognized. In an API, this can also mean that the endpoint is valid but
the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a
resource from an unauthorized client. This response code is probably the most famous one due to its frequent
occurrence on the web. <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status">Read more about status codes.</a>
occurrence on the web.
</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status">Read more about status codes.</a></p>
<p>Are you looking for one of these pages instead?</p>
<h2>Site Map</h2>
<ul>
<li><a href="learn.html">Learn</a>: a single page tutorial that takes you from a neophyte to an intermediate
understanding of HTML</li>
<li><a href="practice.html">Practice</a>: with a memorization tool to help you remember all of the HTML tags
available</li>
<li><a href="reference.html">Reference</a>: for broadly supported HTML elements with their syntax, sample code,
and reusable templates</li>
<li><a href="tools.html">Tools</a>: to help you write better, faster, and stronger HTML by validating and
generating it correctly</li>
<li><a href="learn.html">Learn</a>: a single page tutorial covering neophyte to intermediate HTML</li>
<li><a href="practice.html">Practice</a>: with a memorization tool to help you remember all of the HTML elements</li>
<li><a href="reference.html">Reference</a>: for broadly supported HTML elements with their syntax, sample code, and templates</li>
<li><a href="tools.html">Tools</a>: to help you write better, faster, and stronger HTML</li>
<li><a href="about.html">About</a>: the story behind HTML.Haus</li>
</ul>
</main>
<footer>
Expand Down
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ <h2>HTML</h2>
<h2 lang="de">Haus</h2>
<p>
<span lang="de">Haus</span> is the German word for house. It comes from Middle High German hūs (pronounced
/haʊ̯s/). You can hear it here:
/haʊ̯s/).
</p>
<p>You can hear it here:</p>
<audio controls>
<source src="assets/De-Haus.ogg" type="audio/ogg">
Your browser does not support the audio element.
Expand Down Expand Up @@ -95,7 +96,7 @@ <h2>Background</h2>
HTML matters, and when to properly
use elements for great justice.
</p>
<p>HTML.Haus harkens back to web development fundamentals by offering resources for writing better HTML.</p>
<p>HTML.Haus harkens back to web development fundamentals by offering resources for writing HTML.</p>
</main>
<footer>
<a href="learn.html">Learn</a>
Expand Down
6 changes: 6 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Allow crawling of all content
User-agent: *
Disallow:

# Sitemap location
Sitemap: https://html.haus/sitemap.xml
6 changes: 6 additions & 0 deletions sitemap.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
https://html.haus/
https://html.haus/learn.html
https://html.haus/practice.html
https://html.haus/reference.html
https://html.haus/tools.html
https://html.haus/about.html
1 change: 1 addition & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://html.haus/</loc></url><url><loc>https://html.haus/learn.html</loc></url><url><loc>https://html.haus/practice.html</loc></url><url><loc>https://html.haus/reference.html</loc></url><url><loc>https://html.haus/tools.html</loc></url><url><loc>https://html.haus/about.html</loc></url></urlset>

0 comments on commit c6bdb54

Please sign in to comment.