treehouse/template/components/_nav.hbs

20 lines
495 B
Handlebars
Raw Normal View History

<nav id="nav-logo">
2024-02-21 23:17:19 +01:00
<a href="{{ config.site }}/" title="Back to homepage">
{{{ include_static 'svg/object/logo.svg' }}}
2024-02-21 23:17:19 +01:00
</a>
</nav>
2024-02-21 23:17:19 +01:00
{{!--
2024-02-21 23:17:19 +01:00
I don't have any idea where to put this right now.
There's no obvious place, and even when it is there, I hate the hideous red badge on new entries.
No time to figure it out. Will do later.
2024-02-21 23:17:19 +01:00
{{#if (eq page.tree_path 'index')}}
<nav id="nav-links">
<a href="{{ config.site }}/treehouse/new" data-cast="new">new</a>
2024-02-21 23:17:19 +01:00
</nav>
{{/if}}
--}}