change theme to buck
This commit is contained in:
parent
014b4f6dc7
commit
88da620079
99 changed files with 2197 additions and 38 deletions
16
themes/buck/layout/includes/shared.njk
Normal file
16
themes/buck/layout/includes/shared.njk
Normal file
|
@ -0,0 +1,16 @@
|
|||
{% set theme = site.data.theme %}
|
||||
|
||||
{% macro sitenav(title = config.title) %}
|
||||
<div class="nav-wrapper">
|
||||
<nav class="site">
|
||||
<div>
|
||||
<h6>{{ title }}</h6>
|
||||
</div>
|
||||
<div>
|
||||
{% for name, link in theme.site_nav_links %}
|
||||
<a href="{{ link }}">{{ name }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
{% endmacro %}
|
Loading…
Add table
Add a link
Reference in a new issue