allow configurable number of entry summary rows
This commit is contained in:
parent
a803e1fb6b
commit
6308633b46
@ -64,7 +64,7 @@
|
||||
overflow: hidden;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-line-clamp: var(--entry-summary-rows);
|
||||
}
|
||||
|
||||
.entry-footer {
|
||||
|
@ -15,6 +15,7 @@
|
||||
--code-block-bg: rgb(28, 29, 33);
|
||||
--code-bg: rgb(245, 245, 245);
|
||||
--border: rgb(238, 238, 238);
|
||||
--entry-summary-rows: {{ site.Params.entrySummaryRows | default 3 }};
|
||||
}
|
||||
|
||||
.dark {
|
||||
|
Loading…
x
Reference in New Issue
Block a user