Skip to content

Commit

Permalink
Fix: Adjusted title of single.html to be a H1 header
Browse files Browse the repository at this point in the history
  • Loading branch information
lxndrblz committed Jun 23, 2021
1 parent b4260d7 commit 0ec60e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ aside {
.post .post-title h1 {
text-transform: uppercase;
font-size: 30px;
letter-spacing: 5px;
letter-spacing: 1px;
line-height: 1;
}

Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<img class="post-thumbnail" src="{{ .Params.thumbnail | relURL }}" alt="Thumbnail image">
{{ end }}
<div class="post-title">
<h3>{{ .Title }}</h3>
<h1>{{ .Title }}</h1>
{{ if or (eq .Type "post") (eq .Type .Site.Params.postSectionName) }}
<div class="info">
<em class="fas fa-calendar-day"></em>
Expand Down

0 comments on commit 0ec60e9

Please sign in to comment.