瀏覽代碼

Move 3.x docs notice to partial.

Florian Kissling 10 年之前
父節點
當前提交
9d85d7fb41
共有 2 個文件被更改,包括 8 次插入7 次删除
  1. 7 0
      docs/_includes/notice-previous.html
  2. 1 7
      docs/index.html

+ 7 - 0
docs/_includes/notice-previous.html

@@ -0,0 +1,7 @@
+<section class="notice-previous">
+  <div class="container text-center">
+    <a href="http://select2.github.io/select2/">Looking for the Select2 3.5.2 docs?</a>
+    We have moved them to a new location
+    <a href="announcements-4.0.html">while we push forward with Select2 4.0</a>.
+  </div>
+</section>

+ 1 - 7
docs/index.html

@@ -22,13 +22,7 @@ slug: home
   </div>
   </div>
 </main>
 </main>
 
 
-<section class="notice-previous">
-  <div class="container text-center">
-    <a href="http://select2.github.io/select2/">Looking for the Select2 3.5.2 docs?</a>
-    We have moved them to a new location
-    <a href="announcements-4.0.html">while we push forward with Select2 4.0</a>.
-  </div>
-</section>
+{% include notice-previous.html %}
 
 
 <div class="container">
 <div class="container">
   <section id="lead" class="lead">
   <section id="lead" class="lead">