Skip to content

Commit

Permalink
Added sitemap, fixed animation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ozasadnyy committed Aug 25, 2014
1 parent f056f8d commit 59106ff
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 21 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ subscribeInfo: "Registration will be open around end of August. Number of ticket

# Tickets Block
ticketsTitle: "Pricetable"
ticketsInfo: "Tickets grant access to all conference sections, coffee brakes, lunches and parties. Accommodation is NOT included in the ticket price."
ticketsInfo: "Tickets grant access to all conference sections, coffee brakes, lunch and party. Accommodation is NOT included in the ticket price."
ticketsOffers:
-
name: "Early Bird"
Expand Down
2 changes: 2 additions & 0 deletions _includes/hero.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!-- Begin Hero Section -->
<section id="top-section-hero" class="top-section-hero top-section image-section" style="background-image: url('{{ site.baseurl }}/img/hero.jpg');">
{% include navigation.html %}
<div class="content-wrapper">
<div class="jumbotron">
<div class="animated hiding" data-animation="fadeInDown" data-delay="500">
{% assign heroText = site.heroTitle | split:"<typeout>" %}
Expand All @@ -16,5 +17,6 @@ <h1>{{ heroText[0] }}<span id="typeout-text" class="hidden-xs"></span><span clas
<use xlink:href="{{ site.baseurl }}/img/sprites/sprites.svg#icon-arrow-down"></use>
</svg>
</a>
</div>
</section>
<!-- End Hero Section -->
8 changes: 4 additions & 4 deletions _includes/tickets-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ <h3>{{ site.ticketsTitle }}</h3>
{% if ticketsOffer.additionalInfo != null %}
<span class="ticket-additional-info">{{ ticketsOffer.additionalInfo }}</span>
{% endif %}
{% if ticketsOffer.disabled != true %}
{% assign ticketValidTo = ticketsOffer.validThrough | split: "T" %}
<span class="ticket-additional-info">Before {{ ticketValidTo[0] | date: "%-d %B %Y"}} {{ ticketValidTo[1] }} or {{ ticketsOffer.ticketsNumber }} tickets</span>
{% endif %}
</div>
<div class="col-md-3 col-xs-12">
<p class="price">{{ ticketsOffer.price }} {{ ticketsOffer.priceCurrency }}</p>
{% if ticketsOffer.disabled != true %}
{% assign ticketValidTo = ticketsOffer.validThrough | split: "T" %}
<span class="ticket-sales">Before {{ ticketValidTo[0] | date: "%-d %B %Y"}} {{ ticketValidTo[1] }} or {{ ticketsOffer.ticketsNumber }} tickets</span>
{% endif %}
</div>
<div class="col-md-3 col-xs-12">
{% if ticketsOffer.disabled != true %}
Expand Down
4 changes: 0 additions & 4 deletions _sass/partials/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ h6 {
time {
display: block;
}
.content-wrapper {
position: relative;
z-index: 1;
}
.st-content, .st-container, .st-pusher {
height: 100%;
}
Expand Down
5 changes: 5 additions & 0 deletions _sass/partials/_helper.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.content-wrapper {
position: relative;
z-index: 1;
height: 100%;
}
.bordered {
display: inline-block;
color: rgba(255, 255, 255, .6);
Expand Down
6 changes: 4 additions & 2 deletions _sass/partials/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@
}
}
.explore {
margin-left: -12px;
margin-left: -16px;
position: absolute;
bottom: 25px;
bottom: -25px;
left: 50%;
animation: callToAction 3.5s linear 0s infinite;
@media (max-width: 767px) {
margin-left: -12.5px;
bottom: 30px;
animation: none;
}
}
Expand Down
8 changes: 0 additions & 8 deletions _sass/partials/_tickets-2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,7 @@ $border-color: rgba(51, 51, 51, .6);
text-align: center;
}
}
.ticket-sales {
@extend .ticket-additional-text;
padding: 0 10px;
@media (max-width: 767px) {
padding: 0;
}
}
.ticket-fallback {
margin-top: 20px;
padding-top: 2px;
line-height: 1.2;;
}
Expand Down
4 changes: 2 additions & 2 deletions css/main.min.css

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title : "Sitemap"
sitemap_exclude: y
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">

{% for page in site.pages %}
{% if page.sitemap_exclude != 'y' %}
<url>
<loc>{{ page.url | prepend: site.baseurl | prepend: site.url }}</loc>
</url>
{% endif %}
{% endfor %}

{% for post in site.posts %}
<url>
<loc>{{ post.url | prepend: site.baseurl | prepend: site.url }}</loc>
</url>
{% endfor %}
</urlset>

0 comments on commit 59106ff

Please sign in to comment.