diff options
author | Bradley Taunt <bt@btxx.org> | 2024-02-09 10:47:38 -0500 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-02-09 10:47:38 -0500 |
commit | 4af694a4064966eee6c13b3e1e03d6086a759e3f (patch) | |
tree | 5837004832741fabe8ac56df7f02fc601a0e9a8e | |
parent | 7ad33d86f98b93060e149a39a70febfa80d8620b (diff) |
Setup SSI, template header and footers, link cleanup
-rw-r--r-- | .htaccess | 9 | ||||
-rw-r--r-- | _footer.html | 7 | ||||
-rw-r--r-- | _header.html | 8 | ||||
-rwxr-xr-x[-rw-r--r--] | everyone-should-become-an-html-expert.html | 13 | ||||
-rwxr-xr-x[-rw-r--r--] | index.html | 22 | ||||
-rwxr-xr-x[-rw-r--r--] | members.html | 22 |
6 files changed, 29 insertions, 52 deletions
diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..c52e730 --- /dev/null +++ b/.htaccess @@ -0,0 +1,9 @@ +Options +Includes +XBitHack Full + +Header add Strict-Transport-Security "max-age=157680000" +Header set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self'; font-src 'self';" +Header always append X-Frame-Options SAMEORIGIN +Header always set X-Content-Type-Options nosniff +Header always set Referrer-Policy "unsafe-url" +Header always set Permissions-Policy "geolocation=(self 'https://xhtml.club'), microphone=()" diff --git a/_footer.html b/_footer.html new file mode 100644 index 0000000..8fe7d6f --- /dev/null +++ b/_footer.html @@ -0,0 +1,7 @@ +<div id="footer"> + <h3>Support XHTML</h3> + <p>All content posted on this website will always remain free to everyone. No pay-walls, obtrusive ads or annoying tracking cookies. Basically zero bullshit or fluff. If you feel like you would like to support my efforts in continuously posting free (<em>and hopefully interesting</em>) content, then please consider <a href="https://btxx.org/pizza">donating</a>.</p> + + <h3>Colophon</h3> + <p>This website is hand-coded with <a href="http://validator.w3.org/check?uri=referer">valid XHTML</a> and hosted with <a href="https://nearlyfreespeech.net">NearlyFreeSpeech</a>. Reach out on <a rel="me" href="https://mastodon.bsd.cafe/@bt">Mastodon</a></p> +</div> diff --git a/_header.html b/_header.html new file mode 100644 index 0000000..04f5d9c --- /dev/null +++ b/_header.html @@ -0,0 +1,8 @@ +<h1>XHTML Club</h1> +<h2 style="font-weight:normal;"><b>X</b>treme <b>H</b>yper<b>T</b>ext <b>M</b>ovement for <b>L</b>uddites</h2> +<div id="nav"> + <ul> + <li><a href="/">Home</a></li> + <li><a href="./members.html">Members</a></li> + </ul> +</div> diff --git a/everyone-should-become-an-html-expert.html b/everyone-should-become-an-html-expert.html index de9a910..ee30fd1 100644..100755 --- a/everyone-should-become-an-html-expert.html +++ b/everyone-should-become-an-html-expert.html @@ -81,17 +81,6 @@ <p>There can only be positives to gain from jumping into HTML and eventually mastering the language. It's the core skeleton implemented across the web (no matter how complex the framework used to get there might be) and isn't going away anytime soon. Some might advocate for becoming fluent in Markdown or a similar formatted text language but I would strongly advocate for the real deal: HTML.</p> <p id="ft1"><small>1. This is a common debate - but for simplicity sake I'm just calling it this.</small></p> - <div id="footer"> - <h3>Support XHTML</h3> - <p>All content posted on this website will always remain free to everyone. No pay-walls, obtrusive ads or annoying tracking cookies. Basically zero bullshit or fluff. If you feel like you would like to support my efforts in continuously posting free (<em>and hopefully interesting</em>) content, then please consider <a href="https://btxx.org/pizza">donating</a>.</p> - - <h3>Colophon</h3> - <p>This website is hand-coded with valid XHTML and hosted with <a href="https://nearlyfreespeech.net">NearlyFreeSpeech</a>. Reach out on <a rel="me" href="https://mastodon.bsd.cafe/@bt">Mastodon</a></p> - <p> - <a href="https://validator.w3.org/check?uri=https%3A%2F%2Fxhtml.club%2Feveryone-should-become-an-html-expert.html"> - <img src="https://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="31" width="88" /> - </a> - </p> - </div> + <!--#include virtual="/_footer.html" --> </body> </html>
\ No newline at end of file diff --git a/index.html b/index.html index 5a62258..cf392cd 100644..100755 --- a/index.html +++ b/index.html @@ -9,14 +9,7 @@ <link rel="shortcut icon" href="/favicon.png"/> </head> <body> - <h1>XHTML Club</h1> - <h2 style="font-weight:normal;"><b>X</b>treme <b>H</b>yper<b>T</b>ext <b>M</b>ovement for <b>L</b>uddites</h2> - <div id="nav"> - <ul> - <li><a href="/"><b>Home</b></a></li> - <li><a href="./members.html">Members</a></li> - </ul> - </div> + <!--#include virtual="/_header.html" --> <p>Greetings, this is the official <b title="Extreme HyperText Movement for Luddites">XHTML</b> club (and blog)! This website is both a collection of HTML-focused websites and a simple blog; a <a href="https://btxx.org">lonely web designer</a> screaming out into the abyss of the internet. Ranting and raving about the ever increasing bloat that is the "modern" web.</p> <h2>The Purpose of XHTML</h2> <p>I feel as though I get more and more extreme in my efforts to combat <em>excessive web bloat</em> across the internet. It started off with the creation of the <a href="https://1mb.club">1MB Club project</a> but has since expanded further - as you might have noticed.</p> @@ -30,17 +23,6 @@ <li>WIP / Why you need a personal website (and how to make one)</li> <li>2021-04-06 / <a href="everyone-should-become-an-html-expert.html">Everyone should become an HTML expert</a></li> </ul> - <div id="footer"> - <h3>Support XHTML</h3> - <p>All content posted on this website will always remain free to everyone. No pay-walls, obtrusive ads or annoying tracking cookies. Basically zero bullshit or fluff. If you feel like you would like to support my efforts in continuously posting free (<em>and hopefully interesting</em>) content, then please consider <a href="https://btxx.org/pizza">donating</a>.</p> - - <h3>Colophon</h3> - <p>This website is hand-coded with valid XHTML and hosted with <a href="https://nearlyfreespeech.net">NearlyFreeSpeech</a>. Reach out on <a rel="me" href="https://mastodon.bsd.cafe/@bt">Mastodon</a></p> - <p> - <a href="https://validator.w3.org/check?uri=https%3A%2F%2Fxhtml.club%2F"> - <img src="https://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="31" width="88" /> - </a> - </p> - </div> + <!--#include virtual="/_footer.html" --> </body> </html>
\ No newline at end of file diff --git a/members.html b/members.html index 9dabde7..eea5dbb 100644..100755 --- a/members.html +++ b/members.html @@ -9,14 +9,7 @@ <link rel="shortcut icon" href="/favicon.png"/> </head> <body> - <h1>XHTML Club</h1> - <h2 style="font-weight:normal;"><b>X</b>treme <b>H</b>yper<b>T</b>ext <b>M</b>ovement for <b>L</b>uddites</h2> - <div id="nav"> - <ul> - <li><a href="/">Home</a></li> - <li><a href="./members.html"><b>Members</b></a></li> - </ul> - </div> + <!--#include virtual="/_header.html" --> <h2>XHTML Members:</h2> <p><strong>How to submit:</strong></p> <ol> @@ -69,17 +62,6 @@ <li><a href="https://storin.nl/">storin.nl</a></li> <li><a href="https://barf.btxx.org">barf.btxx.org</a></li> </ul> - <div id="footer"> - <h3>Support XHTML</h3> - <p>All content posted on this website will always remain free to everyone. No pay-walls, obtrusive ads or annoying tracking cookies. Basically zero bullshit or fluff. If you feel like you would like to support my efforts in continuously posting free (<em>and hopefully interesting</em>) content, then please consider <a href="https://btxx.org/pizza">donating</a>.</p> - - <h3>Colophon</h3> - <p>This website is hand-coded with valid XHTML and hosted with <a href="https://nearlyfreespeech.net">NearlyFreeSpeech</a>. Reach out on <a rel="me" href="https://mastodon.bsd.cafe/@bt">Mastodon</a></p> - <p> - <a href="https://validator.w3.org/check?uri=https%3A%2F%2Fxhtml.club%2Fmembers.html"> - <img src="https://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="31" width="88" /> - </a> - </p> - </div> + <!--#include virtual="/_footer.html" --> </body> </html> |