forked from rDrama/rDrama
html_head: fix page title on signup, login, others.
parent
ce84861a44
commit
2075311901
|
@ -25,8 +25,7 @@
|
|||
<script defer src="{{'js/core.js' | asset}}"></script>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro page_meta (title) %}
|
||||
{% set title = SITE_NAME if not title %}
|
||||
{% macro page_meta (title=SITE_NAME) %}
|
||||
|
||||
{% if 'post/' in request.path and p %}
|
||||
{% set title = [p.plaintitle(v), ' - ', title] | join %}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{% if ref_user %}
|
||||
{% set title= ref_user.username + "invites you to " + SITE_NAME %}
|
||||
{% else %}
|
||||
{% set title="Sign up" %}
|
||||
{% set title="Sign Up" %}
|
||||
{% endif %}
|
||||
{{html_head.html_head(true, false, false, none, title, false)}}
|
||||
<body id="login">
|
||||
|
|
Loading…
Reference in New Issue