Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff committed Apr 23, 2024
1 parent fb13167 commit b7b1a77
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
<div class="sidebar">
{{ partial "hero" . }}
</div>
<div class="main">
<main class="main">
{{ block "main" . }}
{{ end }}
</div>
</main>
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/layouts/_default/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{- /* Don't lazyload the first asset in each page (video, banner etc) */ -}}
{{- $lazyload := cond (eq $i 0) false true -}}

<article class="post">
<div class="post">
<h1 class="post-title fw-semibold">
<a href="{{ .RelPermalink }}" class="text-decoration-none">{{ .Title }}</a>
</h1>
Expand All @@ -22,7 +22,7 @@ <h1 class="post-title fw-semibold">
{{- end }}

{{ .Content }}
</article>
</div>
{{- end }}
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/layouts/posts/single.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ define "main" }}
<div class="posts-container mx-auto my-5">
<article class="post">
<div class="post">
<h1 class="post-title fw-semibold">{{ .Page.Title }}</h1>
{{ partial "author-info" (dict "context" .) -}}

Expand All @@ -13,7 +13,7 @@ <h1 class="post-title fw-semibold">{{ .Page.Title }}</h1>
{{- end -}}

{{ .Content }}
</article>
</div>

<div class="related">
<h2 class="h3 mb-3">Related posts</h2>
Expand Down

0 comments on commit b7b1a77

Please sign in to comment.