Commit b8a17684 authored by Martin Schoeler's avatar Martin Schoeler Committed by Gabriel Engel

[NEW] Add webinar blog category (#618)

* add webnars blog category

* Fix Grammar error

* correction
parent dee784a8
......@@ -6,7 +6,7 @@ paginate_path: /blog/page/:num/
paginate: 8
# bump if alterting styles
version: 99
version: 100
# read speed
wpm: 160
......
......@@ -2,4 +2,5 @@
- "press"
- "events"
- "case studies"
- "product"
\ No newline at end of file
- "product"
- "webinars"
\ No newline at end of file
<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 %}' >
<a class="card--blog card--blog__image {% if include.post.inactive %}inactiveLink{% endif %} {% 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.cover %}background-image: url('{{ include.post.cover }}');{% if include.post.bgSize %}background-size: {{ include.post.bgSize }};{% endif %}{% else %}background-image: url('/images/blog/post.jpg');{% endif %}{% endunless %}">
{% if include.post.cover and include.post.bgSize == 'logo'%}
<img class="card--blog__img-cover" src="{{include.post.cover}}" alt="go to post">
......@@ -7,7 +7,7 @@
<div class="card--blog__wrap">
<!-- If post has a dateEvent attribute, it is a event post -->
{% if include.post.dateEvent %}
<p class="blog__event-dayweek label--small theme_type--grey type--nomargin">{{ include.post.dateEvent | date: "%a" }}</p>
<p class="blog__event-dayweek label--small theme_type--grey type--nomargin">{{ include.post.dateEvent | date: "%a" }}{% if include.post.language %}<img class="post-flag" src="/images/flags/{{post.language}}.png" alt="language"> {% endif %}</p>
<h4 class="display theme_type--dark">
{{ include.post.dateEvent | date: "%m.%d" }}
{% if include.post.dateEventEnd %}
......
......@@ -23,15 +23,15 @@ permalink: /categories/
<!-- Only events -->
{% if page.category == "Events" %}
{% if page.category == "Events" or page.category == "Webinars" %}
{% assign Upcoming = "" | split: "" %}
{% assign Past = "" | split: "" %}
{% for post in site.categories[page.category] %}
{% if post.dateEvent > site.time and post.location and post.dateEvent %}
{% if post.dateEvent > site.time and post.dateEvent %}
{% assign Upcoming = Upcoming | push: post %}
{% elsif post.dateEvent < site.time and post.location and post.dateEvent %}
{% elsif post.dateEvent < site.time and post.dateEvent %}
{% assign Past = Past | push: post %}
{% endif %}
{% endfor %}
......@@ -49,7 +49,7 @@ permalink: /categories/
<div class="space--4"></div>
<h3 class="display--small theme_type--dark blog__section"><strong>Past</strong></h3>
<div class="blog__category">
<div class="{% if noHighlight == true %}blog__category--no-highlight{% elsif Upcoming.size > 3 %}blog__category{% else %}blog__category--no-highlight{% endif %}">
{% for post in Past %}
{% include blog/article-link.html post=post %}
{% endfor %}
......
---
title: Integração Rocket.chat e Ligero
dateEvent: 2018-05-22 10:00:00
extUrl: https://youtu.be/_LDVryNlWuw
bgSize: cover
bgColor: 030c1a
author: Diego Dorgam
language: Brazil
cover: https://img.youtube.com/vi/_LDVryNlWuw/0.jpg
categories:
- Webinars
---
\ No newline at end of file
---
title: Introdução ao Livechat
dateEvent: 2018-07-21 10:00:00
extUrl: https://youtu.be/PxtQp8N3Pww
bgSize: cover
bgColor: 030c1a
author: Diego Dorgam
language: Brazil
cover: https://img.youtube.com/vi/PxtQp8N3Pww/0.jpg
categories:
- Webinars
---
\ No newline at end of file
---
title: Tips and tricks to get you started with Rocket.Chat
dateEvent: 2018-07-7 10:00:00
extUrl: https://youtu.be/aeMgkHpSWr0
bgSize: cover
bgColor: 030c1a
author: Diego Dorgam
language: USA
cover: https://img.youtube.com/vi/aeMgkHpSWr0/0.jpg
categories:
- Webinars
---
\ No newline at end of file
---
title: Webinar Zenvia + Rocket.chat Como ter um atendimento de excelência
dateEvent: 2018-12-13 10:00:00
extUrl: https://youtu.be/-syyThQAFuM
bgSize: cover
bgColor: 030c1a
author: Carolina Freitas
language: Brazil
cover: https://img.youtube.com/vi/-syyThQAFuM/0.jpg
categories:
- Webinars
---
\ No newline at end of file
---
title: Rocket.Chat - iOS 3.2 release
dateEvent: 2018-12-19 10:00:00
extUrl: https://youtu.be/PJwxVrQfgrM
bgSize: cover
bgColor: 030c1a
author: Carolina Freitas
language: USA
cover: https://img.youtube.com/vi/PJwxVrQfgrM/0.jpg
categories:
- Webinars
---
\ No newline at end of file
......@@ -279,6 +279,13 @@ body.post {
.blog__event-dayweek {
color: rgba(255, 255, 255, 0.7);
line-height: 1.4;
display: flex;
}
.post-flag {
width: auto;
height: 14px;
margin-left: 6px;
}
//
......@@ -562,4 +569,9 @@ body.category {
}
}
}
}
.inactiveLink {
pointer-events: none;
cursor: default;
}
\ No newline at end of file
---
layout: category
title: Webinars
category: Webinars
theme: dark
noHighlight: true
heading: Workshops, Demos &amp; Tutorials
---
......@@ -2,7 +2,7 @@
layout: en/default
theme: dark
class: install
title: "Subscribed to Webinars about Rocket.Chat"
title: "Subscribe to Webinars about Rocket.Chat"
permalink: /webinar-subscribed/
redirect_from:
- /webinars-subscribed/
......
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