fix: lint issues
Deploy Website / build-and-deploy (push) Successful in 3m14s

This commit is contained in:
Andrew Rioux
2026-05-30 22:41:35 -04:00
parent 47226ecad4
commit 519138983d
+3 -2
View File
@@ -1,8 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
LINKS="$(ls articles/*.org | tac | head -n 10 | while read -r article; do LINKS="$(find articles -name '*.org' | tac | head -n 10 | while read -r article; do
TITLE="$(grep -E '^#\+TITLE:' "$article" | sed -e 's/^#+TITLE:\s*//')" TITLE="$(grep -E '^#\+TITLE:' "$article" | sed -e 's/^#+TITLE:\s*//')"
DATE="$(git show --no-patch --no-notes --pretty='%as' `git rev-list -1 HEAD -- $article`)" ARTICLE_COMMIT="$(git rev-list -1 HEAD -- "$article")"
DATE="$(git show --no-patch --no-notes --pretty='%as' "$ARTICLE_COMMIT")"
echo '<li>' echo '<li>'
echo '<a href="'"${article/.org/}.html"'">'"<date>$DATE</date> - $TITLE"'</a>' echo '<a href="'"${article/.org/}.html"'">'"<date>$DATE</date> - $TITLE"'</a>'
echo '<p>' echo '<p>'