diff --git a/docs/ahriman.web.views.rst b/docs/ahriman.web.views.rst index abe48061..0a44ca66 100644 --- a/docs/ahriman.web.views.rst +++ b/docs/ahriman.web.views.rst @@ -30,6 +30,14 @@ ahriman.web.views.index module :no-undoc-members: :show-inheritance: +ahriman.web.views.static module +------------------------------- + +.. automodule:: ahriman.web.views.static + :members: + :no-undoc-members: + :show-inheritance: + Module contents --------------- diff --git a/package/share/ahriman/templates/api.jinja2 b/package/share/ahriman/templates/api.jinja2 index 8fcff59e..993b0d24 100644 --- a/package/share/ahriman/templates/api.jinja2 +++ b/package/share/ahriman/templates/api.jinja2 @@ -6,10 +6,8 @@ - - - - + +
diff --git a/package/share/ahriman/templates/build-status.jinja2 b/package/share/ahriman/templates/build-status.jinja2 index edd1076a..a99b437b 100644 --- a/package/share/ahriman/templates/build-status.jinja2 +++ b/package/share/ahriman/templates/build-status.jinja2 @@ -5,8 +5,6 @@ - - {% include "utils/style.jinja2" %} {% include "user-style.jinja2" ignore missing %} diff --git a/package/share/ahriman/templates/error.jinja2 b/package/share/ahriman/templates/error.jinja2 index f18f5257..19e52c1e 100644 --- a/package/share/ahriman/templates/error.jinja2 +++ b/package/share/ahriman/templates/error.jinja2 @@ -5,8 +5,6 @@ - - {% include "utils/style.jinja2" %} {% include "user-style.jinja2" ignore missing %} diff --git a/src/ahriman/web/views/static.py b/src/ahriman/web/views/static.py new file mode 100644 index 00000000..1fd6e7a3 --- /dev/null +++ b/src/ahriman/web/views/static.py @@ -0,0 +1,44 @@ +# +# Copyright (c) 2021-2023 ahriman team. +# +# This file is part of ahriman +# (see https://github.com/arcan1s/ahriman). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see