Merge branch 'improve-layout' into 'master'

Improve layout

See merge request zombi/website!2
This commit is contained in:
madmaurice 2018-01-01 01:25:21 +01:00
commit afc1a6ea80
3 changed files with 23 additions and 11 deletions

View file

@ -5,7 +5,17 @@
<div class="whitebox footer"> <div class="whitebox footer">
<a href="#">Zom.bi</a> <a href="#">Zom.bi</a>
/ /
Design by <a href="#">bsod</a>, <a href="#">Ranomier</a> and <a href="#">madmaurice</a> Design by <a href="#">bsod</a>,
<a href="#">Ranomier</a> and
<a href="#">madmaurice</a>
/
<a rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/3.0/de/">
Content and Design licensed under
<img alt="Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Germany License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-nc-sa/3.0/de/80x15.png" />
</a>
</div> </div>
</div> </div>
</div> </div>

View file

@ -9,13 +9,13 @@
<title>{{ page.title }} - Zom.bi</title> <title>{{ page.title }} - Zom.bi</title>
<link rel="stylesheet" href="{{ "/assets/css/foundation.css" | relative_url }}"> <link rel="stylesheet" href="{{ "assets/css/foundation.css" | relative_url }}">
<link rel="stylesheet" href="{{ "/assets/css/index.css" | relative_url }}"> <link rel="stylesheet" href="{{ "assets/css/index.css" | relative_url }}">
</head> </head>
<body> <body>
<header class="header"> <header class="header">
<a class="#header"><img src="{{ "/assets/images/logo-green.png" | relative_url }}" alt="Zom.bi"></a> <a class="#header"><img src="{{ "assets/images/logo-green.png" | relative_url }}" alt="Zom.bi"></a>
<h2 class="tagline show-for-medium">The friendly neighborhood tech community</h2> <h2 class="tagline show-for-medium">The friendly neighborhood tech community</h2>
<ul class="header-subnav show-for-medium"> <ul class="header-subnav show-for-medium">
{% include menu.html %} {% include menu.html %}

View file

@ -1,9 +1,11 @@
{% for node in site.pages %} {%- for node in site.pages -%}
{% if node.url == page.url %} {%- if node.menutitle -%}
<li><a href="{{ node.url }}" class="is-active">{{ node.menutitle }}</a></li> {%- if node.url == page.url -%}
{% else %} <li><a href="{{ node.url }}" class="is-active">{{ node.menutitle | escape }}</a></li>
<li><a href="{{ node.url }}">{{ node.menutitle }}</a></li> {%- else -%}
{% endif %} <li><a href="{{ node.url }}">{{ node.menutitle | escape }}</a></li>
{% endfor %} {%- endif -%}
{%- endif -%}
{%- endfor -%}
<li><a href="https://git.zom.bi/explore/projects">Git</a></li> <li><a href="https://git.zom.bi/explore/projects">Git</a></li>
<li><a href="https://wiki.zom.bi/">Wiki</a></li> <li><a href="https://wiki.zom.bi/">Wiki</a></li>