Commit graph

18 commits

Author SHA1 Message Date
austinseraphin cb8cb6f41e Header alt tags (#1138)
* Added support for an alt tag for the header image

This allows using page.header.image_description as the alt tag. It
will still default to site.title if unset.

* Added documentation
2017-08-04 12:06:20 -04:00
Maik Schmidt f4e75fe640 Pagination now works for index.html files in subfolders. Links to next page consider baseurl now. (#764)
* Links to next page consider baseurl now.

* paginate_show_page_num controls whether page number gets output.
2017-01-24 10:42:02 -05:00
Michael Rose d3b2e49044 Remove prepend: "/" from includes and add to image path's instead 2016-10-10 11:48:30 -04:00
Michael Rose c3c0fc3f51 Replace base_path with absolute_url filter where possible 2016-10-06 15:40:30 -04:00
Michael Rose 77c5642803 Allow images to be placed in other folders
- Remove `images/` only restriction and encourage placement in `assets/images/` instead
2016-09-21 22:15:17 -04:00
Michael Rose cc0b266541 Add en default text to site.locale strings
- Close #407
2016-07-29 12:16:53 -04:00
Michael Rose b3c0b79b92 Replace contains "http" with contains "://" 2016-06-03 11:59:19 -04:00
Tobie Langel 1edfcea306 Style fixes 2016-05-02 14:25:26 +02:00
Tobie Langel f077ec4343 Add overlay_filter param to hero headers
The `overlay_filter` param lets you darken or otherwise filter the hero header picture to make the text content pop out more.

You can use it by specifying the opacity (between 0 and 1) of a black overlay like so:

```yaml
excerpt: "This post should display a **header with an overlay image**, if the theme supports it."
header:
  overlay_image: unsplash-image-1.jpg
  overlay_filter: 0.5 # same as adding an opacity of 0.5 to a black background
  caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
  cta_label: "More Info"
  cta_url: "https://unsplash.com"
```

Or if you want to do more fancy things, go full rgba: 

```yaml
excerpt: "This post should display a **header with an overlay image**, if the theme supports it."
header:
  overlay_image: unsplash-image-1.jpg
  overlay_filter: rgba(255, 0, 0, 0.5)
  caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
  cta_label: "More Info"
  cta_url: "https://unsplash.com"
```
2016-05-02 13:59:31 +02:00
Michael Rose d7df394a5e Make base_path available to all includes that need it 2016-04-14 14:45:48 -04:00
Michael Rose 9ce87108ff If page doesn't have a title fallback to site.title 2016-04-14 14:26:47 -04:00
Michael Rose 84e85c0f14 Improve URL handling for internally and externally linked pages 2016-04-14 10:46:33 -04:00
Michael Rose 66d6a70480 Reduce button size 2016-03-30 17:02:49 -04:00
Michael Rose 28d6c28050 Build out overlay header and feature row _include helper 2016-03-24 15:28:29 -04:00
Michael Rose 974797a2b8 Style overlay background image and add support for caption 2016-03-23 21:59:58 -04:00
Michael Rose cae92a8770 Add header overlay sample posts 2016-03-23 21:50:22 -04:00
Michael Rose 479bce3682 Rough out splash page _layout with styles and test content 2016-03-23 16:35:01 -04:00
Michael Rose 3663ba897a Create includes for greater layout flexibility 2016-03-23 12:56:23 -04:00