31 lines
485 B
Python
31 lines
485 B
Python
|
|
HEAD_EMBED = """
|
|
<div style="display: flex;">
|
|
|
|
<div>
|
|
|
|
## mjestečko ##
|
|
|
|
<ul class="nav">
|
|
<li><a href="/">main page</a></li>
|
|
<li><a href="https://git.poto.cafe/veclavtalica/mjestecko">source</a></li>
|
|
<li><a href="/articles/mjestečko.html">about</a></li>
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="container">
|
|
|
|
"""
|
|
|
|
TAIL_EMBED = """
|
|
---
|
|
*Remember, - all you see here is free for use for any purpose whatsoever.*
|
|
|
|
</div>
|
|
|
|
"""
|
|
|
|
def wrap_page(page: str) -> str:
|
|
return HEAD_EMBED + page + TAIL_EMBED
|