]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Examples: use `{{ site.time | date: "%Y" }}`.
authorXhmikosR <xhmikosr@gmail.com>
Tue, 8 Jan 2019 06:11:04 +0000 (08:11 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 8 Jan 2019 19:23:50 +0000 (21:23 +0200)
Since they are being build, no point in hardcoding the year.

site/docs/4.2/examples/carousel/index.html
site/docs/4.2/examples/checkout/index.html
site/docs/4.2/examples/floating-labels/index.html
site/docs/4.2/examples/jumbotron/index.html
site/docs/4.2/examples/pricing/index.html
site/docs/4.2/examples/product/index.html
site/docs/4.2/examples/sign-in/index.html

index 1a8fd67e31b82b5fa7fdbde7e3dd233aba3bbc30..7c5fb66771ce2a02090abceef5a9c82023e7dbde 100644 (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>
index 5d7b572225a7b0f2824c3244623ae55e8f88e2cb..396270e742afff713243eb4d722528b28fc885e9 100644 (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>
index 1f5f65494964c3038f653311869724346d34c37d..d837ccaf1c8997653b655f3b0fa186d0189255a5 100644 (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>
index a5f54d8e8a5208ae837bf8ff11416dbfce989284..376e75e41c5098e98a95f9d4ae748dbb6ff19c6b 100644 (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>
index b9fb449882a30a4b0526d1cd4a13c71c0263faf7..395242d6bd4d068c9fb51e139dd9289d90dfcc62 100644 (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>
index 393d60afabe17153db578b1e3159c2b0b46f0cf8..a6e2a813f1c3b6af416c9f0dd5434cb3472e0031 100644 (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>
index 931ba50c84a1ea944702581a326cc19b451874e1..ac480c8172d98443286eae87f23f5d919732dd08 100644 (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>