Skip to content

Commit

Permalink
Replace section with div
Browse files Browse the repository at this point in the history
  • Loading branch information
jotonedev committed Feb 27, 2024
1 parent f21b2c4 commit 8512c16
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
1 change: 1 addition & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta content="#252525" media="(prefers-color-scheme: dark)" name="theme-color">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black-translucent" name="apple-mobile-web-app-status-bar-style">
<meta name="theme-color" content="#282828"/>

{% seo %}

Expand Down
4 changes: 2 additions & 2 deletions _layouts/feed.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<h1>{{ page.title }}</h1>

<section class="content-width">
<div class="content-width">
<div class="post-preview-container">
{% for post in site.posts %}
{% include post-preview.html post=post %}
Expand All @@ -13,4 +13,4 @@ <h1>{{ page.title }}</h1>
{% endif %}
{% endfor %}
</div>
</section>
</div>
28 changes: 14 additions & 14 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@

<h1>{{ page.title }}</h1>

<section class="justify-text">
<div class="justify-text">
{{ content }}
</section>

<section>
<h2><a href="{{ '/feed' | relative_url }}" class="hidden-link">Latest Posts</a></h2>
<div class="post-card-container">
{% for post in site.posts limit: 4 %}
{% include post-card.html post=post %}
{% endfor %}
</div>

<div style="height: fit-content; align-items: center; text-align: center; margin: 3rem auto 0rem;">
<a href="{{ '/feed' | relative_url }}" class="hidden-link hover-underline center">
<span>Read all posts →</span>
</a>
<div>
<h2><a href="{{ '/feed' | relative_url }}" class="hidden-link">Latest Posts</a></h2>
<div class="post-card-container">
{% for post in site.posts limit: 4 %}
{% include post-card.html post=post %}
{% endfor %}
</div>

<div style="height: fit-content; align-items: center; text-align: center; margin: 3rem auto 0rem;">
<a href="{{ '/feed' | relative_url }}" class="hidden-link hover-underline center">
<span>Read all posts →</span>
</a>
</div>
</div>
</section>

0 comments on commit 8512c16

Please sign in to comment.