Skip to content

Change footer HTML #1219

Closed Answered by Frooodle
Osdop asked this question in Q&A
May 17, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

So file is located at
https://github.com/Stirling-Tools/Stirling-PDF/blob/main/src/main/resources/templates/fragments/footer.html

meaning it would be template directory plus fragments/footer.html

so should be /customFiles/templates/ + fragments/footer.html

I see your volume mapping as only static folder

  • /etc/stirling/customFiles/static:/customFiles/static

do you have one for the templates as well?

Static is only for files in
https://github.com/Stirling-Tools/Stirling-PDF/tree/main/src/main/resources/static

you should have it as
- /etc/stirling/customFiles/:/customFiles/

then add /etc/stirling/customFiles/templates/fragments/footer.html

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Osdop
Comment options

Answer selected by Osdop
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants