~poldi1405/website

3a6fcc038aee39674f7e824cef8699c65f9e941e — Moritz Poldrack 1 year, 9 months ago 932226a
updated homepage to show blogposts
1 files changed, 3 insertions(+), 3 deletions(-)

M themes/hugo-theme-console/layouts/index.html
M themes/hugo-theme-console/layouts/index.html => themes/hugo-theme-console/layouts/index.html +3 -3
@@ 4,12 4,12 @@

<br/>

<h1>Latest projects</h1>
<h1>Latest Blogposts</h1>

<a href="/code">All projects</a>
<a href="/code">List All</a>

<div class="posts-list">
{{ with .Site.GetPage "/code" }}
{{ with .Site.GetPage "/blog" }}
    {{ range first 5 (sort .Data.Pages "Date" "desc" (where .Pages ".Params.Type" "==" "post"))}}
        <div class="post">
            <p>