Add --title, and make it display the title in chat mode

This commit is contained in:
Micah Lee 2021-04-12 17:55:16 -04:00
parent 530f9547f5
commit b5c68fa5ca
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
4 changed files with 13 additions and 8 deletions

View file

@ -2,7 +2,7 @@
<html>
<head>
<title>OnionShare</title>
<title>{% if title %}{{ title }}{% else %}OnionShare Chat{% endif %}</title>
<link href="{{ static_url_path }}/img/favicon.ico" rel="icon" type="image/x-icon">
<link rel="stylesheet" rel="subresource" type="text/css" href="{{ static_url_path }}/css/style.css" media="all">
</head>
@ -11,7 +11,7 @@
<header class="clearfix">
<img class="logo" src="{{ static_url_path }}/img/logo.png" title="OnionShare">
<h1>OnionShare</h1>
<h1>{% if title %}{{ title }}{% else %}OnionShare Chat{% endif %}</h1>
</header>
<noscript>
<p>