improve SEO

Amolith created

Change summary

_config.yml                      | 1 +
_includes/meta_tags/sharing.html | 8 +++-----
_layouts/default.html            | 2 +-
index.html                       | 7 ++++++-
wip/wip.html                     | 8 --------
5 files changed, 11 insertions(+), 15 deletions(-)

Detailed changes

_config.yml 🔗

@@ -4,6 +4,7 @@ description: "Ramblings from a random GNU/Linux user, sysadmin, and professional
 baseurl: "" # the subpath of your site, e.g. /blog/
 url: "https://nixnet.xyz" # the base hostname & protocol for your site
 permalink: /:title/
+language: en_US
 
 author:
     fullname: Amolith

_includes/meta_tags/sharing.html 🔗

@@ -1,14 +1,12 @@
 {% if page.title %} {% assign title = page.title ~ ' - ' ~ page.subtitle %} {% else %} {% assign title = site.title %} {% endif %}{% if page.description %} {% assign description = page.description %} {% else %} {% assign description = site.description %} {% endif %}{% if page.keywords %} {% assign keywords = page.keywords %} {% else %} {% assign keywords = site.keywords %} {% endif %}{% if page.cover %} {% assign cover = page.cover %} {% else %} {% assign cover = site.cover %} {% endif %}
-<!-- Twitter Cards -->
-<meta name="twitter:card" content="summary" />
+<meta name="twitter:card" content="summary_large_image" />
 <meta name="twitter:title" content="{{ title }}" />
 <meta name="twitter:description" content="{{ description }}" />
-<meta name="twitter:image" content="{{ site.url }}{{ cover }}" />
-<!-- Open Graph -->
+<meta name="twitter:image" content="/{{ cover }}" />
 <meta property="og:locale" content="{{ site.lang }}">
 <meta property="og:type" content="article">
 <meta property="og:title" content="{{ title }}">
 <meta property="og:description" content="{{ description }}">
 <meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.url }}">
 <meta property="og:site_name" content="{{ site.title }}">
-<meta property="og:image" content="{{ site.url }}{{ cover }}" />
+<meta property="og:image" content="/{{ cover }}" />

_layouts/default.html 🔗

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en">
+<html class="" lang="en-US" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" prefix="og: http://ogp.me/ns#">
     <head>
         {% include meta_tags/base.html %}
         {% include meta_tags/sharing.html %}

index.html 🔗

@@ -28,6 +28,11 @@ priority: 0.9
             <p>Mattermost is a FLOSS application for real-time chat. Use this for communicating with other users, joining a few different communities, and getting support for NixNet services.</p> 
             <a href="https://nixnet.xyz/mattermost/"><button class="button">Chat!</button></a>
         </div>
+        <div class="card">
+            <h1><b>Wireguard</b></h1> 
+            <p>WireGuard is an open source application and protocol that uses VPN techniques to create secure tunnels in various configurations. It aims to be more performant than OpenVPN or IPsec.</p> 
+            <a href="https://nixnet.xyz/wireguard/"><button class="button">Tunnel!</button></a>
+        </div>
         <div class="card">
             <h1><b>Gitea</b></h1> 
             <p>Gitea is a simple, easy-to-use and yet full-featured, self-hosted code hosting solution. Users get an initial limit of 5 repos. Please be conscientious of storage use and don't upload large files.</p> 
@@ -40,7 +45,7 @@ priority: 0.9
         </div>
         <div class="card">
             <h1><b>PrivateBin</b></h1> 
-            <p>PrivateBin is a minimalist and open source pastebin that has zero knowledge of pasted data. Everything is encrypted and decrypted in-browser using 256bit AES in Galois Counter mode. It has many privacy-respecting features.</p> 
+            <p>PrivateBin is a minimalist and open source pastebin that has zero knowledge of pasted data. Everything is encrypted and decrypted in-browser using 256bit AES in Galois Counter mode.</p> 
             <a href="https://bin.nixnet.xyz/"><button class="button">Paste!</button></a>
         </div>
         <div class="card">

wip/wip.html 🔗

@@ -1,8 +0,0 @@
----
-layout: page
-title: WIP
-permalink: /wip/
----
-<center><h2>This application is work in progress and either not yet hosted or not yet public.</h2>
-    </br>
-    <h3>Subscribe to the RSS feed for updates on services (<i>not implemented yet</i>)</h3></center>