_layouts/home.html in jekyll-theme-omega-0.1.4 vs _layouts/home.html in jekyll-theme-omega-0.1.5
- old
+ new
@@ -38,14 +38,17 @@
<li><a href="{{ site.url }}/feed.xml" title="Atom/RSS feed"><i class="fa fa-rss"></i> Feed</a></li>
</ul>
</nav>
</aside>
+
{% if page.imagefeature %}
<header id="masthead" class="blog-background overlay align-center align-middle animated from-bottom" style="background-image: url({{ site.url }}/images/{{ page.imagefeature }})" itemscope itemtype="http://schema.org/Organization">
{% else %}
- <header id="masthead" class="blog-background overlay align-center align-middle animated from-bottom" style="background-image: url({{ site.url }}/images/{{ site.default_bg }})" itemscope itemtype="http://schema.org/Organization">
+
+
+ <header id="masthead" class="blog-background overlay align-center align-middle animated from-bottom" style="background-image: url({{ site.url }}/{{ randomBackground }})" itemscope itemtype="http://schema.org/Organization">
{% endif %}
{% if site.search %}
<button class="menu-button animated fade dosearch">
<i class="fa fa-search"></i>
@@ -77,10 +80,12 @@
</a>
</div>
</div>
{% endif %}
+
+
{% if site.animated_fins and site.triangleheader %}
<div class="decor-wrapper">
<svg id="header-decor" class="decor bottom" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 100 100" preserveAspectRatio="none">
<path class="large left" d="M0 0 L50 50 L0 100" fill="rgba({{ site.fin_color }}, .1)"></path>
<path class="large right" d="M100 0 L50 50 L100 100" fill="rgba({{ site.fin_color }}, .1)"></path>
@@ -111,9 +116,11 @@
{{ content }}
</div>
</div>
</div>
</div>
+
+
{% include footer.html %}
{% include scripts.html %}
</body>