diff --git a/appview/db/repos.go b/appview/db/repos.go --- a/appview/db/repos.go +++ b/appview/db/repos.go @@ -106,6 +106,7 @@ from repos r %s + order by created desc %s`, whereClause, limitClause, diff --git a/appview/db/timeline.go b/appview/db/timeline.go --- a/appview/db/timeline.go +++ b/appview/db/timeline.go @@ -174,11 +174,8 @@ var events []TimelineEvent for _, f := range follows { - profile, ok1 := profileMap[f.SubjectDid] - followStatMap, ok2 := followStatMap[f.SubjectDid] - if !ok1 || !ok2 { - continue - } + profile, _ := profileMap[f.SubjectDid] + followStatMap, _ := followStatMap[f.SubjectDid] events = append(events, TimelineEvent{ Follow: &f, diff --git a/appview/pages/templates/timeline.html b/appview/pages/templates/timeline.html --- a/appview/pages/templates/timeline.html +++ b/appview/pages/templates/timeline.html @@ -143,15 +143,19 @@ {{ $subjectHandle | truncateAt30 }} - {{ with $profile.Description }} -

{{.}}

+ {{ with $profile }} + {{ with .Description }} +

{{.}}

+ {{ end }} {{ end }} -
- {{ i "users" "size-4" }} - {{ $stat.Followers }} followers - - {{ $stat.Following }} following -
+ {{ with $stat }} +
+ {{ i "users" "size-4" }} + {{ .Followers }} followers + + {{ .Following }} following +
+ {{ end }} {{ end }} diff --git a/appview/pages/templates/layouts/base.html b/appview/pages/templates/layouts/base.html --- a/appview/pages/templates/layouts/base.html +++ b/appview/pages/templates/layouts/base.html @@ -18,7 +18,7 @@
{{ block "topbarLayout" . }}
-
+
{{ template "layouts/topbar" . }}
diff --git a/appview/pages/templates/repo/commit.html b/appview/pages/templates/repo/commit.html --- a/appview/pages/templates/repo/commit.html +++ b/appview/pages/templates/repo/commit.html @@ -80,7 +80,9 @@ {{end}} {{ define "topbarLayout" }} - {{ template "layouts/topbar" . }} +
+ {{ template "layouts/topbar" . }} +
{{ end }} {{ define "contentLayout" }} diff --git a/appview/pages/templates/repo/index.html b/appview/pages/templates/repo/index.html --- a/appview/pages/templates/repo/index.html +++ b/appview/pages/templates/repo/index.html @@ -386,7 +386,7 @@ dark:[&_pre]:border dark:[&_pre]:border-gray-700 {{ end }}" > -
{{- if .Raw -}}
+            
{{- if .Raw -}}
                         {{- .HTMLReadme -}}
                     
{{- else -}}