showcase/index.html

62 lines
1.7 KiB
HTML
Raw Normal View History

2023-07-22 13:34:09 -04:00
---
title: Home
layout: default
background: '/img/bg-index.jpg'
permalink: /
---
<!-- Home Intro
================================================== -->
{% if page.url == "/" %}
<div class="rounded mb-5 hero">
<div class="row align-items-center justify-content-between">
<div class="col-md-6">
<h1 class="font-weight-bold mb-4 text-white serif-font">Showcase</h1>
<p class="lead mb-4 text-white">Our bright & creative ninjas have created masterpieces that are displayed here.</p>
<a href="{{site.baseurl}}/about" class="btn btn-light px-5 btn-lg">About me</a>
</div>
<div class="col-md-6 text-right pl-0 pl-lg-4">
<img class="intro" height="500" src="{{site.baseurl}}/assets/images/through-the-window.svg">
</div>
</div>
</div>
{% endif %}
<!-- Featured
================================================== -->
<section class="row">
{% for post in site.posts %}
{% if post.featured == true %}
<div class="col-md-4 mb-5">
{% include postbox.html %}
</div>
{% endif %}
{% endfor %}
</div>
</section>
<!-- Posts List with Sidebar (except featured)
================================================== -->
<section class="row">
<div class="col-sm-8">
<div class="row">
{% for post in paginator.posts %}
{% unless post.featured == true %}
<div class="col-md-6 mb-5">
{% include postbox.html %}
</div>
{% endunless %}
{% endfor %}
</div>
<!-- Pagination -->
<div class="bottompagination">
<span class="navigation" role="navigation">
{% include pagination.html %}
</span>
</div>
</div>
<div class="col-sm-4">
{% include sidebar.html %}
</div>
</section>