mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 19:06:40 +02:00
Changing the way View on GitHub
links are handled (#37214)
This commit is contained in:
committed by
GitHub
parent
597c402314
commit
80482af57b
@@ -16,7 +16,7 @@
|
|||||||
<main class="bd-main order-1">
|
<main class="bd-main order-1">
|
||||||
<div class="bd-intro pt-2 ps-lg-2">
|
<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="d-md-flex flex-md-row-reverse align-items-center justify-content-between">
|
||||||
<a class="btn btn-sm btn-bd-light mb-3 mb-md-0 rounded-2" href="{{ .Site.Params.repo }}/blob/main/site/content/{{ .Page.File.Path | replaceRE `\\` "/" }}" title="View and edit this file on GitHub" target="_blank" rel="noopener">
|
<a class="btn btn-sm btn-bd-light mb-3 mb-md-0 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
|
View on GitHub
|
||||||
</a>
|
</a>
|
||||||
<h1 class="bd-title mb-0" id="content">{{ .Title | markdownify }}</h1>
|
<h1 class="bd-title mb-0" id="content">{{ .Title | markdownify }}</h1>
|
||||||
|
Reference in New Issue
Block a user