Merge branch 'master' into 'feature-multilingual'

# Conflicts:
#   _includes/menu.html
This commit is contained in:
madmaurice 2018-01-01 01:29:35 +01:00
commit d942b1393b
4 changed files with 37 additions and 13 deletions

14
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,14 @@
stages:
- deploy
deploy-master:
stage: deploy
tags:
- website
only:
- master
script:
- jekyll build
- rsync --recursive _site/ /srv/deploy/

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,11 +1,11 @@
{% for node in site.pages %} {%- for node in site.pages -%}
{% if node.lang == page.lang %} {%- if node.lang == page.lang and node.menutitle -%}
{% if node.url == page.url %} {%- if node.url == page.url -%}
<li><a href="{{ node.url }}" class="is-active">{{ node.menutitle }}</a></li> <li><a href="{{ node.url }}" class="is-active">{{ node.menutitle | escape }}</a></li>
{% else %} {%- else -%}
<li><a href="{{ node.url }}">{{ node.menutitle }}</a></li> <li><a href="{{ node.url }}">{{ node.menutitle | escape }}</a></li>
{% endif %} {%- endif -%}
{% endif %} {%- endif -%}
{% endfor %} {%- 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>