mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 12:01:37 +01:00
home-info: let content show upto 5 lines
* previously 3
This commit is contained in:
parent
724e73facb
commit
2c7cffb617
@ -36,6 +36,10 @@
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.home-info .entry-content {
|
||||||
|
-webkit-line-clamp: 5;
|
||||||
|
}
|
||||||
|
|
||||||
.post-entry {
|
.post-entry {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: var(--gap);
|
margin-bottom: var(--gap);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{{- with $.Site.Params.homeInfoParams }}
|
{{- with $.Site.Params.homeInfoParams }}
|
||||||
<article class="first-entry">
|
<article class="first-entry home-info">
|
||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
<h2>{{- .Title }}</h2>
|
<h2>{{- .Title }}</h2>
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
Reference in New Issue
Block a user