From 17dae0eaa459fdabafff1a05c524cb263b7018f6 Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Sat, 2 Mar 2024 13:17:26 +0200 Subject: Modularity within config.toml to allow for meta tag customizations. Changes to be committed: modified: config.toml modified: rsync_to_testing modified: templates/404.html modified: templates/index.html modified: templates/page.html modified: templates/tags/single.html --- config.toml | 10 ++++++- rsync_to_testing | 4 +++ templates/404.html | 4 +-- templates/index.html | 74 +++++++++++++++++++++++----------------------- templates/page.html | 10 +++---- templates/tags/single.html | 2 +- 6 files changed, 58 insertions(+), 46 deletions(-) diff --git a/config.toml b/config.toml index 5a85e27..fb0820f 100644 --- a/config.toml +++ b/config.toml @@ -96,9 +96,17 @@ email = "iustin@alphara.art" [extra.meta] -preview_image = "https://alphara.art/Alphara.png" +website_type = "blog" # either "blog" or "article" - I haven't seen any difference yet + +keywords = "blog, technology, science, philosophy, mathematics, artificial intelligence, AI research, machine learning, data science, deep learning, neural networks, Linux, Void Linux, OpenBSD, system administration, open source, FOSS, developer tools, programming, coding, tutorials, programming languages, software development, software engineering, computer science, algorithms, cybersecurity" + +preview_image_src = "https://alphara.art/Alphara.png" preview_image_alt = "Alphara" +twitter_card = "summary_large_image" # either "summary" or "summary_large_image" (for big preview image) + +twitter_creator = "@IustinRaznic" # your twitter handle + [extra.disqus] # enable = false diff --git a/rsync_to_testing b/rsync_to_testing index 08f5b04..31c7d05 100755 --- a/rsync_to_testing +++ b/rsync_to_testing @@ -9,3 +9,7 @@ rm -rf ~/dev/websites/alphara rsync -vhPrtz --delete-after ~/dev/blog/public/* ~/dev/websites/alphara rm -rf ~/dev/blog/public + +if [ "$1" = "fast-forward" ]; then + ~/dev/websites/rsync_everything +fi diff --git a/templates/404.html b/templates/404.html index d885ede..94a6247 100644 --- a/templates/404.html +++ b/templates/404.html @@ -37,7 +37,7 @@
Oops, police door not found...