diff options
Diffstat (limited to 'compile.sh')
-rw-r--r-- | compile.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compile.sh b/compile.sh index 7e48f6e..da7cc4b 100644 --- a/compile.sh +++ b/compile.sh | |||
@@ -20,6 +20,11 @@ mv src/*.html ./ | |||
20 | echo "Finished compiling $num files." | 20 | echo "Finished compiling $num files." |
21 | ############################################### | 21 | ############################################### |
22 | echo | 22 | echo |
23 | echo "Adding class=\"external\" to external links ..." | ||
24 | sed -i 's,<a href="\(http://.*\)">,<a href="\1" class="external">,g' *.html | ||
25 | echo "Finished." | ||
26 | ############################################### | ||
27 | echo | ||
23 | echo "Updating js/lozenge.js with file list ..." | 28 | echo "Updating js/lozenge.js with file list ..." |
24 | 29 | ||
25 | lozengeList=( $(ls *.html | grep -v '\(_template\|loremipsum\|ipsumlorem\)') ) | 30 | lozengeList=( $(ls *.html | grep -v '\(_template\|loremipsum\|ipsumlorem\)') ) |