treehouse/template/components/_tree.hbs

18 lines
588 B
Handlebars
Raw Normal View History

2024-02-21 23:17:19 +01:00
<main class="tree">
{{!-- Append page styles and scripts into the main content, such that they can be inlined
into linked branches when those are loaded in. Putting them in the page's head would make
extracting them way more painful than it needs to be. --}}
{{#each page.styles}}
<link rel="stylesheet" href="{{ ../config.site }}/static/css/{{ this }}">
{{/each}}
{{#each page.scripts}}
<script type="module" src="{{ ../config.site }}/static/js/{{ this }}"></script>
{{/each}}
{{{ page.tree }}}
</main>
<th-emoji-tooltips></th-emoji-tooltips>