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 {
15481548 display : block;
15491549 }
15501550 }
1551+
1552+ .content__reading-time {
1553+ font-size : var (--font-step--1 );
1554+ color : oklch (var (--color-footer-text ));
1555+ }
15511556}
15521557
15531558.headerlink {
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ doctypes:
77title : Installing NGINX Open Source
88toc : true
99weight : 200
10+ nd-reading-time : true
1011---
1112
1213![ hero-graphic] ( /hero-graphic.webp )
Original file line number Diff line number Diff line change 1414 {{ partial "banner" .}}
1515
1616 < 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 >
1722
1823 {{ $content | safeHTML }}
1924
You can’t perform that action at this time.
0 commit comments