paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit a52ce4091697de0a576889cf8b742b859d0afc24
parent 4c8e2a04823062a4ebb39992ccbae487f97b16d0
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Fri, 22 Jan 2021 04:17:51 -0500

Remove homepage changes from publish script

Diffstat:
Mhttp/publish | 17+----------------
1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/http/publish b/http/publish @@ -109,20 +109,6 @@ update_base_page() } -# Update the home page to show the new published article and remove oldest entry -update_home_page() -{ - print_info_msg "Updating home page" - sed -i -e "/<\/div>/a\\ -$shortDate \<a class=\"feed-item\" href=\"$basePage\/$fileName\"\>$pageTitle\<\/a\>\n" \ - pages/home.md - echo "/### What is a Parity Bit - 2k2dd - :wq" > /tmp/script.vim - "$vim_ver" -s /tmp/script.vim pages/home.md - ./compile -s -n pages/home.md -} - create_rss_entry() { print_info_msg "Creating RSS entry" @@ -181,7 +167,7 @@ auto_upload() return 0 fi print_info_msg "Auto-uploading files" - cd public && rsync -rR html/home.html sitemap.xml feeds/sitewide-feed.xml \ + cd public && rsync -rR sitemap.xml feeds/sitewide-feed.xml \ "$categoryPage" "$article" "$remote" && cd .. } @@ -254,7 +240,6 @@ for file in "$@"; do populate_date update_base_page - update_home_page create_rss_entry update_rss_feed update_sitemap