~tenacity/tenacity-dev

Fix position of cat, correct metadata in docs.html add README.md, robots.txt and sitemap.xml v1 PROPOSED

James Pearson: 1
 Fix position of cat, correct metadata in docs.html add README.md, robots.txt and sitemap.xml

 5 files changed, 42 insertions(+), 10 deletions(-)
I'm doing this so that search engines don't index docs.html until it's
time to index it, in which we would add it to sitemap.xml and remove it
from robots.txt. It's about the search engine optimization in the end.

Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~tenacity/tenacity-dev/patches/26071/mbox | git am -3
Learn more about email & git

[PATCH] Fix position of cat, correct metadata in docs.html add README.md, robots.txt and sitemap.xml Export this patch

Cat was positioned incorrectly because of <pre> tags. Having extra
spaces inside the source code will break the position. I corrected the
metadata in docs.html as well.

Also added README.md for the repository as well as robots.txt and
sitemap.xml so that docs.html and README.md won't be indexed.

Signed-off-by: James Pearson <james@jamespearson.xyz>
---
 README.md   |  5 +++++
 docs.html   |  4 ++++
 index.html  | 24 ++++++++++++++----------
 robots.txt  | 13 +++++++++++++
 sitemap.xml |  6 ++++++
 5 files changed, 42 insertions(+), 10 deletions(-)
 create mode 100644 README.md
 create mode 100644 robots.txt
 create mode 100644 sitemap.xml

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..80383e8
--- /dev/null
+++ b/README.md
@@ -0,0 +1,5 @@
# tenacityaudio.org

This is the source code for the website [tenacityaudio.org](https://tenacityaudio.org).

The website's source code is licensed under the MIT License.
diff --git a/docs.html b/docs.html
index 8c4618d..ec4faf6 100644
--- a/docs.html
+++ b/docs.html
@@ -2,11 +2,15 @@
<html lang="en">
    <head>
        <title>Nothing here but chickens</title>
        <meta name="description" content="an easy-to-use, cross-platform multi-track audio editor/recorder"/>
        <meta name="author" content="Tenacity"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
        <link rel="stylesheet" type="text/css" href="styles/main.css"/>
        <link rel="shortcut icon" type="image/svg" href="images/logo/favicon.svg"/>
        <meta name="theme-color" content="#ffd8a8"> <!-- Orange 2 from Open Color -->
        <meta name="keywords" content="Wiki, Audio, Recording, Editing, Easy-to-Use, FLOSS, Free, Libre, Open-Source, Tenacity"/>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<!--<link rel="canonical" href="https://tenacityaudio.org/docs.html"/>-->
    </head>

    <body>
diff --git a/index.html b/index.html
index 78605d6..279b01f 100644
--- a/index.html
+++ b/index.html
@@ -179,7 +179,11 @@
            </a>
        </div>

        <p>If your question is too long to explain in the IRC channel, or if no one is online to help you, you can send an email to our mailing list.</p>
        <p>
	    If your question is too long to explain in the IRC channel, or if
	    no one is online to help you, you can send an email to our mailing
	    list.
	</p>
        <div class="buttons-section">
            <a href="https://sr.ht/~tenacity/tenacity/lists" class="button">
                Mailing lists
@@ -202,15 +206,15 @@
            </a>
        </div>

        <pre>
                         /\_/\
                ________(' - ')
          _____(              )
         /     (______________)
         '     | |          | |
               | |          | |  hello
               '"'          '"'
        </pre>
<pre>
		 /\_/\
	________(' - ')
  _____(              )
 /     (______________)
 '     | |          | |
       | |          | |  hello
       '"'          '"'
</pre>

        <footer>
            <a href="https://git.sr.ht/~tenacity/tenacityaudio.org">Website</a>
diff --git a/robots.txt b/robots.txt
new file mode 100644
index 0000000..5ebb3fe
--- /dev/null
+++ b/robots.txt
@@ -0,0 +1,13 @@
#                 /\_/\
#        ________(' - ')
#  _____(              )
# /     (______________)
# '     | |          | |
#       | |          | |  hello
#       '"'          '"'

User-agent: *
Disallow: /README.md
Disallow: /docs.html

Sitemap: https://tenacityaudio.org/sitemap.xml
diff --git a/sitemap.xml b/sitemap.xml
new file mode 100644
index 0000000..a8941d8
--- /dev/null
+++ b/sitemap.xml
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<url>
		<loc>https://tenacityaudio.org</loc>
	</url>
</urlset>
-- 
2.33.0
do we need a sitemap.xml and robots.txt? it's just a landing page.
the docs.html is also just a placeholder.
UPDATE: I've applied the patches in a different form on the new Codeberg
repository for tenacityaudio.org. The commits are listed below.

https://codeberg.org/tenacityteam/tenacityaudio.org/commit/55b0989c264d58ba827070eec2b888a3535810f5
https://codeberg.org/tenacityteam/tenacityaudio.org/commit/619e4a2bc7fca23cc3d12372dd1e29c9b9144e20
https://codeberg.org/tenacityteam/tenacityaudio.org/commit/4bb635b85f657aa2d210c28ae94a93137a417215