2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00
* Backport #31339

Add view on GitHub links for easier content editing from the docs
This commit is contained in:
XhmikosR
2020-08-04 18:54:01 +03:00
committed by GitHub
parent 30d375b33f
commit e0f89dc90b
2 changed files with 21 additions and 1 deletions
+4 -1
View File
@@ -21,7 +21,10 @@
{% endif %}
<main class="col-md-9 col-xl-8 py-md-3 pl-md-5 bd-content" role="main">
<h1 class="bd-title" id="content">{{ page.title | smartify }}</h1>
<div class="d-md-flex flex-md-row-reverse align-items-center justify-content-between">
<a class="btn btn-sm btn-bd-light my-2 my-md-0" href="{{ site.repo }}/tree/v4-dev/site/{{ page.path }}" title="View and edit this file on GitHub" target="_blank" rel="noopener">View on GitHub</a>
<h1 class="bd-title" id="content">{{ page.title | smartify }}</h1>
</div>
<p class="bd-lead">{{ page.description | smartify }}</p>
{% include ads.html %}
{{ content }}