diff options
| author | XhmikosR <[email protected]> | 2019-07-26 17:06:17 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-07-29 10:59:56 +0300 |
| commit | 9131e3e4011e8b2f7f5d7eaeb206ffa919de714a (patch) | |
| tree | eaa759dc202a028f1e77a62179d5b33e5a92a533 | |
| parent | 13b74165446dc0dac3bb09498e9a58e6b1416bfe (diff) | |
| download | bootstrap-9131e3e4011e8b2f7f5d7eaeb206ffa919de714a.tar.xz bootstrap-9131e3e4011e8b2f7f5d7eaeb206ffa919de714a.zip | |
docs: Move trailing URL slashes to the variables.
| -rw-r--r-- | config.yml | 6 | ||||
| -rw-r--r-- | site/content/docs/4.3/getting-started/introduction.md | 4 | ||||
| -rw-r--r-- | site/layouts/partials/docs-navbar.html | 8 | ||||
| -rw-r--r-- | site/layouts/partials/home/masthead-followup.html | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/config.yml b/config.yml index 3ab7fadf8..4c11284ca 100644 --- a/config.yml +++ b/config.yml @@ -37,10 +37,10 @@ params: docs_version: "4.3" repo: "https://github.com/twbs/bootstrap" twitter: "getbootstrap" - slack: "https://bootstrap-slack.herokuapp.com" + slack: "https://bootstrap-slack.herokuapp.com/" opencollective: "https://opencollective.com/bootstrap" - blog: "https://blog.getbootstrap.com" - expo: "https://expo.getbootstrap.com" + blog: "https://blog.getbootstrap.com/" + expo: "https://expo.getbootstrap.com/" themes: "https://themes.getbootstrap.com" download: diff --git a/site/content/docs/4.3/getting-started/introduction.md b/site/content/docs/4.3/getting-started/introduction.md index 4eef0ec2b..386c77588 100644 --- a/site/content/docs/4.3/getting-started/introduction.md +++ b/site/content/docs/4.3/getting-started/introduction.md @@ -119,8 +119,8 @@ For improved cross-browser rendering, we use [Reboot]({{< docsref "/content/rebo Stay up to date on the development of Bootstrap and reach out to the community with these helpful resources. - Follow [@getbootstrap on Twitter](https://twitter.com/{{< param twitter >}}). -- Read and subscribe to [The Official Bootstrap Blog]({{< param blog >}}/). -- Join [the official Slack room]({{< param slack >}}/). +- Read and subscribe to [The Official Bootstrap Blog]({{< param blog >}}). +- Join [the official Slack room]({{< param slack >}}). - Chat with fellow Bootstrappers in IRC. On the `irc.freenode.net` server, in the `##bootstrap` channel. - Implementation help may be found at Stack Overflow (tagged [`bootstrap-4`](https://stackoverflow.com/questions/tagged/bootstrap-4)). - Developers should use the keyword `bootstrap` on packages which modify or add to the functionality of Bootstrap when distributing through [npm](https://www.npmjs.com/search?q=keywords:bootstrap) or similar delivery mechanisms for maximum discoverability. diff --git a/site/layouts/partials/docs-navbar.html b/site/layouts/partials/docs-navbar.html index 1e2ce4bd1..9dd2eaba0 100644 --- a/site/layouts/partials/docs-navbar.html +++ b/site/layouts/partials/docs-navbar.html @@ -16,13 +16,13 @@ <a class="nav-link{{ if eq .Page.Title "Examples" }} active{{ end }}" href="/docs/{{ .Site.Params.docs_version }}/examples/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Examples');">Examples</a> </li> <li class="nav-item"> - <a class="nav-link" href="{{ .Site.Params.themes }}/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Themes');" target="_blank" rel="noopener">Themes</a> + <a class="nav-link" href="{{ .Site.Params.themes }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Themes');" target="_blank" rel="noopener">Themes</a> </li> <li class="nav-item"> - <a class="nav-link" href="{{ .Site.Params.expo }}/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');" target="_blank" rel="noopener">Expo</a> + <a class="nav-link" href="{{ .Site.Params.expo }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');" target="_blank" rel="noopener">Expo</a> </li> <li class="nav-item"> - <a class="nav-link" href="{{ .Site.Params.blog }}/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');" target="_blank" rel="noopener">Blog</a> + <a class="nav-link" href="{{ .Site.Params.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');" target="_blank" rel="noopener">Blog</a> </li> </ul> </div> @@ -39,7 +39,7 @@ </a> </li> <li class="nav-item"> - <a class="nav-link p-2" href="{{ .Site.Params.slack }}/" target="_blank" rel="noopener" aria-label="Slack"> + <a class="nav-link p-2" href="{{ .Site.Params.slack }}" target="_blank" rel="noopener" aria-label="Slack"> {{ partial "icons/slack.svg" (dict "class" "navbar-nav-svg" "width" "36" "height" "36") }} </a> </li> diff --git a/site/layouts/partials/home/masthead-followup.html b/site/layouts/partials/home/masthead-followup.html index a57b527d8..0c6ea9669 100644 --- a/site/layouts/partials/home/masthead-followup.html +++ b/site/layouts/partials/home/masthead-followup.html @@ -42,7 +42,7 @@ <p class="lead lead-lg mw-md-75 mx-auto"> Take Bootstrap 4 to the next level with official premium themes—toolkits built on Bootstrap with new components and plugins, docs, and build tools. </p> - <a class="btn btn-lg btn-outline-primary mb-4" href="{{ .Site.Params.themes }}/">Browse themes</a> + <a class="btn btn-lg btn-outline-primary mb-4" href="{{ .Site.Params.themes }}">Browse themes</a> <div class="mx-5 border-bottom"> <img class="img-fluid mt-3 mx-auto" srcset="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes.png, /docs/{{ .Site.Params.docs_version }}/assets/img/[email protected] 2x" |
