Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function (eleventyConfig) {

// Add plugins
eleventyConfig.addPlugin(EleventyRenderPlugin);
eleventyConfig.addPlugin(IdAttributePlugin);
eleventyConfig.addPlugin(IdAttributePlugin, { checkDuplicates: false });
Comment thread
spaceninja marked this conversation as resolved.
Outdated
eleventyConfig.addPlugin(eleventyNavigationPlugin);
eleventyConfig.addPlugin(syntaxHighlight);
eleventyConfig.addPlugin(pluginWebc, {
Expand Down
16 changes: 7 additions & 9 deletions src/_includes/page.webc
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,19 @@ scripts:
</nav>
</header>

<main class="site-main">
<div class="content content-with-sidebar">
<div class="header page-header">
<main class="site-main content content-with-sidebar">
<header class="header page-header">
<h2 @text="title"></h2>
</header>
<div class="body styleguide-body">
<template webc:nokeep @raw="content"></template>
</div>
<div class="sidebar">
<aside class="sidebar">
<styleguide-nav-group
:items="eleventyNavigation($data.collections.all)"
:page-url="page.url"
></styleguide-nav-group>
</div>
<div class="body styleguide-body">
<template webc:nokeep @raw="content"></template>
</div>
</div>
</aside>
</main>

<footer class="site-footer"></footer>
Expand Down
4 changes: 2 additions & 2 deletions src/areas/developer/examples/api-access.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<div class="page">
<div class="wrapper">
<div class="content content-narrow">
<main class="content content-narrow">
<h1>Allow Access?</h1>
<p>Do you want to let this app read and write to your account?</p>
<form class="api-accept">
Expand All @@ -23,6 +23,6 @@ <h1>Allow Access?</h1>
/>
</form>
<div class="clear"></div>
</div>
</main>
</div>
</div>
Loading
Loading