Change title to a variable and implement opengraph metatdata tags

This commit is contained in:
Jeremy Zhang
2017-07-14 04:04:04 +00:00
parent 82db716b61
commit 415d03e7c0
10 changed files with 26 additions and 10 deletions

View File

@ -1,5 +1,9 @@
{% extends 'site_layout.html.j2' %}
{% block title %}{% if new %}New{% else %}Editing {{ css.name }} -{% endif %} User CSS{% endblock %}
{% if new %}
{% set title="New - User CSS" %}
{% else %}
{% set title="Editing " + css.name + " - User CSS" %}
{% endif %}
{% block content %}
<h1>{% if new %}New{% else %}Editing {{ css.name }}{% endif %} - User Defined CSS</h1>