Skip to content

Commit

Permalink
Bump version to 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Huy-Ngo committed Feb 26, 2021
1 parent 5d073d4 commit 711c6ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/acanban/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

__all__ = ['app']
__doc__ = 'Academic Kanban'
__version__ = '0.1.0'
__version__ = '0.1.1'

# Nope, the negative operator is not a typo, see also tzset(3posix).
TZ = tz(timedelta(seconds=-timezone))
Expand Down Expand Up @@ -87,6 +87,7 @@ async def test_app(self) -> AsyncIterator[Acanban]:
app.register_blueprint(project)
app.register_blueprint(task)
app.add_template_filter(naturalsize)
app.add_template_global(lambda: __version__, 'version')


@app.template_filter('markdown')
Expand Down
2 changes: 1 addition & 1 deletion src/acanban/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<link rel=icon type=image/png sizes=32x32 href=/static/favicon-32x32.png>
<link rel=icon type=image/png sizes=16x16 href=/static/favicon-16x16.png>
<link rel=manifest href=/static/site.webmanifest>
<link rel=stylesheet type=text/css href=/static/style.css>
<link rel=stylesheet type=text/css href=/static/style.css?v={{ version() }}>
<title>{% block title %}{% endblock %}</title>
<body>
<nav>
Expand Down

0 comments on commit 711c6ab

Please sign in to comment.