fix(Style): Adjust code style for consistency

This commit is contained in:
Stephen Burgess 2018-06-12 12:05:33 -05:00
parent d32c7e4b66
commit 438778db39
4 changed files with 10 additions and 8 deletions

View File

@ -8,12 +8,13 @@
<a href="../">{{ blog.title }}</a> <a href="../">{{ blog.title }}</a>
{% endblock header %} {% endblock header %}
{% block content %}
{% if author.display_name %} {% if author.display_name %}
{% set name = author.display_name %} {% set name = author.display_name %}
{% else %} {% else %}
{% set name = author.username %} {% set name = author.username %}
{% endif %} {% endif %}
{% block content %}
<p> <p>
<b>Written by <a href="/@/{{ author.fqn }}/">{{ name }}</a></b> <b>Written by <a href="/@/{{ author.fqn }}/">{{ name }}</a></b>
&mdash; &mdash;

View File

@ -1,12 +1,13 @@
{% extends "base" %} {% extends "base" %}
{% import "macros" as macros %} {% import "macros" as macros %}
{% block title %}
{% if user.display_name %} {% if user.display_name %}
{% set name = user.display_name %} {% set name = user.display_name %}
{% else %} {% else %}
{% set name = user.username %} {% set name = user.username %}
{% endif %} {% endif %}
{% block title %}
{{ name }} {{ name }}
{% endblock title %} {% endblock title %}

View File

@ -1,12 +1,12 @@
{% extends "base" %} {% extends "base" %}
{% block title %}
{% if user.display_name %} {% if user.display_name %}
{% set name = user.display_name %} {% set name = user.display_name %}
{% else %} {% else %}
{% set name = user.username %} {% set name = user.username %}
{% endif %} {% endif %}
{% block title %}
{{ name }}'s Followers {{ name }}'s Followers
{% endblock title %} {% endblock title %}