perennial
7ff221fdc7
fix broken CreatePaginator + add test case
2024-10-05 20:30:58 +10:00
perennial
9e8c115643
CreatePaginator: validation for users that don't have any artworks
2024-10-02 15:46:15 +10:00
perennial
389eefeb8a
Improve CreatePaginator with flexible margins and validation
...
This commit improves the CreatePaginator function by adding support for
customisable page margins and dropdown offsets. It also introduces
input validation and error handling to ensure proper usage.
2024-10-02 01:16:45 +10:00
perennial
4392b0442f
add pagination dropdown
2024-09-29 20:57:14 +10:00
perennial
287055ccc6
document templateFunctions
2024-09-29 19:15:49 +10:00
perennial
12603caa90
Run gofmt
2024-09-29 19:08:16 +10:00
perennial
e3c4bfe7ae
Create pagination.jet.html
2024-09-29 19:06:20 +10:00
iacore
4a0bcf2f58
Translate short strings
2024-10-07 05:05:47 +00:00
iacore
546f83df20
make regex constructions global
2024-10-05 14:58:32 +00:00
VnPower
c78b207231
Fix: don't use urlx for pagination
...
goware/urlx fails if the supplied URL doesn't contain a host?
(The URL passed to the CreatePaginator() template function was actually a path,
which did not contain a host or a scheme.)
2024-10-02 19:54:44 +07:00
iacore
5f8b659b49
use urlx.Parse
2024-09-28 23:12:00 +00:00
jackyzy823
517fef6e78
Support special marks for novel
...
1. `rb` mark for furigana
2. `jumpuri` mark to open link externally
3. `chapter` mark
4. `jump` to jump to page num anchor
5. Refactor `newpage` mark
2024-09-22 18:28:48 +08:00
iacore
51dad4eb74
move most go files to server/
2024-09-05 16:08:08 +00:00