Skip to content

Commit

Permalink
Use h2 for blog posts list items (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
DataTriny authored Sep 19, 2024
1 parent c1766bc commit caf6e46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ footer ul {
}
.list-post-title {
font-size: 120%;
font-weight: normal;
margin-top: 0;
margin-bottom: 0;
}
h3, h4, h5, h6 {
font-size: 100%;
Expand Down
2 changes: 1 addition & 1 deletion templates/blog_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ul class="blog-list">
{% for page in section.pages %}
<li>
<div><a class="list-post-title" href="{{ page.permalink | safe }}">{{ page.title }}</a></div>
<h2 class="list-post-title"><a href="{{ page.permalink | safe }}">{{ page.title }}</a></h2>
<div class="list-post-date"> {{ page.date | date(format="%B %-d, %Y") }}</div>
{% if page.authors %}
<div class="list-post-authors"> {{page.authors | join(sep=", ")}} </div>
Expand Down

0 comments on commit caf6e46

Please sign in to comment.