theme: support defining target=_blank in theme_config
add "target": "_blank" to the JSON
This commit is contained in:
parent
f45bd92258
commit
9077e10876
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
<section class="links with-divider with-divider-right with-divider-center-mobile">
|
||||
<ul>
|
||||
{{ #each blog.theme_config.nav_links }}
|
||||
<li><a href="{{ this.url }}">{{ this.name }}</a></li>
|
||||
<li><a {{ #if this.target }}target="{{ this.target }}"{{ /if }} href="{{ this.url }}">{{ this.name }}</a></li>
|
||||
{{ /each }}
|
||||
</ul>
|
||||
</section>
|
||||
|
|
Loading…
Reference in a new issue