mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
add sponsor display in website footer
This commit is contained in:
3
docs/_data/sponsors.yml
Normal file
3
docs/_data/sponsors.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
- name: Forestry.io
|
||||
image: http://via.placeholder.com/200x100
|
||||
url: https://forestry.io
|
||||
@@ -11,5 +11,15 @@
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="unit two-thirds align-right center-on-mobiles">
|
||||
<p>
|
||||
Sponsored by
|
||||
{% for sponsor in site.data.sponsors %}
|
||||
<a href="{{ sponsor.url }}">
|
||||
<img src="{{ sponsor.image }}" width="100" height="30" alt="{{ sponsor.name }}">
|
||||
</a>
|
||||
{% endfor %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
@@ -224,8 +224,7 @@ footer {
|
||||
|
||||
img {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
top: 8px;
|
||||
vertical-align: middle;
|
||||
margin-left: 5px;
|
||||
opacity: .8;
|
||||
padding: 1px;
|
||||
|
||||
Reference in New Issue
Block a user