Commit Graph

24 Commits

Author SHA1 Message Date
fiatjaf
f349bd2d1d fix opengraph description missing due to wrongly assigned variable. 2023-11-06 10:14:22 -03:00
Daniele Tonon
4d72de0757 Increase the maximum length of titleizedContent and shorten it without splitting words 2023-11-05 19:30:06 +01:00
Daniele Tonon
af18eb1cf8 Remove image/video urls from titleizedContent 2023-11-05 19:27:52 +01:00
Daniele Tonon
d4740396cc Remove apex from the titleizedContent 2023-11-05 19:00:49 +01:00
Daniele Tonon
2bb637cbfd Revert "Optimize <title> for indexing"
This reverts commit f94ea2f7c2.
2023-11-05 19:00:49 +01:00
fiatjaf
59eae28ed3 NIP-31: display "alt" tag in Other template if available. 2023-11-05 08:56:17 -03:00
fiatjaf
2cacdc84e7 always open details for unknown (Other) events. 2023-11-05 07:58:28 -03:00
fiatjaf
aa50fb47b3 fix titleizedContent. 2023-11-04 18:57:05 -03:00
Daniele Tonon
f94ea2f7c2 Optimize <title> for indexing 2023-11-04 17:46:39 +01:00
fiatjaf
f9b4f03999 expose Kind1063Metadata fields and use that struct directly in templates. 2023-10-31 10:57:34 -03:00
fiatjaf
1301f38443 move opengraph head metadata stuff into its own template partial. 2023-10-30 22:51:13 -03:00
fiatjaf
2fecd4e5f2 turn kind1063Metadata into a struct. 2023-10-30 22:28:33 -03:00
fiatjaf
68e3722bbd turn user-agent style possibilities into constants. 2023-10-30 19:35:59 -03:00
Daniele Tonon
ad91d3b96b Add basic support for NIP-94 - File Metadata 2023-10-30 23:29:23 +01:00
Daniele Tonon
7aa229cebf Fix NIP-05 profiles rendering 2023-10-28 18:41:09 +02:00
fiatjaf
1c36a379fd use naked (no relay hints) nip19 codes for canonical URLs and move them to head_common. 2023-10-28 13:17:53 -03:00
fiatjaf
b6a3e8aaef use naked host when x-forwarded-host isn't present. 2023-10-27 11:19:33 -03:00
fiatjaf
f9e099c840 tailwind debug mode and build mode for prod and other adjustments. 2023-10-26 16:02:18 -03:00
fiatjaf
e7d1b37ca7 display nprofile in profile pages and hidden in event details. 2023-10-26 08:25:53 -03:00
fiatjaf
660952a338 syntax-highlight event JSON on the server. 2023-10-24 21:09:01 -03:00
fiatjaf
48137b0b1f tailwind stuff in the headers of each page template. 2023-10-23 23:32:18 -03:00
fiatjaf
c96cc28c33 fix ParentLink that was showing up all the time when it shouldn't. 2023-10-22 23:36:18 -03:00
fiatjaf
617cd5882a reorder some calls on renderEvent. 2023-10-21 14:38:52 -03:00
fiatjaf
d459769915 rename render -> render_event.go 2023-10-21 14:10:31 -03:00