Update public source
This commit is contained in:
@@ -413,41 +413,6 @@ def page_begin(
|
||||
|
||||
return html
|
||||
|
||||
# ============================================================
|
||||
# Page header
|
||||
# ============================================================
|
||||
|
||||
def page_header(
|
||||
|
||||
title,
|
||||
|
||||
description="",
|
||||
|
||||
):
|
||||
|
||||
html = f"""
|
||||
|
||||
<h1 class="page-title">
|
||||
|
||||
{title}
|
||||
|
||||
</h1>
|
||||
|
||||
"""
|
||||
|
||||
if description:
|
||||
|
||||
html += f"""
|
||||
|
||||
<div class="page-description">
|
||||
|
||||
{description}
|
||||
|
||||
</div>
|
||||
|
||||
"""
|
||||
|
||||
return html
|
||||
|
||||
# ============================================================
|
||||
# Page end
|
||||
|
||||
Reference in New Issue
Block a user