Skip to content

Commit

Permalink
Clarify default examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfr committed Nov 5, 2020
1 parent 8d74f1a commit 85a77df
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ block body
.br-data-example
h1 JSON Data

p JSON data is loaded by placing the JSON file in the content/data folder.
p JSON data can be loaded by placing <code>js</code> or <code>json</code> files in the <code>content/data</code> folder.

pre= JSON.stringify(contentData.exampleJson, null, 2)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ block body

h1 Image example

img(src="images/avatar.svg" width="200")
p This example shows where to put assets (<code>content/images</code>) and how to handle paths.

img(src="/images/avatar.svg" width="200")
File renamed without changes.
2 changes: 1 addition & 1 deletion content/templates/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ block body
.br-index
p Prototype pages:
+renderPageTree
p Press Ctrl + M to see a page listing when you are inside a page.
p Press Ctrl + M to toggle the listing of pages on any page.
5 changes: 0 additions & 5 deletions content/templates/test.pug

This file was deleted.

6 changes: 0 additions & 6 deletions content/templates/whitespace-test.pug

This file was deleted.

0 comments on commit 85a77df

Please sign in to comment.