Add jank support for html motds.
This commit is contained in:
parent
79c6af5d9b
commit
4d0565d9bb
1 changed files with 9 additions and 1 deletions
|
@ -59,7 +59,15 @@ body > div
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<p id="motd">{{motd}}</p>
|
||||
<p id="motd">
|
||||
{%- if motd is string -%}
|
||||
{{motd}}
|
||||
{%- elif motd[0] == "html" -%}
|
||||
{{motd[1]|safe}}
|
||||
{%- else -%}
|
||||
{{motd[1]}}
|
||||
{%- endif -%}
|
||||
</p>
|
||||
<a class="nice_link" href="/search">Search</a>
|
||||
<a class="nice_link" href="/tags">Browse tags</a>
|
||||
<a class="nice_link" href="/albums">Browse albums</a>
|
||||
|
|
Loading…
Reference in a new issue