Skip to content

Commit

Permalink
Pandoc Test
Browse files Browse the repository at this point in the history
  • Loading branch information
CrawlingWharf90 committed Mar 7, 2024
1 parent 19c7cc1 commit 478762f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,7 @@ jobs:
</div>\
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>\
</body>\
</html>" >> index.html
run: |
find . -type d -mindepth 1 -maxdepth 1 -print0 | sort -z | while read -d $'\0' dir
do
if [[ -f "${dir}/index.html" ]]; then
sed -i "s@{{{PLACEHOLDER}}}@<li><a href=\"${dir}/index.html\">$(basename "${dir}")</a></li>{{{PLACEHOLDER}}}@" index.html
fi
done
sed -i "s@{{{PLACEHOLDER}}}@@g" index.html
</html>" >> index.html
- name: Delete symlinks if any
run: |
find . -type l -delete
Expand Down

0 comments on commit 478762f

Please sign in to comment.