treehouse/template/_tree.hbs

34 lines
848 B
Handlebars
Raw Normal View History

2023-08-18 13:25:20 +02:00
<!DOCTYPE html>
2023-08-27 22:16:23 +02:00
<html lang="en-US" prefix="og: https://ogp.me/ns#">
2023-08-18 13:25:20 +02:00
<head>
2024-02-21 23:17:19 +01:00
{{> components/_head.hbs }}
2023-08-18 13:25:20 +02:00
</head>
<body>
2024-02-21 23:17:19 +01:00
{{#> components/_nav.hbs }}
2023-08-22 18:23:18 +02:00
2024-02-21 23:17:19 +01:00
{{!-- For /index, include a "new" link that goes to the curated news feed page. --}}
{{#if (eq page.tree_path "index")}}
2024-03-03 21:23:37 +01:00
<a href="{{ config.site }}/treehouse/new.html" data-cast="new">new</a>
2024-02-21 23:17:19 +01:00
{{/if}}
2024-02-08 22:41:01 +01:00
2024-02-21 23:17:19 +01:00
{{/ components/_nav.hbs }}
2024-02-08 22:41:01 +01:00
2024-02-21 23:17:19 +01:00
{{> components/_noscript.hbs }}
2024-02-08 22:41:01 +01:00
2024-02-21 23:17:19 +01:00
{{!--
NOTE: ~ because components/_tree.hbss must not include any extra indentation, because it may
contain pre elements which shouldn't be indented.
--}}
{{~> components/_tree.hbs }}
2024-02-08 22:41:01 +01:00
2024-02-21 23:17:19 +01:00
{{!-- For all pages except the one linked from the footer, include the footer icon. --}}
{{#if (ne page.tree_path "treehouse")}}
{{> components/_footer.hbs }}
2024-02-08 22:41:01 +01:00
{{/if}}
2023-08-18 13:25:20 +02:00
</body>
2024-02-08 22:41:01 +01:00
</html>