Skip to content

Commit

Permalink
Fix semantic layout
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesdring committed Jun 20, 2024
1 parent a6fac23 commit fcde37d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/_components/page/Header.vto
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<header>
<h1><a href="/">{{ metas.site }}</a></h1>
</header>
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
css:
---
<nav>
<a href="/">Home</a>
</nav>
3 changes: 3 additions & 0 deletions src/_includes/css/wireframe.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
header, nav, main, aside, section, footer {
outline: 2px dashed var(--wireframe-outline, orange);
}
9 changes: 6 additions & 3 deletions src/_includes/layout/page.vto
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@
<link rel="stylesheet" href="/css/site.css">
</head>
<body>
<header>
{{ comp.headerNav() }}
</header>
{{# Site header #}}
{{ comp.page.Header(page.data) }}

{{# Site navigaation #}}
{{ comp.page.Nav() }}

<main>
<h1>{{ title }}</h1>
{{ content }}
</main>

Expand Down
2 changes: 0 additions & 2 deletions src/index.vto
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
title: Home
---
<h1>OI Lume Expo</h1>

<p>
This site collects some common approaches to building Lume sites in use across Open Innovations.
</p>
Expand Down

0 comments on commit fcde37d

Please sign in to comment.