Skip to content

Commit

Permalink
make a shared layout for the test files
Browse files Browse the repository at this point in the history
  • Loading branch information
afeld committed Nov 22, 2015
1 parent a516818 commit b67a3ca
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
10 changes: 10 additions & 0 deletions _layouts/test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: default
---

<style media="screen">
h1, h2, h3, h4 {
margin-bottom: 150px;
}
</style>
{{ content }}
2 changes: 1 addition & 1 deletion test/markdown.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: default
layout: test
---

# H1
Expand Down
8 changes: 1 addition & 7 deletions test/no-ids.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
---
layout: default
layout: test
---

<style media="screen">
h1, h2, h3, h4 {
margin-bottom: 150px;
}
</style>

<h1>H1</h1>
<h2>H2</h2>
<h3>H3</h3>
Expand Down

0 comments on commit b67a3ca

Please sign in to comment.