Commit 3a2ee2e5 authored by Gabriel Engel's avatar Gabriel Engel

fix logo sizes

parent 365e8fbf
<a class="card--blog card--blog__image{% if include.post.dateEvent %} event{% endif %}"
href='{% if include.post.extUrl %} {{include.post.extUrl}} {% else %} {{ include.post.url | remove: "index.html" }} {% endif %}'
>
<div
class="card--blog__cover"
style="{% if include.post.bgColor %}background-color: #{{include.post.bgColor}}{% endif %}
{% unless include.post.bgSize == 'logo' %}
{% if include.post.bgImage %}background-image: url('{{ include.post.bgImage }}'); background-size: {{ include.post.bgSize }};
{% else %}background-image: url('/images/blog/post.jpg');{% endif %}{% endunless %}">
<a class="card--blog card--blog__image{% if include.post.dateEvent %} event{% endif %}" href='{% if include.post.extUrl %} {{include.post.extUrl}} {% else %} {{ include.post.url | remove: "index.html" }} {% endif %}' >
<div class="card--blog__cover" style="{% if include.post.bgColor %}background-color: #{{include.post.bgColor}};{% endif %}{% unless include.post.bgSize == 'logo' %}{% if include.post.bgImage %}background-image: url('{{ include.post.bgImage }}'); background-size: {{ include.post.bgSize }};{% else %}background-image: url('/images/blog/post.jpg');{% endif %}{% endunless %}">
{% if include.post.bgImage and include.post.bgSize == 'logo'%}
<img class="card--blog__img-cover" src="{{include.post.bgImage}}" alt="go to post">
{% endif %}
......
......@@ -7,7 +7,7 @@ author: Open Source Underdogs
extUrl: https://opensourceunderdogs.com/episode-9-rocket-chat-open-source-enterprise-team-chat-with-gabriel-engel/
bgImage: /images/posts/2018/11/2018-11-05-gabriel-engel-guest-OS-underdogs-podcast/rocket-chat-gabe-engel-OSU-podcast.jpg
bgSize: contain
bgColor: "ffffff"
bgColor: "111D4E"
categories:
- Press
---
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment