From: XhmikosR Date: Mon, 29 Apr 2019 14:11:40 +0000 (+0300) Subject: docs SVGs: Allow passing a custom title. (#28660) X-Git-Tag: v5.0.0-alpha1~1141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=952c3d36775da3a3ea328ddf159e903f7007bdae;p=thirdparty%2Fbootstrap.git docs SVGs: Allow passing a custom title. (#28660) --- diff --git a/site/layouts/partials/icons/bootstrap-stack.svg b/site/layouts/partials/icons/bootstrap-stack.svg index 1e3913042e..a74c43b402 100644 --- a/site/layouts/partials/icons/bootstrap-stack.svg +++ b/site/layouts/partials/icons/bootstrap-stack.svg @@ -1 +1 @@ -Bootstrap \ No newline at end of file +{{ with .title }}{{ . }}{{ else }}Bootstrap{{ end }} \ No newline at end of file diff --git a/site/layouts/partials/icons/bootstrap.svg b/site/layouts/partials/icons/bootstrap.svg index 0277389a6b..1b57d335e0 100644 --- a/site/layouts/partials/icons/bootstrap.svg +++ b/site/layouts/partials/icons/bootstrap.svg @@ -1 +1 @@ -Bootstrap \ No newline at end of file +{{ with .title }}{{ . }}{{ else }}Bootstrap{{ end }} \ No newline at end of file diff --git a/site/layouts/partials/icons/download.svg b/site/layouts/partials/icons/download.svg index 05385434de..b00ebabaea 100644 --- a/site/layouts/partials/icons/download.svg +++ b/site/layouts/partials/icons/download.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/site/layouts/partials/icons/github.svg b/site/layouts/partials/icons/github.svg index cacd860c28..6f06f7722b 100644 --- a/site/layouts/partials/icons/github.svg +++ b/site/layouts/partials/icons/github.svg @@ -1 +1 @@ -GitHub \ No newline at end of file +{{ with .title }}{{ . }}{{ else }}GitHub{{ end }} \ No newline at end of file diff --git a/site/layouts/partials/icons/import.svg b/site/layouts/partials/icons/import.svg index bc38ee57cb..deaeb090de 100644 --- a/site/layouts/partials/icons/import.svg +++ b/site/layouts/partials/icons/import.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/site/layouts/partials/icons/lightning.svg b/site/layouts/partials/icons/lightning.svg index cd9138ad83..02ae006d39 100644 --- a/site/layouts/partials/icons/lightning.svg +++ b/site/layouts/partials/icons/lightning.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/site/layouts/partials/icons/menu.svg b/site/layouts/partials/icons/menu.svg index 78c43d85c9..70eaccec72 100644 --- a/site/layouts/partials/icons/menu.svg +++ b/site/layouts/partials/icons/menu.svg @@ -1 +1 @@ -Menu \ No newline at end of file +{{ with .title }}{{ . }}{{ else }}Menu{{ end }} \ No newline at end of file diff --git a/site/layouts/partials/icons/opencollective.svg b/site/layouts/partials/icons/opencollective.svg index 4a477a4978..2896ba50ce 100644 --- a/site/layouts/partials/icons/opencollective.svg +++ b/site/layouts/partials/icons/opencollective.svg @@ -1 +1 @@ -Open Collective \ No newline at end of file +{{ with .title }}{{ . }}{{ else }}Open Collective{{ end }} \ No newline at end of file diff --git a/site/layouts/partials/icons/slack.svg b/site/layouts/partials/icons/slack.svg index 67b9c7f485..e3c995cc71 100644 --- a/site/layouts/partials/icons/slack.svg +++ b/site/layouts/partials/icons/slack.svg @@ -1 +1 @@ -Slack \ No newline at end of file +{{ with .title }}{{ . }}{{ else }}Slack{{ end }} \ No newline at end of file diff --git a/site/layouts/partials/icons/twitter.svg b/site/layouts/partials/icons/twitter.svg index b102181a5f..7a7fcee28b 100644 --- a/site/layouts/partials/icons/twitter.svg +++ b/site/layouts/partials/icons/twitter.svg @@ -1 +1 @@ -Twitter \ No newline at end of file +{{ with .title }}{{ . }}{{ else }}Twitter{{ end }} \ No newline at end of file