12 Commits

8 changed files with 34 additions and 11 deletions
+12
View File
@@ -134,6 +134,11 @@ async function main() {
<strong>Web Pages (Alphabetical)</strong>
<ul>
`;
let robots_txt = `
User-agent: *
Allow: /
Sitemap: https://hyperling.com/sitemap.xml
`;
console.log("...Adding Routes...");
let router = express.Router();
@@ -199,6 +204,13 @@ async function main() {
res.send(sitemap_html);
});
// Provide a robots.txt for where search engines should find things.
console.log(" * Creating router for robots.txt");
router.get('/robots.txt', function (req, res) {
console.log("robots.txt being provided to", req.socket.remoteAddress)
res.send(robots_txt);
});
// Return a resource from the files folder.
// TBD/TODO would be great to log this as "DATE: ADDRESS hit ROUTER requesting RESOURCE"
console.log(" * Creating router for files");
+1 -1
View File
@@ -55,8 +55,8 @@
</div>
<?php
include "subpages/about/notice.php";
include "subpages/about/health.php";
include "subpages/about/stance.php";
include "subpages/about/health.php";
include "helpers/body_close.php";
?>
+6
View File
@@ -47,6 +47,12 @@
<ul class="indent"><li>
<a href="mailto:me@hyperling.com">me@hyperling.com</a>
</li></ul>
<p>
Other methods such as a few messaging clients can be found here:
</p>
<ul class="indent"><li>
<a href="https://blog.hyperling.com/contact">blog.hyperling.com/contact</a>
</li></ul>
</div>
</div>
<?php
+6 -5
View File
@@ -37,24 +37,25 @@
<p class="menu-list">
Main:
<a href="/">Home</a>
<a href="/apps/">Apps</a>
<a href="/about/">About</a>
<a href="/contact/">Contact</a>
<a href="/support/">Support</a>
| Media:
<a href="/apps/">Apps</a>
<a href="https://git.hyperling.com/me/"
target="_blank" rel="noopener noreferrer">Git</a>
target="_blank" rel="noopener noreferrer">Code</a>
<a href="https://works.hyperling.com/tags/books/"
target="_blank" rel="noopener noreferrer">Books</a>
<a href="https://odysee.com/@HyperVegan:2"
<a href="https://works.hyperling.com/videos/"
target="_blank" rel="noopener noreferrer">Videos</a>
<a href="/photos/">Photos</a>
| Blog:
<a href="https://blog.hyperling.com/categories/articles/"
target="_blank" rel="noopener noreferrer">Articles</a>
<a href="https://recipes.hyperling.com/categories/recipes/"
target="_blank" rel="noopener noreferrer">Recipes</a>
<a href="https://blog.hyperling.com/categories/musings/"
target="_blank" rel="noopener noreferrer">Poetry</a>
<a href="https://blog.hyperling.com/categories/guides/"
<a href="https://recipes.hyperling.com/categories/guides/"
target="_blank" rel="noopener noreferrer">Guides</a>
</div>
+1 -1
View File
@@ -111,7 +111,7 @@ cat << EOF
Speaking of lifestyle, that is something else I learned from listening
to my new role models. "Sleep Water Sugar" as Durianrider used to say.
The
<a href="https://files.hyperling.com/media/HealthPriorities.pdf"
<a href="/files/media/documents/HealthPriorities.pdf"
target="_blank">PDF</a>
on my main
<a href="/about/#health" target="_blank">Health</a>
+1 -1
View File
@@ -107,7 +107,7 @@
<div class="row">
<div class="col-12 text">
<p>
I don't have social media, so where do my photos and videos go?
I don't have social media, so where do my personal photos and videos go?
Try right here!
</p>
<ul class="indent"><li>
+4
View File
@@ -2,6 +2,10 @@
# 2024-01-21 Hyperling
# Transition away from PhotoPrism. Helps to save system resources and downsize.
## TBD ##
# - Have links at the top of the ALL page for jumping between years.
## End TBD
## Static Variables ##
DIR=`dirname $0`
a="a target='_blank' rel='noopener noreferrer'"