From 70256893cd321e07ee061a881377b53c3a7c83e3 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 12 Jan 2023 05:29:50 +0000 Subject: [PATCH] fix dev formatting one more time --- dev/_posts/2023-01-12-non-repo-static-content.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/_posts/2023-01-12-non-repo-static-content.md b/dev/_posts/2023-01-12-non-repo-static-content.md index 51e0eee..c95b921 100644 --- a/dev/_posts/2023-01-12-non-repo-static-content.md +++ b/dev/_posts/2023-01-12-non-repo-static-content.md @@ -19,7 +19,7 @@ The nice thing about Jekyll is it's a satic site generator and works after hours # pax -rwlpp . /var/www/pickmy # popd ``` -

+
The problem I was having is if a directory already existed; nothing would symlink. pax solved the problem, except pax copied data. I didn't need the redundancy. @@ -33,7 +33,7 @@ do done ln -s $WWW_STATIC/* $PUBLIC_WWW/ ``` -

+
This is called as a seperate script in the githook that runs whenever I push a new post (or change) to the repository. It runs after site generation naturally. It gets a list of existing directories from the static directory; and if the directory exists, symlinks all the files in to it. It then goes back and runs a generic symlink of everything.