From 11652301bd09b405f33642961ef2edd1b1e4f445 Mon Sep 17 00:00:00 2001 From: Daniele Tonon Date: Thu, 27 Jul 2023 23:54:13 +0200 Subject: [PATCH] Increase last notes and move up details for more visibility --- render.go | 2 +- templates/profile.html | 25 ++++++++++++------------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/render.go b/render.go index 414ed3c..6764879 100644 --- a/render.go +++ b/render.go @@ -87,7 +87,7 @@ func render(w http.ResponseWriter, r *http.Request) { if event.Kind == 0 { key := "" - events_num := 10 + events_num := 100 if typ == "profile_sitemap" { key = "lns:" + event.PubKey events_num = 50000 diff --git a/templates/profile.html b/templates/profile.html index a1dc630..defa445 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -95,6 +95,18 @@ again. {{end}} +
+ + + +
+ + {{template "details.html" .}} +
Last update:
{{.createdAt | escapeString}} @@ -115,21 +127,8 @@ {{end}} -
{{end}} -
- - - -
- - {{template "details.html" .}} -