diff --git a/src/layouts/NewDocsLayout.astro b/src/layouts/NewDocsLayout.astro index 99099cb..741c40a 100644 --- a/src/layouts/NewDocsLayout.astro +++ b/src/layouts/NewDocsLayout.astro @@ -52,7 +52,9 @@ const posts_2 = posts // being `/spec/ast/tokens` would be `/ast/tokens` path: post.url.substring(base_len), })) - .sort((p1, p2) => (p1.frontmatter.order > p2.frontmatter.order ? 1 : -1)); + .sort((p1, p2) => + p1.frontmatter.order > p2.frontmatter.order ? 1 : -1, + ); // build a hierarchy of the files const second_level: Record> = { @@ -117,7 +119,7 @@ const rc = url_components[1] ?? ""; --- - +
-
@@ -186,7 +203,9 @@ const rc = url_components[1] ?? ""; class="lg:pt-12 hidden lg:block pt-4 max-h-screen overflow-x-scroll sticky top-0" >