Skip to content

Commit

Permalink
Update layout-page-style.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Jan 13, 2015
1 parent 4ff33e4 commit f116def
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions layout-page-style.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
{% comment %}
Add the snippet below to your layout to provide override styles on a per-page basis. For example:

```
---
layout: page
title: History

style: |
.element {
background-color: #333;
}
---
```
{% endcomment %}

{% if page.style %}
<style>
{{ page.style }}
Expand Down

0 comments on commit f116def

Please sign in to comment.