Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
katydecorah committed Oct 12, 2023
1 parent 1aa455d commit fe2aaf6
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<footer>
<div class="container">
<div class="footer-bio">
<p>{% include layout/bio.html %}</p>
<p>{% include about-me.html %}</p>
</div>
<div class="footer-links">
<strong>Here</strong>
Expand Down
26 changes: 26 additions & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
layout: default
---

<div class="home-layout">
<div class="home-left">
<h2>Recent posts</h2>
<ul class="posts">
{% for post in site.posts limit:5 %}
<li>
<div>
<strong> <a href="{{ post.url }}">{{ post.title }}</a></strong>
</div>
<div>
{{ post.date | date: "%B %-d, %Y" }} &bull; {{post.excerpt |
strip_html}}
</div>
</li>
{% endfor %}
</ul>
</div>
<div class="home-right">
<h2>Older posts</h2>
{% include navigation-category.html %}
</div>
</div>
2 changes: 1 addition & 1 deletion assets/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ h2 {
margin-bottom: 1rem;
}

h2.small {
.home-layout h2 {
text-transform: uppercase;
font-size: 1rem;
letter-spacing: 1px;
Expand Down

0 comments on commit fe2aaf6

Please sign in to comment.