bulma/docs/_includes/header.html

70 lines
2.3 KiB
HTML
Raw Normal View History

<nav class="nav">
<div class="nav-left">
2016-12-23 13:20:13 +00:00
<a class="nav-item is-brand" href="{{ site.url }}">
2018-03-26 13:46:39 +00:00
<img src="{{ site.url }}/images/bulma-logo.png" alt="{{ site.data.meta.title }}" width="112" height="28">
</a>
</div>
<div class="nav-center">
2018-03-26 13:46:39 +00:00
<a class="nav-item" href="{{ site.data.meta.github }}">
<span class="icon">
2018-01-10 16:30:23 +00:00
<i class="fab fa-github"></i>
</span>
</a>
2018-03-26 13:46:39 +00:00
<a class="nav-item" href="{{ site.data.meta.twitter }}">
<span class="icon">
2018-01-10 16:30:23 +00:00
<i class="fab fa-twitter"></i>
</span>
</a>
</div>
<span id="nav-toggle" class="nav-toggle">
<span></span>
<span></span>
<span></span>
</span>
<div id="nav-menu" class="nav-right nav-menu">
2016-10-16 18:15:56 +00:00
<a class="nav-item {% if page.route == 'index' %}is-active{% endif %}" href="{{ site.url }}/">
Home
</a>
2016-10-16 18:15:56 +00:00
<a class="is-hidden nav-item {% if page.route == 'templates' %}is-active{% endif %} {% if page.layout == 'templates' %}is-active{% endif %}" href="{{ site.url }}/templates/">
<span>Templates</span>
<span class="tag is-small is-success">New!</span>
</a>
2018-03-26 13:46:39 +00:00
<a class="nav-item {% if page.route == 'documentation' %}is-active{% endif %} {% if page.layout == 'documentation' %}is-active{% endif %}" href="{{ site.data.meta.documentation }}">
Documentation
</a>
2016-10-16 18:15:56 +00:00
<a class="nav-item {% if page.route == 'blog' %}is-active{% endif %}" href="{{ site.url }}/blog/">
Blog
</a>
2017-04-02 15:41:05 +00:00
<div class="nav-item">
<div class="field is-grouped">
<p class="control">
<a id="twitter"
class="button"
data-social-network="Twitter"
data-social-action="tweet"
data-social-target="{{ site.url }}"
target="_blank"
2018-03-26 13:46:39 +00:00
href="https://twitter.com/intent/tweet?text={{ site.data.meta.title | urlencode }}&url={{ site.url }}&via=jgthms">
2017-04-02 15:41:05 +00:00
<span class="icon">
2018-01-10 16:30:23 +00:00
<i class="fab fa-twitter"></i>
2017-04-02 15:41:05 +00:00
</span>
<span>Tweet</span>
</a>
</p>
<p class="control">
2018-03-26 13:46:39 +00:00
<a class="button is-primary" href="{{ site.data.meta.download }}">
2017-04-02 15:41:05 +00:00
<span class="icon">
2018-01-10 16:30:23 +00:00
<i class="fas fa-download"></i>
2017-04-02 15:41:05 +00:00
</span>
<span>Download</span>
</a>
</p>
</div>
</div>
</div>
</nav>