Skip to content

Commit

Permalink
Change: margin
Browse files Browse the repository at this point in the history
  • Loading branch information
esadek committed Oct 28, 2023
1 parent 2a5bf80 commit 134c5f9
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 24 deletions.
16 changes: 9 additions & 7 deletions _includes/home.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ layout: base.njk
</div>

<div class="container">
<hr class="mt-0 mb-5">
{% for page in search.pages("layout=post.njk", "date=desc") %}
<div class="mb-2 d-flex justify-content-between">
<a class="fs-5"href="{{ page.data.url }}">{{ page.data.title }}</a>
<p class="text-muted fw-light mb-0">{{ page.data.date | date("HUMAN_DATE") }}</p>
</div>
{% endfor %}
<hr>
<div class="my-5">
{% for page in search.pages("layout=post.njk", "date=desc") %}
<div class="mb-2 d-flex justify-content-between">
<a class="fs-5"href="{{ page.data.url }}">{{ page.data.title }}</a>
<p class="text-muted text-end fw-light mb-0">{{ page.data.date | date("HUMAN_DATE") }}</p>
</div>
{% endfor %}
</div>
</div>
36 changes: 19 additions & 17 deletions _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,25 @@
</div>

<div class="container">
<hr class="mt-0 mb-5">

<div class="mb-2 d-flex justify-content-between">
<a class="fs-5" href="/blog/learn-ml/">Learn Machine Learning</a>
<p class="text-muted fw-light mb-0">July 3rd, 2023</p>
</div>

<div class="mb-2 d-flex justify-content-between">
<a class="fs-5" href="/blog/markdoc-deno/">Running Markdoc on Deno</a>
<p class="text-muted fw-light mb-0">January 25th, 2023</p>
</div>

<div class="mb-2 d-flex justify-content-between">
<a class="fs-5" href="/blog/python-memoization/">Memoization in Python 3</a>
<p class="text-muted fw-light mb-0">May 23rd, 2021</p>
</div>

<hr>
<div class="my-5">

<div class="mb-2 d-flex justify-content-between">
<a class="fs-5" href="/blog/learn-ml/">Learn Machine Learning</a>
<p class="text-muted text-end fw-light mb-0">July 3rd, 2023</p>
</div>

<div class="mb-2 d-flex justify-content-between">
<a class="fs-5" href="/blog/markdoc-deno/">Running Markdoc on Deno</a>
<p class="text-muted text-end fw-light mb-0">January 25th, 2023</p>
</div>

<div class="mb-2 d-flex justify-content-between">
<a class="fs-5" href="/blog/python-memoization/">Memoization in Python 3</a>
<p class="text-muted text-end fw-light mb-0">May 23rd, 2021</p>
</div>

</div>
</div>

</div>
Expand Down

0 comments on commit 134c5f9

Please sign in to comment.