Skip to content

Commit

Permalink
Improve meta robots rules
Browse files Browse the repository at this point in the history
  • Loading branch information
fluffy-critter committed Dec 4, 2020
1 parent 3fd4b9a commit bc8f85f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion authl/flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def _callback_endpoint(self, hid: str):
return self._handle_disposition(
handler.check_callback(request.url, request.args, request.form))

@property
@ property
def stylesheet(self) -> str:
""" The stylesheet to use for the Flask templates """
if self._stylesheet:
Expand Down
3 changes: 2 additions & 1 deletion authl/flask_templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<title>Login</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta robots="noindex, nofollow, nosnippet">
<link rel="stylesheet" href="{{stylesheet}}">

<script>
Expand Down Expand Up @@ -141,7 +142,7 @@ <h1>Identify Yourself</h1>
</ul>

<p>You may also provide your address in <a class="$handler" href="?fill=@user@domain"
data-url="@%" data-example="user@domain">WebFinger format</a>.</p>
data-url="@%" data-example="user@domain" rel="nofollow">WebFinger format</a>.</p>
</div>

<div id="powered">
Expand Down

0 comments on commit bc8f85f

Please sign in to comment.