summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnew.sh22
-rw-r--r--pages/links.php2
2 files changed, 1 insertions, 23 deletions
diff --git a/new.sh b/new.sh
deleted file mode 100755
index 0664940..0000000
--- a/new.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-read -rp 'Title: ' title
-draft=drafts/$(date +'%Y-%m-%d')-$(printf "$title" | tr -Cs '[:alnum:]' '-' | tr '[:upper:]' '[:lower:]').php
-
-cat > "$draft" << EOF
-<?php
-\$title = "$title";
-if (isset(\$early) && \$early) {
-return;
-}
-include(\$_SERVER['DOCUMENT_ROOT'] . '/includes/head.php');
-?>
-
-EOF
-
-$EDITOR "$draft"
-
-read -rp 'Publish? [y/N]: ' choice
-[ 'y' = "$choice" ] && mv "$draft" posts/ || echo Saved draft.
-
-read -rp 'Go live? [y/N]: ' choice
-[ 'y' = "$choice" ] && git commit && git push origin && git push live || echo Deferred publish.
diff --git a/pages/links.php b/pages/links.php
index 546b90b..25d2c27 100644
--- a/pages/links.php
+++ b/pages/links.php
@@ -9,7 +9,7 @@
<ul>
<li><a href="https://hetclub.org">The Hudson, Essex, Terraplane Club Member Site &amp; Member Forum</a></li>
<li><a href="https://forum.hetclub.org">The HET Open Forum</a></li>
- <li><a href="https://hudsonrestoration1948-54.com">Hudson Stepdown Restoration (Ken "Yogi" Cates)</a></li>
+ <li><a href="https://hudsonrestoration1948-54.com">Hudson Stepdown Restoration (Ken/Yogi Cates)</a></li>
<li><a href="https://hudsonmotorcarco.com">Dale Cooper's Engine Parts and Gaskets for Hudsons</a></li>
<li><a href="https://www.wrphet.com">Doug Wildrick's Rubber Parts for HET</a></li>
</ul>