Skip to content

Commit

Permalink
feat: Allow extending header (#142)
Browse files Browse the repository at this point in the history
This adds a `custom/header.html` partial which is empty by default but can be overridden to add custom elements to the header.
  • Loading branch information
palant authored May 14, 2020
1 parent 91e84a1 commit 5353fec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Empty file.
1 change: 1 addition & 0 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<div class="header-inner">
{{ template "site-brand" . }}
{{ partial "menu.html" . }}
{{ partial "custom/header.html" . }}
</div>
</div>
{{ partial "components/nav-toggle.html" . }}
Expand Down

0 comments on commit 5353fec

Please sign in to comment.