matrix-spec/layouts
Kévin Commaille 63faf27099
Change the way "this version" is detected in added-in and changed-in shortcodes
Now that we use .RenderShortcodes in the rver-fragment shortcode,
we cannot remove the output of these shortcodes dynamically
because they are replaced by a temporary placeholder due to Hugo's internals.

Instead, since the `this` parameter was only used for room version,
we always use the `v` parameter and compare with the version
provided in the page's front matter.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2024-06-20 15:45:53 +02:00
..
_default Render a single page of the spec in Hugo 2021-01-12 15:31:01 -08:00
docs Comments for all the layout templates 2021-01-12 20:45:24 -08:00
partials Render added/changed in info on request and response content types (#1876) 2024-06-20 09:46:33 +01:00
shortcodes Change the way "this version" is detected in added-in and changed-in shortcodes 2024-06-20 15:45:53 +02:00
404.html Render a single page of the spec in Hugo 2021-01-12 15:31:01 -08:00