fixes some bugs in landing template. will fix the rest asap

This commit is contained in:
Andrew Banchich 2017-04-22 21:02:18 -04:00
parent 663d94403b
commit 4f3384d2a3
3 changed files with 27 additions and 23 deletions

View file

@ -14,7 +14,7 @@
<ul class="links">
{% for page in site.pages %}
{% if page.layout == "home" %}
<li><a href="{{ "" | absolute_url }}">{{ page.title }}</a></li>
<li><a href="{{ "" | absolute_url }}/">{{ page.title }}</a></li>
{% endif %}
{% endfor %}
{% for page in site.pages %}

View file

@ -6,11 +6,33 @@
-->
<html>
{% include head.html %}
{% include head.html %}
<body>
<body>
{% include header.html %} {{ content }} {% include footer.html %}
{% include header.html %}
<section id="banner" class="style2">
<div class="inner">
<span class="image">
<img src="{{ site.baseurl }}/{{ page.image }}" alt="">
</span>
<header class="major">
<h1>{{ page.title }}</h1>
</header>
<div class="content">
{{ page.description }}
</div>
</div>
</section>
{{ content }}
{% include footer.html %}
</body>

View file

@ -6,24 +6,6 @@ image: assets/images/pic07.jpg
nav-menu: true
---
<section id="banner" class="style2">
<div class="inner">
<span class="image">
<img src="{{ site.baseurl }}/%7B%7B%20page.image%20%7D%7D" alt="">
</span>
<header class="major">
# Landing
</header>
<div class="content">
{{ page.description }}
</div>
</div>
</section>
<div id="main">
<section id="one">
<div class="inner"><header class="major">