Commit Graph

18 Commits

Author SHA1 Message Date
dc43fccc04 Style preference tab for user (#467) 2025-05-05 01:31:42 +02:00
7907c7bc1e Fix gist.html using relative URL (#451)
Due to the fact the file templates/base/base_header.html contains a
<base> element, all relative URLs are interpreted as dependant on the
base.[1]

I've noticed the base isn't the current page, but the element linking to
anchor identifier isn't using the complete URL to the gist page, which
means that if you go to a gist, and try to click on the link that leads
you to the file (which would make browsers automatically go down if it's
a file that has a lot of lines), you get taken to the homepage, and
unless you look at the URL closely you wouldn't notice the
fragment/anchor part.

I'm sure there's a better way of dealing with this, such as removing
<base> from the template mentioned above, but due to the fact I'd like
to have this work, I've made it put the full URL to this page.

Something that might be good to do is making the relative URLs always be
absolute, by having the '{{ $.c.ExternalUrl }}' thing everywhere where a
relative URL would be, as that'd probably fix #415, and would allow for
this commit to be reverted if that's desired.

[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
2025-03-31 23:07:01 +02:00
6a8e827d61 Fix nits typos and translation (#388) 2024-11-23 17:41:15 +01:00
df226cbd99 Add SVG parser (#346) 2024-10-14 21:20:56 +02:00
3828022a1c Add custom urls for gists (#183) 2024-01-04 18:06:19 +01:00
85e2da054b Add clickable Markdown checkboxes (#182) 2024-01-04 18:06:19 +01:00
0753c5cb54 Add embedded gists & JSON gist data/metadata (#179) 2024-01-04 18:06:19 +01:00
845e28dd59 Move code rendering to the backend & frontend improvements (#176)
Added Chroma & Goldmark

Added Mermaidjs

More languages supported

Add default values for gist links input

Added copy code from markdown blocks
2024-01-04 18:06:19 +01:00
d137820037 Add missing $ in templates (#122) 2023-09-29 06:32:09 +02:00
a5ea522e45 Add translation system (#104) 2023-09-22 17:26:09 +02:00
b5cd49db4c Download file, button groups, fix unknown file reading (#84) 2023-07-26 15:43:07 +02:00
038d81df2d Add external url to HTML links & redirects (#75) 2023-07-03 16:31:12 +02:00
cecc06b332 Light mode (#38) 2023-05-27 13:58:08 +02:00
858ee3e70a Parse CSV files into HTML tables 2023-03-19 03:18:56 +01:00
527be16183 Better log parsing 2023-03-18 23:18:20 +01:00
22668be923 Added gist methods related to git + Truncate command output 2023-03-18 16:18:24 +01:00
42176c42c5 Added links color 2023-03-15 13:31:02 +01:00
bee5d045c3 Initial commit 2023-03-14 16:22:52 +01:00