mirror of
https://github.com/adulau/art.git
synced 2024-11-22 01:57:06 +00:00
fixes some bugs in landing template. will fix the rest asap
This commit is contained in:
parent
663d94403b
commit
4f3384d2a3
3 changed files with 27 additions and 23 deletions
|
@ -14,7 +14,7 @@
|
||||||
<ul class="links">
|
<ul class="links">
|
||||||
{% for page in site.pages %}
|
{% for page in site.pages %}
|
||||||
{% if page.layout == "home" %}
|
{% if page.layout == "home" %}
|
||||||
<li><a href="{{ "" | absolute_url }}">{{ page.title }}</a></li>
|
<li><a href="{{ "" | absolute_url }}/">{{ page.title }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for page in site.pages %}
|
{% for page in site.pages %}
|
||||||
|
|
|
@ -6,12 +6,34 @@
|
||||||
-->
|
-->
|
||||||
<html>
|
<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>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
18
landing.md
18
landing.md
|
@ -6,24 +6,6 @@ image: assets/images/pic07.jpg
|
||||||
nav-menu: true
|
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">
|
<div id="main">
|
||||||
<section id="one">
|
<section id="one">
|
||||||
<div class="inner"><header class="major">
|
<div class="inner"><header class="major">
|
||||||
|
|
Loading…
Reference in a new issue