mirror of https://github.com/crossplane/docs.git
Support dynamic GA tag (#425)
This commit is contained in:
parent
69e625ddc5
commit
5844fef0e5
|
@ -75,4 +75,9 @@ h1,h2,h3,h4,h5,h6 {
|
|||
// Override bootstrap defaults to support dark mode
|
||||
--bs-table-hover-color: var(--font-body-color);
|
||||
--bs-table-hover-bg: var(--nav-highlight-color);
|
||||
}
|
||||
|
||||
.ga-tag{
|
||||
color: var(--toc-font-color);
|
||||
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
<div class="ga-tag float-end">
|
||||
GA release: {{.Page.Params.ga}}
|
||||
</div>
|
|
@ -28,6 +28,9 @@
|
|||
{{ if .Page.Params.state }}
|
||||
{{ partial "feature-state-alert" . }}
|
||||
{{ end }}
|
||||
{{ if .Page.Params.ga }}
|
||||
{{ partial "ga-tag" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue