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 |
|
fiatjaf
|
8f007bbe04
|
fix image and url matching by reusing the utils.go regexes.
|
2023-10-13 21:56:14 -03:00 |
|
fiatjaf
|
fe51c2c5ff
|
rename LICENCE=>LICENSE
|
2023-10-10 13:53:05 -03:00 |
|
fiatjaf
|
fe646af02c
|
encode displayed nevent with seen-on relays.
fixes https://github.com/fiatjaf/njump/issues/7
|
2023-10-10 13:52:16 -03:00 |
|
fiatjaf
|
c7b7351d5b
|
replace "wrote" with "on Nostr"
|
2023-10-10 11:35:28 -03:00 |
|
fiatjaf
|
ada25605f9
|
add nostter and nosotros, remove agora.
|
2023-10-10 11:30:18 -03:00 |
|
fiatjaf
|
121faa0798
|
trim twitter images so they fit better in the new twitter preview image boxes.
|
2023-10-10 09:36:08 -03:00 |
|
fiatjaf
|
75189d8bec
|
querystring helper for debugging image generation.
|
2023-10-10 09:35:47 -03:00 |
|
fiatjaf
|
e5d37ece3c
|
placeholder favicon handler.
|
2023-10-10 09:35:16 -03:00 |
|
fiatjaf
|
637cfa55e9
|
make "s" (Settings) a global template function so we don't have to pass it around everywhere.
|
2023-10-07 08:20:10 -03:00 |
|
fiatjaf
|
f169c01e67
|
fix .metadata.Website without a leading "https://"
|
2023-10-07 08:15:52 -03:00 |
|
fiatjaf
|
b6a95e46db
|
fix unwanted chaining of canceled contexts.
|
2023-10-03 15:40:26 -03:00 |
|
fiatjaf
|
f7f231dfc6
|
rearrange relays and add public relaying.io
|
2023-10-03 15:39:45 -03:00 |
|