Powered by links to datasette.io, closes #1138

pull/1145/head
Simon Willison 2020-12-10 15:37:08 -08:00
rodzic 2c0aca4887
commit 967cc05545
4 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
Powered by <a href="https://github.com/simonw/datasette" title="Datasette v{{ datasette_version }}">Datasette</a>
Powered by <a href="https://datasette.io/" title="Datasette v{{ datasette_version }}">Datasette</a>
{% if query_ms %}&middot; Query took {{ query_ms|round(3) }}ms{% endif %}
{% if metadata %}
{% if metadata.license or metadata.license_url %}&middot; Data license:

Wyświetl plik

@ -476,7 +476,7 @@
<h2 class="pattern-heading">.ft</h2>
<footer class="ft">Powered by <a href="https://github.com/simonw/datasette" title="Datasette v0+unknown">Datasette</a>
<footer class="ft">Powered by <a href="https://datasette.io/" title="Datasette v0+unknown">Datasette</a>
&middot; Data license:
<a href="https://github.com/simonw/datasette/blob/master/LICENSE">Apache License 2.0</a>
&middot;

Wyświetl plik

@ -29,7 +29,7 @@ setup(
long_description_content_type="text/markdown",
author="Simon Willison",
license="Apache License, Version 2.0",
url="https://github.com/simonw/datasette",
url="https://datasette.io/",
project_urls={
"Documentation": "https://docs.datasette.io/en/stable/",
"Changelog": "https://docs.datasette.io/en/stable/changelog.html",

Wyświetl plik

@ -1079,7 +1079,7 @@ def assert_footer_links(soup):
assert "tests/fixtures.py" == source_link.text.strip()
assert "Apache License 2.0" == license_link.text.strip()
assert "About Datasette" == about_link.text.strip()
assert "https://github.com/simonw/datasette" == datasette_link["href"]
assert "https://datasette.io/" == datasette_link["href"]
assert (
"https://github.com/simonw/datasette/blob/master/tests/fixtures.py"
== source_link["href"]
@ -1461,7 +1461,7 @@ def test_base_url_config(app_client_base_url_prefix, path):
not href.startswith("#")
and href
not in {
"https://github.com/simonw/datasette",
"https://datasette.io/",
"https://github.com/simonw/datasette/blob/master/LICENSE",
"https://github.com/simonw/datasette/blob/master/tests/fixtures.py",
"/login-as-root", # Only used for the latest.datasette.io demo