Skip to content

Commit

Permalink
Ajustes na postagem
Browse files Browse the repository at this point in the history
  • Loading branch information
joelxr committed Jun 30, 2016
1 parent d450659 commit 2405a63
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 51 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ruby '2.1.7'
#ruby '2.2.4'
#ruby '2.1.7'
ruby '2.2.4'

source 'https://rubygems.org'

Expand Down
38 changes: 0 additions & 38 deletions _drafts/2016-06-03-grao-espresso.markdown

This file was deleted.

39 changes: 39 additions & 0 deletions _drafts/2016-06-29-3coracoes.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
layout: post

date: 2016-06-29 20:00:00 -0300
title: Café 3 Corações
place: Café 3 Corações
place-instagram: https://www.instagram.com/cafeteria3cora/
place-facebook: https://www.facebook.com/pages/3-Cora%C3%A7%C3%B5es-Iguatemi/1041964385822367
place-email:
place-tripadvisor:
place-foursqaure:
place-phone: (85) 99112 3700
location: Av. Washington Soares, 85. (Shopping Iguatemi)
location-url: https://goo.gl/maps/56FZh3TvsN22
location-map: <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d18938.181072453528!2d-38.491540381290044!3d-3.7530001431879363!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0xde4a1b04f806edb5!2sShopping+Iguatemi!5e0!3m2!1spt-BR!2sbr!4v1467323855101" width="100%" height="450" frameborder="0" style="border:0" scrolling="no"></iframe>
location-lat:
location-long:
city: Fortaleza
state: Ceará

coffee: 3 Corações
coffee-special:
coffee-region: Cerrado Mineiro
coffee-farm:
coffee-producer:
coffee-variety:
coffee-altitude:
coffee-notes:
coffee-process:

rate: 2
price: R$ 4,50

cover-url:
photo-1-url:
photo-2-url:
photo-3-url:
photo-4-url:
---
60 changes: 50 additions & 10 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="section">
<div class="container">
<div class="row valign-wrapper center-align">
<div class="col s10 m10 l3">
<div class="col s10 m10 l4">
<h2 class="header">{{ page.title }}</h2>
<h4>
{% for i in (1..page.rate) %}
Expand All @@ -23,27 +23,35 @@ <h5>
<p class="flow-text">
{{ page.content }}
</p>
<ul class="collapsible hoverable" data-collapsible="accordion">
<ul class="collapsible hoverable left-align" data-collapsible="accordion">
{% if page.place-phone %}
<li>
<div class="collapsible-header">
<i class="fa fa-phone"></i> {{ page.place-phone }}
</div>
</li>
{% endif %}

{% if page.location %}
<li>
<div class="collapsible-header">
<i class="fa fa-map"></i> {{ page.location }}
</div>
</li>
{% endif %}

{% if page.city %}
<li>
<div class="collapsible-header">
<i class="fa fa-globe"></i>{{ page.city }} / {{ page.state}}
</div>
</li>
{% endif %}

<li>
<div class="collapsible-header">
<i class="fa fa-envira"></i> Café {{ page.coffee }}
</div>
{% if page.coffee-special %}
<div class="collapsible-body">
<ul class="collection">
<li class="collection-item">Região: {{page.coffee-region}}</li>
Expand All @@ -55,8 +63,8 @@ <h5>
<li class="collection-item">Processo: {{page.coffee-process}}</li>
</ul>
</div>
{% endif %}
</li>

<li>
<div class="collapsible-header">
<i class="fa fa-coffee"></i> {{ page.price }}
Expand All @@ -66,14 +74,44 @@ <h5>
</div>
<div class="col s2 m2 l1">
<ul>
<li><h5><a href="mailto:{{ page.place-email }}"><i class="fa fa-email black-text"></i></a></h5></li>
<li><h5><a href="{{ page.place-facebook }}"><i class="fa fa-facebook black-text"></i></a></h5></li>
<li><h5><a href="{{ page.place-instagram }}"><i class="fa fa-instagram black-text"></i></a></h5></li>
<li><h5><a href="{{ page.place-foursquare }}"><i class="fa fa-foursquare black-text"></i></a></h5></li>
<li><h5><a href="{{ page.place-tripadvisor }}"><i class="fa fa-tripadvisor black-text"></i></a></h5></li>
{% if page.place-email %}
<li>
<h5>
<a href="mailto:{{ page.place-email }}"><i class="fa fa-email black-text"></i></a>
</h5>
</li>
{% endif %}
{% if page.place-facebook %}
<li>
<h5>
<a href="{{ page.place-facebook }}"><i class="fa fa-facebook black-text"></i></a>
</h5>
</li>
{% endif %}
{% if page.place-instagram %}
<li>
<h5>
<a href="{{ page.place-instagram }}"><i class="fa fa-instagram black-text"></i></a>
</h5>
</li>
{% endif %}
{% if page.place-foursquare %}
<li>
<h5>
<a href="{{ page.place-foursquare }}"><i class="fa fa-foursquare black-text"></i></a>
</h5>
</li>
{% endif %}
{% if page.place-tripadvisor %}
<li>
<h5>
<a href="{{ page.place-tripadvisor }}"><i class="fa fa-tripadvisor black-text"></i></a>
</h5>
</li>
{% endif %}
</ul>
</div>
<div class="col s12 m12 l8">
<div class="col s12 m12 l7">
<div class="slider">
<ul class="slides">
<li><img src="{{ page.cover-url}}"></li>
Expand All @@ -85,11 +123,13 @@ <h5>
</div>
</div>
</div>
{% if page.location-map %}
<div class="row">
<div class="col s12 m12 s12 center-align">
{{page.location-map}}
</div>
</div>
{% endif %}
</div>
</div>
<div class="parallax-container">
Expand Down
2 changes: 1 addition & 1 deletion _posts/2016-06-27-zuila.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ date: 2016-06-27 20:00:00 -0300
title: Zuila Café

place: Zuila Café
place-insagram: https://www.instagram.com/zuilacafe/
place-instagram: https://www.instagram.com/zuilacafe/
place-facebook: https://www.facebook.com/Zuila-Caf%C3%A9-409594285760813/
place-email:
place-tripadvisor: https://www.tripadvisor.com.br/Restaurant_Review-g303293-d4481276-Reviews-Zuila_Cafe-Fortaleza_State_of_Ceara.html
Expand Down

0 comments on commit 2405a63

Please sign in to comment.