2016-09-11 11:00:49 +00:00
|
|
|
<nav class="nav">
|
|
|
|
<div class="nav-left">
|
2016-12-23 13:20:13 +00:00
|
|
|
<a class="nav-item is-brand" href="{{ site.url }}">
|
|
|
|
<img src="{{ site.url }}/images/bulma-logo.png" alt="{{ site.title }}">
|
2016-09-11 11:00:49 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="nav-center">
|
|
|
|
<a class="nav-item" href="{{ site.github }}">
|
|
|
|
<span class="icon">
|
|
|
|
<i class="fa fa-github"></i>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
<a class="nav-item" href="https://twitter.com/jgthms">
|
|
|
|
<span class="icon">
|
|
|
|
<i class="fa 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 }}/">
|
2016-09-11 11:00:49 +00:00
|
|
|
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/">
|
2016-09-11 11:00:49 +00:00
|
|
|
<span>Templates</span>
|
|
|
|
<span class="tag is-small is-success">New!</span>
|
|
|
|
</a>
|
|
|
|
<a class="nav-item {% if page.route == 'documentation' %}is-active{% endif %} {% if page.layout == 'documentation' %}is-active{% endif %}" href="{{ site.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/">
|
2016-09-11 11:00:49 +00:00
|
|
|
Blog
|
|
|
|
</a>
|
|
|
|
|
2016-12-23 13:20:13 +00:00
|
|
|
{% if page.route != 'nothing' %}
|
2016-09-11 11:00:49 +00:00
|
|
|
<span class="nav-item">
|
|
|
|
<a id="twitter"
|
|
|
|
class="button"
|
|
|
|
data-social-network="Twitter"
|
|
|
|
data-social-action="tweet"
|
|
|
|
data-social-target="{{ site.url }}"
|
|
|
|
target="_blank"
|
|
|
|
href="https://twitter.com/intent/tweet?text={{ site.title | urlencode }}&url={{ site.url }}&via=jgthms">
|
|
|
|
<span class="icon">
|
|
|
|
<i class="fa fa-twitter"></i>
|
|
|
|
</span>
|
|
|
|
<span>Tweet</span>
|
|
|
|
</a>
|
|
|
|
<a class="button is-primary" href="{{ site.download }}">
|
|
|
|
<span class="icon">
|
|
|
|
<i class="fa fa-download"></i>
|
|
|
|
</span>
|
|
|
|
<span>Download</span>
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
{% else %}
|
|
|
|
<span class="nav-item">
|
2016-10-30 20:24:23 +00:00
|
|
|
<a class="button is-primary is-inverted is-outlined"
|
2016-09-11 11:00:49 +00:00
|
|
|
data-social-network="Twitter"
|
|
|
|
data-social-action="tweet"
|
|
|
|
data-social-target="http://bulma.io/"
|
|
|
|
href="https://twitter.com/intent/tweet?text={{ 'Bulma: a modern CSS framework based on Flebox' | urlencode }}&url=http://bulma.io/&via=jgthms">
|
|
|
|
<span class="icon">
|
|
|
|
<i class="fa fa-twitter"></i>
|
|
|
|
</span>
|
|
|
|
<span>Tweet</span>
|
|
|
|
</a>
|
|
|
|
<a class="button is-primary is-inverted" href="{{ site.download }}">
|
|
|
|
<span class="icon">
|
|
|
|
<i class="fa fa-download"></i>
|
|
|
|
</span>
|
|
|
|
<span>Download</span>
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</nav>
|