paritybit.ca

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

commit 5c4735edfe7da955ddf9b1e0c3f7fd7587e58aaf
parent 3126622c657830536720c64d3583550d396a6456
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Mon, 16 Dec 2019 03:45:50 -0500

Change link to top from #top to # for smooth scrolling

Diffstat:
Mcreatepages.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/createpages.sh b/createpages.sh @@ -183,7 +183,7 @@ for page in $@; do $htmldir/$savepath/$pagename.html sed -i "/<h3>$sectionName<\/h3>/i <a id=\"$sectionNameNS\"></a>" \ $htmldir/$savepath/$pagename.html - sed -i "s/<h3>$sectionName<\/h3>/<h3>$sectionName <a class=\"back-to-top\" href=\"#top\">\&\#10548\;<\/a><\/h3>/g" \ + sed -i "s/<h3>$sectionName<\/h3>/<h3>$sectionName <a class=\"back-to-top\" href=\"#\">\&\#10548\;<\/a><\/h3>/g" \ $htmldir/$savepath/$pagename.html fi done