Skip to content

Commit

Permalink
Simplify page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Apr 4, 2024
1 parent 04e5b63 commit e07831e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{{ define "main" }}
<section class="article content-padding">
<section class="content-padding">
<div class="content-container">
{{ partial "breadcrumbs.html" . }}
<h1>{{ .Title }}</h1>
{{ if .Params.Subtitle }}
<h5 class="subtitle">{{ .Params.Subtitle }}</h5>
{{ end }}
<div class="article-content">
{{ .Content }}
<div>
{{ .Content }}
</div>
</div>
{{ partial "shortcuts.html" . }}
Expand Down
6 changes: 2 additions & 4 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
{{ end }}

{{ if .Content }}
<section class="article content-padding">
<section class="content-padding">
<div class="content-container">
<div class="article-content">
{{ .Content }}
</div>
{{ .Content }}
</div>
</section>
{{ end }}
Expand Down

0 comments on commit e07831e

Please sign in to comment.