diff --git a/docs/assets/scss/docs.scss b/docs/assets/scss/docs.scss index a3ae687e9a..fb8ac95ef7 100644 --- a/docs/assets/scss/docs.scss +++ b/docs/assets/scss/docs.scss @@ -23,7 +23,7 @@ @import "bootstrap/breadcrumb"; // @import "bootstrap/pagination"; // @import "bootstrap/badge"; -// @import "bootstrap/alert"; +@import "bootstrap/alert"; // @import "bootstrap/progress"; // @import "bootstrap/list-group"; @import "bootstrap/close"; diff --git a/docs/content/icons/~deprecated.md b/docs/content/icons/~deprecated.md new file mode 100644 index 0000000000..da707bd28b --- /dev/null +++ b/docs/content/icons/~deprecated.md @@ -0,0 +1,11 @@ +--- +# TODO XXX +# PREVIEW FILE -- REMOVE BEFORE RELEASE +title: Deprecated Example +categories: + - Files and folders +tags: + - box + - delete +deprecated: true +--- diff --git a/docs/layouts/icons/single.html b/docs/layouts/icons/single.html index 0d791da886..40facd2025 100644 --- a/docs/layouts/icons/single.html +++ b/docs/layouts/icons/single.html @@ -31,6 +31,12 @@

{{ .Title }}

+ {{ if .Params.deprecated -}} + + {{- end }} +
{{- $localSvgPath := printf "/icons/%s.svg" .File.TranslationBaseName -}} diff --git a/docs/layouts/partials/icons.html b/docs/layouts/partials/icons.html index b9c9b26ac8..8064d81a1d 100644 --- a/docs/layouts/partials/icons.html +++ b/docs/layouts/partials/icons.html @@ -10,20 +10,22 @@

Icons

{{ range (where .Site.RegularPages "Type" "icons") -}} {{- $filename := .File.TranslationBaseName -}} {{- with .Site.GetPage .File.Path }} -
  • - -
    - {{ if $.IsHome -}} - - {{- else -}} - - - - {{- end }} -
    -
    {{ $filename }}
    -
    -
  • + {{- if not (.Params.deprecated) }} +
  • + +
    + {{ if $.IsHome -}} + + {{- else -}} + + + + {{- end }} +
    +
    {{ $filename }}
    +
    +
  • + {{- end }} {{- end }} {{- end }}