Message format has been changed so that all text boxes will be the same width, rather than they change depending on name length. TL;DR: changed location of name tag You can now format your messages with cmark flavored markdown. There still may be rendering bugs, but I will fix them as they come. Messages are now properly sanitized with the ammonia package. Messages now have proper timestamps with help from chrono. Right now previous versions are not compatible with the new timestamp format. A patch will be introduced in the next couple of updates to remedy that issue. Did some housekeeping in `static/index.css`
18 lines
373 B
Handlebars
18 lines
373 B
Handlebars
<!DOCTYPE html>
|
|
<html lang="en">
|
|
{{> head}}
|
|
<body>
|
|
<div id="title" class="bar">
|
|
{{#if user.nick}}
|
|
<h1>Hello, {{user.nick}}</h1>
|
|
{{else}}
|
|
<h1>Hello, {{user.nickname}}</h1>
|
|
{{/if}}
|
|
</div><div id="index">
|
|
<p>
|
|
Logged in as {{user.username}}, return to <a href="/boards/">index</a>
|
|
</p>
|
|
</div>
|
|
</body>
|
|
</html>
|