adding document mode

I've been thinking a lot about the treehouse and I feel like it's time to say goodbye to the tree format.
This commit is contained in:
りき萌 2025-07-10 16:50:41 +02:00
parent 550c062327
commit 36705e7c1e
31 changed files with 940 additions and 409 deletions

View file

@ -4,31 +4,30 @@
<head>
{{> components/_head.hbs }}
<link rel="stylesheet" href="{{ asset 'css/tree.css' }}">
{{#each page.styles}}
<link rel="stylesheet" href="{{ asset (cat 'css/' this) }}">
{{/each}}
<script type="module">
{{!-- Go through the import map for each script. --}}
{{#each page.scripts}}
import "{{ this }}";
{{/each}}
</script>
</head>
<body>
<!-- Empty span to push noscript over to the next grid cell.
Browsers turn <noscript> tags into <span style="display: inline !important;"> with no
additional classes, and we can't easily select that in CSS. -->
<span></span>
{{> components/_noscript.hbs }}
{{> components/_sidebar.hbs }}
{{> components/_nav.hbs }}
{{> components/_header.hbs }}
{{!--
NOTE: ~ because components/_tree.hbs must not include any extra indentation, because it may
contain pre elements which shouldn't be indented.
--}}
{{~> components/_tree.hbs }}
{{!-- For all pages except the one linked from the footer, include the footer icon. --}}
{{#if (ne page.tree_path "treehouse")}}
{{> components/_footer.hbs }}
{{/if}}
<th-overlays></th-overlays>
<th-command-line></th-command-line>
</body>
</html>
{{~> components/_jar.hbs }}