{{- $folders := .FoldersWithSelection}} {{- $folder := $folders.Selected -}} {{- $filter := .FilteredByFollowing -}} {{- $folderID := $folder.FolderID.Hex -}} {{- $followingID := .QueryParam "origin.followingId" -}}
{{- template "sidebar" $folders -}}
{{- if $filter.NotZero -}} {{- $following := .FollowingByToken $followingID -}}
{{- if ne "" $following.IconURL -}}
{{- end -}}

{{$following.Label}}

{{$following.URL}} · {{$following.LastPolled | tinyDate}} ago  
{{- else -}}

{{icon $folder.Icon}} {{$folder.Label}}

{{- end -}}
{{- if $filter.IsZero -}} {{- else -}} {{- end -}}
{{- template "list" . -}}