UPD: added more fun to the root view.
This commit is contained in:
@@ -8,7 +8,19 @@
|
||||
my name is {{ hostname|capfirst }} and I am your server right now.
|
||||
</p>
|
||||
<p>
|
||||
By the way, my clock says {{ time|time:'TIME_FORMAT'|default:'nothing' }}.
|
||||
Did I say now?<br />
|
||||
My clock says {{ time|time:'TIME_FORMAT'|default:'nothing' }},
|
||||
{% if time %}
|
||||
and we are talking about the {{ time|time:'e' }} timezone.
|
||||
{% else %}
|
||||
and this is no good.
|
||||
{% endif %}
|
||||
</p>
|
||||
<p>
|
||||
{% with color_hex=color_hex|default:'47825b' %}
|
||||
By the way, this is my favorite color:
|
||||
<span class="badge" style="background-color: #{{ color_hex }};"> #{{ color_hex }} </span>
|
||||
{% endwith %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user