Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0ae16bd1fc
commit
2616ef5060
4 files changed
+11
-2
No files matched your search
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [2.3.1] - 2026-10-31
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- "Log in" is back in the header nav (2.3.0 had moved it to the footer, where it was easy to miss)
|
||||||
|
|
||||||
## [2.3.0] - 2026-10-31
|
## [2.3.0] - 2026-10-31
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -449,5 +449,5 @@ def create_app(config=None):
|
|||||||
|
|
||||||
# Package version (Semantic Versioning 2.0.0)
|
# Package version (Semantic Versioning 2.0.0)
|
||||||
# See docs/standards/versioning-strategy.md for details
|
# See docs/standards/versioning-strategy.md for details
|
||||||
__version__ = "2.3.0"
|
__version__ = "2.3.1"
|
||||||
__version_info__ = (2, 1, 0)
|
__version_info__ = (2, 1, 0)
|
||||||
+2
-1
@@ -41,6 +41,8 @@
|
|||||||
<a href="{{ url_for('public.feed') }}">RSS</a>
|
<a href="{{ url_for('public.feed') }}">RSS</a>
|
||||||
{% if g.me %}
|
{% if g.me %}
|
||||||
<a href="{{ url_for('admin.dashboard') }}">Dashboard</a>
|
<a href="{{ url_for('admin.dashboard') }}">Dashboard</a>
|
||||||
|
{% else %}
|
||||||
|
<a href="{{ url_for('auth.login_form') }}">Log in</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<form class="site-search" action="/search" method="get" role="search">
|
<form class="site-search" action="/search" method="get" role="search">
|
||||||
<input type="search" name="q" placeholder="Search" aria-label="Search"
|
<input type="search" name="q" placeholder="Search" aria-label="Search"
|
||||||
@@ -65,7 +67,6 @@
|
|||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<p>
|
<p>
|
||||||
Powered by <a href="https://git.thesatelliteoflove.com/phil/StarPunk">StarPunk</a> v{{ config.get('VERSION', '0.5.0') }}
|
Powered by <a href="https://git.thesatelliteoflove.com/phil/StarPunk">StarPunk</a> v{{ config.get('VERSION', '0.5.0') }}
|
||||||
{% if not g.me %}· <a href="{{ url_for('auth.login_form') }}">Log in</a>{% endif %}
|
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ def test_home_shows_full_notes_and_site_name(app):
|
|||||||
# Notes' metadata is not styled as the page footer
|
# Notes' metadata is not styled as the page footer
|
||||||
assert html.count('<footer class="site-footer">') == 1
|
assert html.count('<footer class="site-footer">') == 1
|
||||||
assert '<footer class="note-meta">' in html
|
assert '<footer class="note-meta">' in html
|
||||||
|
nav = html.split('class="site-nav"', 1)[1].split("</nav>", 1)[0]
|
||||||
|
assert 'href="/auth/login"' in nav # login is in the top bar
|
||||||
|
|
||||||
|
|
||||||
def test_note_page_meta_line(app):
|
def test_note_page_meta_line(app):
|
||||||
|
|||||||
Reference in new issue
Block a user