From ea4aa1d34bfc16bd25630e3a90a40e104501c10c Mon Sep 17 00:00:00 2001 From: Michael DiLeo Date: Sun, 28 Sep 2025 17:58:24 +0100 Subject: [PATCH] restructuring for better SEO --- minify-build.js | 2 +- nginx.conf | 5 ++ public/index.html | 121 +++++++++++++++++++++++++++++------ public/robots.txt | 22 +++++++ public/site-styles/style.css | 109 +++++++++++++++++++++++++++++++ public/sitemap.xml | 15 +++++ public/structured-data.json | 64 ++++++++++++++++++ 7 files changed, 316 insertions(+), 22 deletions(-) create mode 100644 public/robots.txt create mode 100644 public/sitemap.xml create mode 100644 public/structured-data.json diff --git a/minify-build.js b/minify-build.js index cd7b0a8..6de1395 100644 --- a/minify-build.js +++ b/minify-build.js @@ -38,7 +38,7 @@ async function createOptimizedBuild() { 'public/about.html' ], css: [ - 'public/css/pico.jade.css' + 'public/css/pico.jade.css', // 'public/css/pico.colors.min.css' ], safelist: { diff --git a/nginx.conf b/nginx.conf index c4e798a..deba675 100644 --- a/nginx.conf +++ b/nginx.conf @@ -56,6 +56,11 @@ http { # add_header Pragma "no-cache"; # add_header Expires "0"; } + + location ~* \.json$ { + expires 1d; + add_header Cache-Control "public, must-revalidate"; + } location /health { access_log off; diff --git a/public/index.html b/public/index.html index 02ffc8b..430b696 100644 --- a/public/index.html +++ b/public/index.html @@ -5,9 +5,44 @@ + + + Keyboard Vagabond - Fediverse Community for Digital Nomads & Travelers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - Keyboard Vagabond @@ -52,29 +87,58 @@ - +
-

We welcome you to this space to connect with others, share information, create memories, and help each other - to travel responsibly and considerately as we explore the world.

-

<mascot here? :D > - mascot intro and why it was chosen -

-

Here, you are a member, not just a user - We want to create community in this space, being - respectful of each other as well as the places go and the people we see. This space is what we make of it. -

-

What you'll find here

-

Keyboard Vagabond hosts the various fediverse alternatives to big tech and participates in the network. - Available to you is:

+
+

About Keyboard Vagabond

+

We welcome you to this space to connect with others, share information, create memories, and help each other + to travel responsibly and considerately as we explore the world.

+

Here, you are a member, not just a user - We want to create community in this space, being + respectful of each other as well as the places we go and the people we see. This space is what we make of it. +

+
+ +
+

Our Fediverse Services

+

Keyboard Vagabond hosts various fediverse alternatives to big tech and participates in the network. + Available to you are:

+ + + + +

Detailed Service Information

    -
  • Piefed - Similar to and compatible +
  • Piefed - An alternative to Reddit and similar to and compatible with Lemmy, but with extra features for topics and communities. - Both are an alternative to Reddit. See more at join-lemmy.org and + See more at join-lemmy.org and join.piefed.social.
  • Pixelfed - Like old instagram, where you can share your photos, albums, and create stories. See more at pixelfed.org.
  • @@ -119,7 +183,7 @@ make a video on PeerTube (Youtube alternative) and discuss on Mastodon. Your Write Freely blog posts will, if you enable it, be visible on Mastodon and people can follow your blog account.

    Check out this amazing four minute video by Elena Rossini. You can follow her - on Mastodon by searching @_elena@mastodon.social.

    + on Mastodon by searching @_elena@mastodon.social.