refactor(web): use static.tvl.{fyi|su} for static assets

Replaces all uses of relative static paths in TVL pages with the
static.tvl.fyi domain. Where possible, the drv hash is directly
embedded in the content.

Change-Id: Ia882dd37ceae9d047cd81cf1eb37a856b339643a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3682
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
Vincent Ambo 2021-10-01 19:57:43 +03:00 committed by tazjin
parent 8696726244
commit 26f0ba5464
6 changed files with 8 additions and 11 deletions

View file

@ -25,7 +25,7 @@ let
enable-follow-links=1
enable-blame=1
mimetype-file=${mime-types}/etc/mime.types
logo=https://tvl.fyi/static/tvl-animated.svg
logo=https://static.tvl.fyi/${depot.web.static.drvHash}/logo-animated.svg
# Repository configuration
repo.url=depot