diff options
author | Julien Déramond <julien.deramond@orange.com> | 2022-10-31 11:03:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-31 11:03:20 +0300 |
commit | 1aba86a092a4ef1a95efdc5c28ecec3ae8931254 (patch) | |
tree | 574534d288ef067840d60fcb9527fbae1d43010e | |
parent | f41eb42112ce805cdc6f94acb910c5577f8125a1 (diff) | |
parent | baedc38758cb9bc844a6189b6460a6c74e780f2f (diff) |
Merge branch 'main' into main-jd-fix-other-h1-titlesmain-jd-fix-other-h1-titles
-rw-r--r-- | site/layouts/_default/docs.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/site/layouts/_default/docs.html b/site/layouts/_default/docs.html index 27314c37d0..d534f2c045 100644 --- a/site/layouts/_default/docs.html +++ b/site/layouts/_default/docs.html @@ -17,7 +17,9 @@ <div class="bd-intro pt-2 ps-lg-2"> <div class="d-md-flex flex-md-row-reverse align-items-center justify-content-between"> <div class="mb-3 mb-md-0 d-flex"> - <small class="d-inline-flex px-2 py-1 fw-semibold text-success bg-success bg-opacity-10 border border-success border-opacity-10 rounded-2 me-2">Added in v{{ .Page.Params.added }}</small> + {{- if .Page.Params.added -}} + <small class="d-inline-flex px-2 py-1 fw-semibold text-success bg-success bg-opacity-10 border border-success border-opacity-10 rounded-2 me-2">Added in v{{ .Page.Params.added }}</small> + {{- end -}} <a class="btn btn-sm btn-bd-light rounded-2" href="{{ .Site.Params.repo }}/blob/v{{ .Site.Params.current_version }}/site/content/{{ .Page.File.Path | replaceRE `\\` "/" }}" title="View and edit this file on GitHub" target="_blank" rel="noopener"> View on GitHub </a> |