0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Examples: use {{ site.time | date: "%Y" }}.

Since they are being build, no point in hardcoding the year.
This commit is contained in:
XhmikosR 2019-01-08 08:11:04 +02:00
parent f11f56558b
commit 0e5d387f04
7 changed files with 7 additions and 7 deletions

View File

@ -158,6 +158,6 @@ extra_css: "carousel.css"
<!-- FOOTER -->
<footer class="container">
<p class="float-right"><a href="#">Back to top</a></p>
<p>&copy; 2017-2019 Company, Inc. &middot; <a href="#">Privacy</a> &middot; <a href="#">Terms</a></p>
<p>&copy; 2017-{{ site.time | date: "%Y" }} Company, Inc. &middot; <a href="#">Privacy</a> &middot; <a href="#">Terms</a></p>
</footer>
</main>

View File

@ -213,7 +213,7 @@ body_class: "bg-light"
</div>
<footer class="my-5 pt-5 text-muted text-center text-small">
<p class="mb-1">&copy; 2017-2019 Company Name</p>
<p class="mb-1">&copy; 2017-{{ site.time | date: "%Y" }} Company Name</p>
<ul class="list-inline">
<li class="list-inline-item"><a href="#">Privacy</a></li>
<li class="list-inline-item"><a href="#">Terms</a></li>

View File

@ -28,5 +28,5 @@ include_js: false
</label>
</div>
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
<p class="mt-5 mb-3 text-muted text-center">&copy; 2017-2019</p>
<p class="mt-5 mb-3 text-muted text-center">&copy; 2017-{{ site.time | date: "%Y" }}</p>
</form>

View File

@ -75,5 +75,5 @@ extra_css: "jumbotron.css"
</main>
<footer class="container">
<p>&copy; Company 2017-2019</p>
<p>&copy; Company 2017-{{ site.time | date: "%Y" }}</p>
</footer>

View File

@ -74,7 +74,7 @@ include_js: false
<div class="row">
<div class="col-12 col-md">
<img class="mb-2" src="{{ site.baseurl }}/docs/{{ site.docs_version }}/assets/brand/bootstrap-solid.svg" alt="" width="24" height="24">
<small class="d-block mb-3 text-muted">&copy; 2017-2019</small>
<small class="d-block mb-3 text-muted">&copy; 2017-{{ site.time | date: "%Y" }}</small>
</div>
<div class="col-6 col-md">
<h5>Features</h5>

View File

@ -101,7 +101,7 @@ extra_css: "product.css"
<div class="row">
<div class="col-12 col-md">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="d-block mb-2" focusable="false" role="img"><title>Product</title><circle cx="12" cy="12" r="10"></circle><line x1="14.31" y1="8" x2="20.05" y2="17.94"></line><line x1="9.69" y1="8" x2="21.17" y2="8"></line><line x1="7.38" y1="12" x2="13.12" y2="2.06"></line><line x1="9.69" y1="16" x2="3.95" y2="6.06"></line><line x1="14.31" y1="16" x2="2.83" y2="16"></line><line x1="16.62" y1="12" x2="10.88" y2="21.94"></line></svg>
<small class="d-block mb-3 text-muted">&copy; 2017-2019</small>
<small class="d-block mb-3 text-muted">&copy; 2017-{{ site.time | date: "%Y" }}</small>
</div>
<div class="col-6 col-md">
<h5>Features</h5>

View File

@ -19,5 +19,5 @@ include_js: false
</label>
</div>
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
<p class="mt-5 mb-3 text-muted">&copy; 2017-2019</p>
<p class="mt-5 mb-3 text-muted">&copy; 2017-{{ site.time | date: "%Y" }}</p>
</form>