mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
Blog section
The blog is driven by the _posts directory nested in each language.
This commit is contained in:
parent
8374114bc0
commit
01c297d5e7
18 changed files with 166 additions and 11 deletions
|
@ -12,8 +12,17 @@
|
|||
|
||||
{% capture basenav %}{{ base }}{% if site.lang != "en" %}/{{ site.lang }}{% endif %}{% endcapture %}
|
||||
|
||||
<!--
|
||||
To change the logo color, pass the parameter in the include.
|
||||
include nav-desktop.html logo-color="blue"
|
||||
-->
|
||||
{% assign logo-color = 'white' %}
|
||||
{% if include.logo-color %}
|
||||
{% assign logo-color = include.logo-color %}
|
||||
{% endif %}
|
||||
|
||||
<div id="top" class="content">
|
||||
<a href="#"><img src="{{ base }}/assets/img/logo-white.png" alt="Dash" class="logo"></a>
|
||||
<a href="#"><img src="{{ base }}/assets/img/logo-{{ logo-color }}.png" alt="Dash" class="logo"></a>
|
||||
|
||||
<nav class="desktop">
|
||||
<ul class="menu">
|
||||
|
@ -21,8 +30,8 @@
|
|||
<li><a href="{{ basenav }}/get-dash/">{% t nav.get-dash %}</a></li>
|
||||
<li><a href="{{ basenav }}/participate/">{% t nav.participate %}</a></li>
|
||||
<li><a href="{{ basenav }}/currency/">{% t nav.currency %}</a></li>
|
||||
<li><a href="{{ basenav }}/community">{% t nav.community %}</a></li>
|
||||
<li><a href="{{ basenav }}">{% t nav.blog %}</a></li>
|
||||
<li><a href="{{ basenav }}/community/">{% t nav.community %}</a></li>
|
||||
<li><a href="{{ basenav }}/blog/">{% t nav.blog %}</a></li>
|
||||
<li><a href="{{ basenav }}">{% t nav.project %}</a></li>
|
||||
|
||||
<li><a href="{{ base }}{{ page.url }}">{% t global.english %}</a></li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue