~xdavidwu/xdavidwu.link

ref: 11358a12c763501d74f61e7e798cfbeceb3d7c35 xdavidwu.link/_includes/page__hero.html -rw-r--r-- 2.8 KiB
d530a92c — Michael Rose 4 years ago
Refactor page meta (#2641)

* Rename include

* Add grid view test pages

* Rename `.post__meta-sep` and use CSS to add line break

* Improve collection grid archive

* Improve page grid archive

* Enable `grid`

* Don't show date icon if there is no `date` value

* Add blank line at EOF

* Add space

* Wrap date and reading time in named `span` elements
57b957cb — Lim Jing Heng 4 years ago
Show date of posts (#2526)

* add date to read-time.html

* add option for show_date, dynamic icon style

* change read-time to post__meta

* cleanup post__metal.html

* cleanup post__meta include variables

* put date before read time

* remove space in include variable

* allow customisation of post__meta separator

* add some documentation

* oops fix typo derp

* add post date image

* change page meta separator customisation to CSS
000873ed — chrismelman 5 years ago
fixed typo in  page_hero (#2428)

f68b54e5 — iBug ♦ 5 years ago
Use relative_url and absolute_url where possible (#2387)

* Use relative_url and absolute_url where possible

Drops the `contains "://"` check, adopt Jekyll 3.7
Ref: https://github.com/mmistakes/minimal-mistakes/pull/2385#issuecomment-579882236

* One more unneeded {% assign %}

* Remove one more assign as noted by mmistakes

* Consolidate 4 more captures

* Consolidate an extra assign on "active" class
da119580 — iBug ♦ 5 years ago
Allow override of page excerpt in heading (via tagline) (#2307)

Allow the use of `page.tagline` to override `page.excerpt` in heading area
d57c3d97 — Michael Rose 6 years ago
Properly apply `relative_url` filter to internal links in header overlay `actions` array
c5a68ae8 — Michael Rose 6 years ago
Add header `actions` array support for multiple call to action links

```
header:
  overlay_image: /assets/images/unsplash-image-1.jpg
  og_image: /assets/images/page-header-og-image.png
  caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
  actions:
    - label: "Learn More"
      url: "https://unsplash.com"
```

Fixes #1461
32163e3b — Michael Rose 6 years ago
Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
82fa4860 — Brian Exelbierd 6 years ago
Allow time to be shown with a header image overlay (#1756)

Fix `read_time` logic in header image overlay
029bf102 — Michael Rose 6 years ago
Fix "Back to Top" links

Pages that use header overlays were missing `#page-title` anchors on the `<h1>` element.
8481dd43 — Michael Rose 7 years ago
Replace `absolute_url` with `relative_url`

Where it makes sense replace asset paths and navigation related paths with `relative_url` filter.

Leave SEO related `<head>` elements and social sharing links as `absolute_url`.

Fixes #1588
7700c5d7 — Michael Rose 7 years ago
Upgrade Font Awesome to version 5 (#1446)

Upgrade Font Awesome to version 5 (SVG with JavaScript)

Close #1396
07f192ea — Darren Hart 7 years ago
v2: Introduce show_overlay_excerpt and document  (#1436)

Make excerpts optional in header overlay

Some posts and some header images don't lend themselves well to
displaying the excerpt in the overlay. Make this optional by
introducting a new boolean variable:

`page.header.show_overlay_excerpt`

Set it to implicitly default to `true` so existing users are unaffected by
testing explicitly for "!= false".

This can be enabled globally for a site by changing the default to `false`
in the local _config.yml, or per page by specifying the value in front
matter.

Document show_overlay_excerpt variable

* Add show_overlay_excerpt variable to the Header Overlay field documentation table.

Close #1429 
212f643c — Michael Rose 7 years ago
DRY up handling of `image_description` for alternative text
d6ca6d9f — austinseraphin 7 years ago
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
613f7bee — Michael Rose 8 years ago
Merge branch 'release/4.2.1'
c7d61ec6 — Maik Schmidt 8 years ago
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.
6c0144ff — Michael Rose 8 years ago
Merge branch 'release/4.0.4'

Conflicts:
	README.md
0625e157 — Michael Rose 8 years ago
Merge branch 'feature/theme-gem' into develop
254b40b8 — Michael Rose 8 years ago
Remove `prepend: "/"` from includes and add to image path's instead
Next