Commit Graph

290 Commits

Author SHA1 Message Date
fiatjaf
2b9c45d854 tailwind .label 2023-10-24 20:06:24 -03:00
fiatjaf
81390b159c tailwind .nostr 2023-10-24 20:01:17 -03:00
fiatjaf
5613f6ffa9 tailwind .advanced-switch-wrapper 2023-10-24 19:58:28 -03:00
fiatjaf
6ade15b7e8 tailwind .field and related things. 2023-10-24 17:27:20 -03:00
fiatjaf
20a2d225b9 tailwind .last_notes and sub-styles. 2023-10-24 12:42:31 -03:00
fiatjaf
a9f89cf6fc add nostrudel. 2023-10-24 10:13:48 -03:00
fiatjaf
ec9063564d tailwind field separator. 2023-10-23 23:45:54 -03:00
fiatjaf
48137b0b1f tailwind stuff in the headers of each page template. 2023-10-23 23:32:18 -03:00
fiatjaf
78e5ec739c fix details template included from profile. 2023-10-23 17:33:25 -03:00
fiatjaf
c50d273a92 slightly adjust main container size. 2023-10-22 23:39:10 -03:00
fiatjaf
937009003c tailwind .pic 2023-10-22 23:36:55 -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
e7af45bf23 begin the work of turning everything into tailwind. 2023-10-22 23:02:44 -03:00
fiatjaf
68ef73abe8 better hyperscript on profile name scrolling. 2023-10-22 18:02:39 -03:00
fiatjaf
16b661a35d replace theme changing scripts with hyperscript. 2023-10-22 18:02:24 -03:00
fiatjaf
93d0ba1e24 fix favicon redirect path. 2023-10-22 18:02:08 -03:00
fiatjaf
ef35358319 get rid of fallback for cache. 2023-10-22 09:31:29 -03:00
fiatjaf
e4f0e40123 redirect from favicon.ico to /static/... 2023-10-22 09:28:33 -03:00
fiatjaf
62ec86cf07 get rid of the webmanifest. 2023-10-22 09:27:01 -03:00
fiatjaf
55c5ac3d0a fully eliminate scripts.js 2023-10-22 08:47:10 -03:00
fiatjaf
3d482926b5 one more script replaced with hyperscript. 2023-10-21 21:52:05 -03:00
fiatjaf
75b7a96675 replacing scripts with hyperscript. 2023-10-21 21:40:39 -03:00
fiatjaf
db111e6398 picking random content happens on the server, homepage loads with zero overhead. 2023-10-21 18:39:56 -03:00
fiatjaf
617cd5882a reorder some calls on renderEvent. 2023-10-21 14:38:52 -03:00
fiatjaf
9d86539349 cleanup template remainings. 2023-10-21 14:37:49 -03:00
fiatjaf
2fe1057ef6 profile sitemap. 2023-10-21 14:20:58 -03:00
fiatjaf
d459769915 rename render -> render_event.go 2023-10-21 14:10:31 -03:00
fiatjaf
ebeb9820d8 move redirectors, renderRelay and renderProfile out of render. 2023-10-21 14:10:08 -03:00
fiatjaf
f70b13afe7 relay and archive sitemaps xml (with a nice hack because htmlgo is not xml-friendly.) 2023-10-21 13:34:32 -03:00
fiatjaf
65025d4967 tmpl relay.html and replace LastNoteItem struct with a simpler EnhancedEvent with methods instead of hardcoded values. 2023-10-21 12:19:30 -03:00
fiatjaf
901b2b5d62 tmpl migration: profile.html 2023-10-21 11:47:28 -03:00
fiatjaf
8cd313572f adjust templateMapping. 2023-10-21 08:25:58 -03:00
fiatjaf
b6225e027d tmpl migration: homepage.html 2023-10-21 08:25:04 -03:00
fiatjaf
a04f82764a rename variable CanonicalHost to Domain. 2023-10-21 07:47:37 -03:00
fiatjaf
6aa1440b05 tmpl migration: note.html 2023-10-21 07:45:44 -03:00
fiatjaf
493ee21465 DISK_CACHE_PATH as an environment variable. 2023-10-21 07:45:03 -03:00
fiatjaf
bc947e29d8 mass tmpl migration: partials, other.html and archive.html. 2023-10-21 00:47:19 -03:00
fiatjaf
4b1dddebae make robots.txt rendering a simple string thing. 2023-10-19 21:11:26 -03:00
fiatjaf
7293103fc7 first step in the migration to templ. 2023-10-19 21:11:26 -03:00
fiatjaf
8c7333e49f add arabic, hebrew, chinese and others stuff. 2023-10-19 21:10:58 -03:00
fiatjaf
3e762a8eea use NotoSans for all text except when hiragana or katakana is detected, then use NotoSansJP -- and break japanese characters even without whitespace. 2023-10-19 15:01:14 -03:00
0xtr
9882be5cb6 Add Dockerfile (#8)
Co-authored-by: fiatjaf_ <fiatjaf@gmail.com>
2023-10-19 08:43:16 -03:00
fiatjaf
9037b60663 rename CANONICAL_HOST variable to DOMAIN (with backwards-compatible fallback). 2023-10-19 08:35:38 -03:00
Daniele Tonon
3771ac2ef6 Update README 2023-10-17 20:51:43 +02:00
Daniele Tonon
ab6b7628e6 Update homepage with Twitter and Telegram share 2023-10-17 20:51:32 +02:00
Daniele Tonon
c70baa7918 Add html to prettier and prettify the templates 2023-10-17 19:05:11 +02:00
fiatjaf
95d348ef07 revert "strip image and video urls from text if they are at the end of content."
this reverts commit 93c40648c0.

we need saner code before we can do these kinds of tweaks, I don't know if this would break something.
2023-10-17 07:10:57 -03:00
fiatjaf
93c40648c0 strip image and video urls from text if they are at the end of content. 2023-10-16 07:54:23 -03:00
Daniele Tonon
908aa165c2 Add favicon(s) 2023-10-14 09:46:17 +02:00
fiatjaf
6f9d9f2267 trim spaces from titleized descriptions. 2023-10-13 21:56:27 -03:00