mirror of
https://github.com/sjpiper145/MakerSkillTree.git
synced 2025-10-16 11:52:50 +02:00
Replace author tag with footer
This commit is contained in:
parent
29c62bba09
commit
e3b25803a7
9 changed files with 10 additions and 10 deletions
|
|
@ -39,9 +39,9 @@ def make_text_multiline(text: list, length1: int = 18, length2: int = 25) -> str
|
|||
|
||||
|
||||
def process_svg(template, data):
|
||||
# Replace title and author
|
||||
# Replace title and footer
|
||||
processed = template.replace("{{ title }}", data["title"])
|
||||
processed = processed.replace("{{ author }}", data["author"])
|
||||
processed = processed.replace("{{ footer }}", data["footer"])
|
||||
|
||||
displacement = (0, 9, 19, 29, 39, 49, 59, 69)
|
||||
for i in range(10):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue