You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/blocks/articles.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,8 @@ The `articles` block renders a group of cards for selected content. By default,
26
26
section: blog
27
27
reverse: false
28
28
sort: date
29
-
hide-empty: false
30
-
header-style: none
29
+
hide_empty: false
30
+
header_style: none
31
31
orientation: stacked
32
32
more:
33
33
title: More Blogs
@@ -59,9 +59,9 @@ Set `orientation` to `horizontal` to render the article's illustration before th
59
59
section: blog
60
60
reverse: false
61
61
sort: date
62
-
hide-empty: false
63
-
header-style: none
64
-
body-style: title
62
+
hide_empty: false
63
+
header_style: none
64
+
body_style: title
65
65
orientation: horizontal
66
66
more:
67
67
title: More Blogs
@@ -79,7 +79,7 @@ Set `orientation` to `horizontal` to render the article's illustration before th
79
79
80
80
### Rich cards
81
81
82
-
Adjust the `header-style`, `body-style`, and `footer-style` to refine the card elements being displayed.
82
+
Adjust the `header_style`, `body_style`, and `footer_style` to refine the card elements being displayed.
83
83
84
84
<!-- markdownlint-disable MD037 -->
85
85
{{< example-bookshop lang="bookshop" >}}
@@ -93,10 +93,10 @@ Adjust the `header-style`, `body-style`, and `footer-style` to refine the card e
93
93
section: blog
94
94
reverse: false
95
95
sort: date
96
-
hide-empty: false
97
-
header-style: publication
98
-
body-style: full
99
-
footer-style: tags
96
+
hide_empty: false
97
+
header_style: publication
98
+
body_style: full
99
+
footer_style: tags
100
100
orientation: stacked
101
101
more:
102
102
title: More Blogs
@@ -114,14 +114,14 @@ Adjust the `header-style`, `body-style`, and `footer-style` to refine the card e
114
114
115
115
### Minimal cards
116
116
117
-
Set `body-style` to `minimal` to show the title of an article only. The predefined `class` attribute `card-minimal` applies an underline effect on hover.
117
+
Set `body_style` to `minimal` to show the title of an article only. The predefined `class` attribute `card-minimal` applies an underline effect on hover.
118
118
119
119
<!-- markdownlint-disable MD037 -->
120
120
{{< example-bookshop lang="bookshop" >}}
121
121
122
122
```yml
123
123
- _bookshop_name: articles
124
-
hide-empty: false
124
+
hide_empty: false
125
125
input:
126
126
section: blog
127
127
reverse: false
@@ -131,8 +131,8 @@ Set `body-style` to `minimal` to show the title of an article only. The predefin
0 commit comments