File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
exampleSite/content/nginx Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1548,6 +1548,11 @@ a:hover {
1548
1548
display : block;
1549
1549
}
1550
1550
}
1551
+
1552
+ .content__reading-time {
1553
+ font-size : var (--font-step--1 );
1554
+ color : oklch (var (--color-footer-text ));
1555
+ }
1551
1556
}
1552
1557
1553
1558
.headerlink {
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ doctypes:
7
7
title : Installing NGINX Open Source
8
8
toc : true
9
9
weight : 200
10
+ nd-reading-time : true
10
11
---
11
12
12
13
![ hero-graphic] ( /hero-graphic.webp )
Original file line number Diff line number Diff line change 14
14
{{ partial "banner" .}}
15
15
16
16
< h1 > {{ .Title }}</ h1 >
17
+ < div class ="content__reading-time ">
18
+ {{ if index .Params "nd-reading-time" }}
19
+ {{ printf "~%d min read" .ReadingTime }}
20
+ {{ end }}
21
+ </ div >
17
22
18
23
{{ $content | safeHTML }}
19
24
You can’t perform that action at this time.
0 commit comments