mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-29 19:18:13 +08:00
Simplify website template code
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}{{ section.title }}.{% endblock title %}
|
||||
{% block title %}{{ section.title }}{% endblock title %}
|
||||
|
||||
{% block head %}
|
||||
<link rel="stylesheet" href="/page.css">
|
||||
{% if section.extra.css %}
|
||||
<link rel="stylesheet" href="{{ section.extra.css | safe }}">
|
||||
{% endif %}
|
||||
{% endblock head %}
|
||||
|
||||
{% block content %}
|
||||
<section class="section-row">
|
||||
<div class="section">
|
||||
<h1>{{ section.title }}.</h1>
|
||||
{{ section.content | safe }}
|
||||
</div>
|
||||
</section>
|
||||
{{ section.content | safe }}
|
||||
{% endblock content %}
|
||||
|
||||
Reference in New Issue
Block a user