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
This commit is contained in:
@@ -4,8 +4,9 @@ permalink: /
|
||||
header:
|
||||
overlay_color: "#5e616c"
|
||||
overlay_image: /assets/images/mm-home-page-feature.jpg
|
||||
cta_label: "<i class='fas fa-download'></i> Install Now"
|
||||
cta_url: "/docs/quick-start-guide/"
|
||||
actions:
|
||||
- label: "<i class='fas fa-download'></i> Install Now"
|
||||
url: "/docs/quick-start-guide/"
|
||||
caption:
|
||||
excerpt: 'A flexible two-column Jekyll theme. Perfect for personal sites, blogs, and portfolios hosted on GitHub or your own server.<br /> <small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.12.2">Latest release v4.12.2</a></small><br /><br /> {::nomarkdown}<iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=mmistakes&repo=minimal-mistakes&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe> <iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=mmistakes&repo=minimal-mistakes&type=fork&count=true&size=large" frameborder="0" scrolling="0" width="158px" height="30px"></iframe>{:/nomarkdown}'
|
||||
feature_row:
|
||||
|
||||
@@ -7,8 +7,9 @@ header:
|
||||
overlay_color: "#000"
|
||||
overlay_filter: "0.5"
|
||||
overlay_image: /assets/images/unsplash-image-1.jpg
|
||||
cta_label: "Download"
|
||||
cta_url: "https://github.com/mmistakes/minimal-mistakes/"
|
||||
actions:
|
||||
- label: "Download"
|
||||
url: "https://github.com/mmistakes/minimal-mistakes/"
|
||||
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
|
||||
excerpt: "Bacon ipsum dolor sit amet salami ham hock ham, hamburger corned beef short ribs kielbasa biltong t-bone drumstick tri-tip tail sirloin pork chop."
|
||||
intro:
|
||||
|
||||
Reference in New Issue
Block a user