Skip to content

Commit

Permalink
feat(post): update heading background
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Jan 6, 2017
1 parent 92cbd7b commit 0c99a0a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions _app/_posts/note/2014-02-01-custom-heading-background.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ heading-bg: img/heading-background-example.jpg
heading-bg-local: true
heading-bg-color: "#8141b1"
heading-bg-size: "cover"
heading-bg-position: "center bottom"
heading-bg-repeat: "no-repeat"
heading-bg-text: "#fff"
---

This is an example of custom heading background. You can simply add the following setting to your post [front-matter field](http://jekyllrb.com/docs/frontmatter/):

> Heading image copyright info:
> © 士郎正宗・Production I.G/講談社・「攻殻機動隊」製作委員会
```yaml
heading-bg: img/heading-background-tile.jpg
heading-bg: img/heading-background.jpg
heading-bg-local: true
heading-bg-color: "#8141b1"
heading-bg-size: "100px 100px"
Expand Down
2 changes: 1 addition & 1 deletion _app/_posts/note/2014-02-01-custom-heading-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ heading-img-local: true
This is an example of custom post heading image. You can simply add the following setting to your post [front-matter field](http://jekyllrb.com/docs/frontmatter/):

```yaml
heading-img: svg/svg-title-example.svg
heading-img: svg/heading-image.svg
heading-img-local: true
heading-img-width: 400
```
Expand Down
Binary file modified _app/assets/img/heading-background-example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0c99a0a

Please sign in to comment.