Use normal boxes on index
This commit is contained in:
parent
0fe537197a
commit
12aec1a9b2
2 changed files with 24 additions and 12 deletions
|
@ -63,24 +63,32 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div class="box special" id="projects">
|
<div class="index-list" id="projects">
|
||||||
<h2><a href="/projects/">Projects</a></h2>
|
<div class="align-center">
|
||||||
|
<h2><a href="/projects/">Projects</a></h2>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "projects") }}
|
{{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "projects") }}
|
||||||
{{ partial "box.html" . }}
|
{{ partial "box_image.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<h4><a href="/projects/">All Projects</a></h4>
|
<div class="align-center">
|
||||||
|
<h4><a href="/projects/">All Projects</a></h4>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box special" id="recent-posts">
|
<div class="index-list" id="recent-posts">
|
||||||
<h2><a href="/posts/">Recent Posts</a></h2>
|
<div class="align-center">
|
||||||
|
<h2><a href="/posts/">Recent Posts</a></h2>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "posts") }}
|
{{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "posts") }}
|
||||||
{{ partial "box.html" . }}
|
{{ partial "box_image.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<h4><a href="/posts/">All Posts</a></h4>
|
<div class="align-center">
|
||||||
|
<h4><a href="/posts/">All Posts</a></h4>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{{ partial "page_end.html" . }}
|
{{ partial "page_end.html" . }}
|
||||||
|
|
|
@ -166,3 +166,7 @@ nav {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.index-list {
|
||||||
|
margin-top: 4em;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue