diff options
| author | mjfernez <mjf@mjfer.net> | 2023-07-14 13:21:13 -0400 | 
|---|---|---|
| committer | mjfernez <mjf@mjfer.net> | 2023-07-14 13:21:13 -0400 | 
| commit | 002118777ddf2f81d2894d81bc7fadc64dbbc36f (patch) | |
| tree | e7552ee092e4f4601c96d3a1c97de5f066b637ec /panupdate | |
| parent | d96c7cad92b025ad80a8fe64f91d1c215272e313 (diff) | |
| download | site-files-002118777ddf2f81d2894d81bc7fadc64dbbc36f.tar.gz | |
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"
Diffstat (limited to 'panupdate')
| -rwxr-xr-x | panupdate | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -11,6 +11,7 @@ do              pandoc -s --toc --toc-depth=6 \                   --ascii -V toc-title:"Contents" \                  -f markdown-smart $file -t html -o $newfile +            python update_targets.py $newfile          fi          if [[ "$file" == *.description ]]          then | 
