From a8b87925dccf797f766be90f785ef02eba76ed8c Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Sun, 16 Oct 2022 23:18:28 -0400 Subject: [PATCH] publish, some fixes --- content/2012-01-13_you-can-un-expire-a-gpg-key.rst | 2 +- pelicanconf.py | 8 ++++---- publishconf.py | 2 +- tasks.py | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/content/2012-01-13_you-can-un-expire-a-gpg-key.rst b/content/2012-01-13_you-can-un-expire-a-gpg-key.rst index b053b84..e26d9ee 100644 --- a/content/2012-01-13_you-can-un-expire-a-gpg-key.rst +++ b/content/2012-01-13_you-can-un-expire-a-gpg-key.rst @@ -3,7 +3,7 @@ You can un-expire a GPG key. :date: 2012-01-13 03:54 :author: tyrel :category: Tech -:category: linux, gpg +:tags: linux, gpg :slug: you-can-un-expire-a-gpg-key :status: published diff --git a/pelicanconf.py b/pelicanconf.py index c924f89..1692418 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -1,12 +1,12 @@ AUTHOR = 'Tyrel Souza' SITENAME = 'Tyrel Site' TWITTER_USERNAME = 'tyrelsouza' -SITEURL = '' +SITEURL = 'https://tyrel.dev/blog' SITESUBTITLE = 'Code, Home Automation, Personal Blog' MENUITEMS = [ - ('Home', '/'), - ('Tags', '/tags'), - ('Categories', '/categories'), + ('Home', '/blog/'), + ('Tags', '/blog/tags.html'), + ('Categories', '/blog/categories.html'), ] PATH = 'content' diff --git a/publishconf.py b/publishconf.py index 8c20b86..7c71355 100644 --- a/publishconf.py +++ b/publishconf.py @@ -7,7 +7,7 @@ sys.path.append(os.curdir) from pelicanconf import * # If your site is available via HTTPS, make sure SITEURL begins with https:// -SITEURL = 'https://tyrel.dev/pelican/' +SITEURL = 'https://tyrel.dev/blog' RELATIVE_URLS = False FEED_ALL_ATOM = 'feeds/all.atom.xml' diff --git a/tasks.py b/tasks.py index e43344c..3eca4d4 100644 --- a/tasks.py +++ b/tasks.py @@ -27,9 +27,9 @@ CONFIG = { 'deploy_path': SETTINGS['OUTPUT_PATH'], # Remote server configuration 'ssh_user': 'tyrel', - 'ssh_host': 'localhost', + 'ssh_host': 'tyrelsouza.com', 'ssh_port': '22', - 'ssh_path': '/Users/tyrel/pelican-site', + 'ssh_path': '/www/tyrel.dev/blog/', # Host and port for `serve` 'host': 'localhost', 'port': 8000,