Removed old PHP code, migrated to Python and Flask
Update .dockerignore, .env, and 503 more files...
This commit is contained in:
8
website/renderers/paragraph.py
Normal file
8
website/renderers/paragraph.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from flask import render_template
|
||||
|
||||
|
||||
def render_paragraph(inner_html: str) -> str:
|
||||
return render_template(
|
||||
"elements/paragraph.jinja",
|
||||
paragraph_inner_html=inner_html,
|
||||
)
|
||||
Reference in New Issue
Block a user