From ddb1ca205abb6349b59bc5ea7764a68484e72338 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 19 Apr 2023 12:17:27 +0200 Subject: bind website page --- templates/garage_website_list.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/garage_website_list.html b/templates/garage_website_list.html index 6f5312f..ded8096 100644 --- a/templates/garage_website_list.html +++ b/templates/garage_website_list.html @@ -15,12 +15,24 @@ URLs + {{ range $buck := .Key.Buckets }} + {{ if $buck.GlobalAliases }} - aa + {{$buck.Id}} + + + {{ range $alias := $buck.GlobalAliases }} + {{ if contains $alias "." }} + https://{{ $alias }} + {{ else }} + https://{{ $alias }}.web.deuxfleurs.fr + {{ end }} + {{ end }} - aa + {{ end }} + {{ end }} {{end}} -- cgit v1.2.3