Update public source
This commit is contained in:
@@ -255,6 +255,17 @@ a:hover {
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.page-section {
|
||||
margin-bottom: 8px;
|
||||
|
||||
color: var(--muted);
|
||||
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
|
||||
letter-spacing: 0.8px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
margin-top: 0;
|
||||
|
||||
+19
-1
@@ -349,6 +349,8 @@ def page_begin(
|
||||
|
||||
context=None,
|
||||
|
||||
section_title="",
|
||||
|
||||
):
|
||||
|
||||
if context is None:
|
||||
@@ -369,10 +371,26 @@ def page_begin(
|
||||
context,
|
||||
)
|
||||
|
||||
html += f"""
|
||||
html += """
|
||||
|
||||
<div class="content">
|
||||
|
||||
"""
|
||||
|
||||
if section_title:
|
||||
|
||||
html += f"""
|
||||
|
||||
<div class="page-section">
|
||||
|
||||
{section_title}
|
||||
|
||||
</div>
|
||||
|
||||
"""
|
||||
|
||||
html += f"""
|
||||
|
||||
<h1 class="page-title">
|
||||
|
||||
{title}
|
||||
|
||||
Reference in New Issue
Block a user