File tree 2 files changed +11
-1
lines changed 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 45
45
},
46
46
{
47
47
"label" : " Donate" ,
48
- "url" : " /donate/"
48
+ "url" : " /donate/" ,
49
+ "type" : " button"
49
50
}
50
51
],
51
52
"social" : [
Original file line number Diff line number Diff line change 17
17
<ul class =" navbar-nav me-auto mb-2 mb-lg-0" >
18
18
{% for navlink in site .navigation %}
19
19
<li class =" nav-item" >
20
+ {% if navlink .type != " button" %}
20
21
<a class =" hide-external-icon nav-link {{ 'active' if page.url === navlink.url }}" href =" {{ navlink.url }}" >
21
22
{{ navlink .label }}
22
23
</a >
24
+ {% endif %}
23
25
</li >
24
26
{% endfor %}
25
27
</ul >
28
+ {% for navlink in site .navigation %}
29
+ {% if navlink .type == " button" %}
30
+ <a class =" btn mg-patreon-button px-4" type =" button" href =" {{ navlink.url }}" >
31
+ <i class =" bi bi-heart" ></i > {{ navlink .label }}
32
+ </a >
33
+ {% endif %}
34
+ {% endfor %}
26
35
{% include ' partials/_themeToggle.njk' %}
27
36
</div >
28
37
</div >
You can’t perform that action at this time.
0 commit comments