From 002118777ddf2f81d2894d81bc7fadc64dbbc36f Mon Sep 17 00:00:00 2001 From: mjfernez Date: Fri, 14 Jul 2023 13:21:13 -0400 Subject: Add script to update TOC links With commit 50b72b5787338ee3c0ef0a4aebfcdf8acf3c3a08 in ezcms, the default behavior for links changes to open in a new tab. This script helps override the option for table of content links by updating "target" to point to "_self" --- about/faq.html | 42 +++-- about/howami.html | 13 +- about/whatami.html | 16 +- about/whereami.html | 24 ++- about/whoami.html | 13 +- about/whyami.html | 13 +- panupdate | 1 + thoughts/syntax/my-worst-habit.html | 25 +-- thoughts/syntax/random-python-idiosyncrasies.html | 115 ++++++------- .../common-gfx-card-installation-woes.html | 54 +++---- .../tor/how-to-host-a-tor-hidden-service.html | 29 ++-- ...how-to-fix-neovim-nerdtree-rendering-issue.html | 33 ++-- tutorials/www/how-to-make-this-site.html | 90 +++++------ tutorials/www/how-to-use-the-internet.html | 29 ++-- tutorials/www/quick-intro-html-css.html | 177 +++++++++------------ update_targets.py | 17 ++ 16 files changed, 323 insertions(+), 368 deletions(-) create mode 100644 update_targets.py diff --git a/about/faq.html b/about/faq.html index 994d8a8..9db881f 100644 --- a/about/faq.html +++ b/about/faq.html @@ -1,11 +1,11 @@ - + - - - - faq -