Skip to content

Commit

Permalink
Fix statement about when sidebar will be displayed (mdn#4399)
Browse files Browse the repository at this point in the history
* Fix statement about when sidebar will be displayed

* Fix typo

* Fix link
  • Loading branch information
hamishwillee authored May 21, 2021
1 parent 27c066a commit 3747a7c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<p>Open <strong>/views/layout.pug</strong> and replace the content with the code below.</p>

<pre class="brush: html line-numbers language-html">doctype html
<pre>doctype html
html(lang='en')
head
title= title
Expand Down Expand Up @@ -59,13 +59,13 @@

<p>The base template also references a local css file (<strong>style.css</strong>) that provides a little additional styling. Open <strong>/public/stylesheets/style.css</strong> and replace its content with the following CSS code:</p>

<pre class="brush: css line-numbers language-css">.sidebar-nav {
<pre class="brush: css">.sidebar-nav {
margin-top: 20px;
padding: 0;
list-style: none;
}</pre>

<p>When we get round to running our site, we should see the sidebar appear! In the next sections we will use the above layout to define the individual pages.</p>
<p>Now we have a base template for creating pages with a sidebar. In the next sections we will use it to define the individual pages.</p>

<h2 id="Next_steps">Next steps</h2>

Expand Down

0 comments on commit 3747a7c

Please sign in to comment.