Skip to content

Commit

Permalink
chore: Add two-column layout template
Browse files Browse the repository at this point in the history
address Create a single reusable two column #7581
  • Loading branch information
RileySeaburg committed May 21, 2024
1 parent 367cc17 commit df7f474
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions themes/digital.gov/layouts/_default/two-column.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!-- layouts/_default/two-column.html -->
{{ define "main" }}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ .Title }}</title>
{{ block "head" . }}{{ end }}
</head>
<body>
<header>
<!-- Header content here -->
</header>
<div class="container">
<main role="main" id="main-content">
{{ block "content" . }}{{ end }}
</main>
<aside class="dg-sidebar">
{{ block "sidebar" . }}{{ end }}
</aside>
</div>
<footer>
<!-- Footer content here -->
</footer>
</body>
</html>
{{ end }}

0 comments on commit df7f474

Please sign in to comment.