docs: donate button

This commit is contained in:
jean-emmanuel 2019-04-03 16:40:34 +02:00
parent 243e158e12
commit eed8ce9a30
3 changed files with 17 additions and 4 deletions

View file

@ -22,8 +22,13 @@ extra:
url: https://github.com/jean-emmanuel/open-stage-control/releases
primary: true
-
title: Demo (requires chromium 50+)
title: Try online (requires chromium 50+)
url : http://openstagecontrol.herokuapp.com
-
title: Donate
url: https://www.helloasso.com/associations/ammd/formulaires/2/widget/en
newtab: true
primary: true
nav:
- Open Stage Control: index.md

View file

@ -31,6 +31,14 @@ pre, code {
text-align: center;
position: relative;
padding: 10em 0 8em;
ul {
list-style: none;
margin: 0;
li {
display:inline-block;
margin: 0 2px;
}
}
}
#jumbotron-showcase {
margin: -4em auto 1em;

View file

@ -47,11 +47,11 @@
<h1 class="text-dark">{{ config.site_name }}</h1>
<h2 class="text-dark">{{ config.site_description }}</h2>
<br/>
<div class="">
<ul class="">
{% for link in config.extra.links %}
<a class="btn {% if link.primary %}btn-primary{% endif %}" href="{{link.url}}">{{link.title}}</a>
<li><a class="btn {% if link.primary %}btn-primary{% endif %}" href="{{link.url}}" {% if link.newtab %}target="_blank"{% endif %}>{{link.title}}</a></li>
{% endfor %}
</div>
</ul>
</div>
</div>
{% endif %}