Monorepo for Tangled tangled.org

appview: repo/index: urlencode refs

anirudh.fi d187bf2b b6f0dceb

verified
Changed files
+3 -3
appview
pages
templates
repo
+3 -3
appview/pages/templates/repo/index.html
··· 46 </optgroup> 47 </select> 48 <a 49 - href="/{{ .RepoInfo.FullName }}/commits/{{ .Ref }}" 50 class="ml-2 no-underline flex items-center gap-2 text-sm uppercase font-bold" 51 > 52 <i class="w-4 h-4" data-lucide="logs"></i> ··· 66 <div class="{{ $containerstyle }}"> 67 <div class="flex justify-between items-center"> 68 <a 69 - href="/{{ $.RepoInfo.FullName }}/tree/{{ $.Ref }}/{{ .Name }}" 70 class="{{ $linkstyle }}" 71 > 72 <div class="flex items-center gap-2"> ··· 91 <div class="{{ $containerstyle }}"> 92 <div class="flex justify-between items-center"> 93 <a 94 - href="/{{ $.RepoInfo.FullName }}/blob/{{ $.Ref }}/{{ .Name }}" 95 class="{{ $linkstyle }}" 96 > 97 <div class="flex items-center gap-2">
··· 46 </optgroup> 47 </select> 48 <a 49 + href="/{{ .RepoInfo.FullName }}/commits/{{ .Ref | urlquery }}" 50 class="ml-2 no-underline flex items-center gap-2 text-sm uppercase font-bold" 51 > 52 <i class="w-4 h-4" data-lucide="logs"></i> ··· 66 <div class="{{ $containerstyle }}"> 67 <div class="flex justify-between items-center"> 68 <a 69 + href="/{{ $.RepoInfo.FullName }}/tree/{{ $.Ref | urlquery }}/{{ .Name }}" 70 class="{{ $linkstyle }}" 71 > 72 <div class="flex items-center gap-2"> ··· 91 <div class="{{ $containerstyle }}"> 92 <div class="flex justify-between items-center"> 93 <a 94 + href="/{{ $.RepoInfo.FullName }}/blob/{{ $.Ref | urlquery }}/{{ .Name }}" 95 class="{{ $linkstyle }}" 96 > 97 <div class="flex items-center gap-2">