Explorar o código

修订文档脚注

drake %!s(int64=3) %!d(string=hai) anos
pai
achega
216ae416ba
Modificáronse 2 ficheiros con 41 adicións e 54 borrados
  1. 40 53
      docs/material/partials/footer.html
  2. 1 1
      mkdocs.yml

+ 40 - 53
docs/material/partials/footer.html

@@ -13,65 +13,49 @@
   ~ See the License for the specific language governing permissions and
   ~ limitations under the License.
   -->
-
 {% import "partials/language.html" as lang with context %}
 
-<!-- Application footer -->
+<!-- Footer -->
 <footer class="md-footer">
 
     <!-- Link to previous and/or next page -->
     {% if page.previous_page or page.next_page %}
-    <div class="md-footer-nav">
-        <nav
-                class="md-footer-nav__inner md-grid"
-                aria-label="{{ lang.t('footer.title') }}"
-        >
+    <nav class="md-footer__inner md-grid" aria-label="{{ lang.t('footer.title') }}">
 
-            <!-- Link to previous page -->
-            {% if page.previous_page %}
-            <a
-                    href="{{ page.previous_page.url | url }}"
-                    title="{{ page.previous_page.title | striptags }}"
-                    class="md-footer-nav__link md-footer-nav__link--prev"
-                    rel="prev"
-            >
-                <div class="md-footer-nav__button md-icon">
-                    {% include ".icons/material/arrow-left.svg" %}
-                </div>
-                <div class="md-footer-nav__title">
-                    <div class="md-ellipsis">
-                <span class="md-footer-nav__direction">
-                  {{ lang.t("footer.previous") }}
-                </span>
-                        {{ page.previous_page.title }}
-                    </div>
+        <!-- Link to previous page -->
+        {% if page.previous_page %}
+        <a href="{{ page.previous_page.url | url }}" class="md-footer__link md-footer__link--prev" rel="prev">
+            <div class="md-footer__button md-icon">
+                {% include ".icons/material/arrow-left.svg" %}
+            </div>
+            <div class="md-footer__title">
+                <div class="md-ellipsis">
+              <span class="md-footer__direction">
+                {{ lang.t("footer.previous") }}
+              </span>
+                    {{ page.previous_page.title }}
                 </div>
-            </a>
-            {% endif %}
+            </div>
+        </a>
+        {% endif %}
 
-            <!-- Link to next page -->
-            {% if page.next_page %}
-            <a
-                    href="{{ page.next_page.url | url }}"
-                    title="{{ page.next_page.title | striptags }}"
-                    class="md-footer-nav__link md-footer-nav__link--next"
-                    rel="next"
-            >
-                <div class="md-footer-nav__title">
-                    <div class="md-ellipsis">
-                <span class="md-footer-nav__direction">
-                  {{ lang.t("footer.next") }}
-                </span>
-                        {{ page.next_page.title }}
-                    </div>
+        <!-- Link to next page -->
+        {% if page.next_page %}
+        <a href="{{ page.next_page.url | url }}" class="md-footer__link md-footer__link--next" rel="next">
+            <div class="md-footer__title">
+                <div class="md-ellipsis">
+              <span class="md-footer__direction">
+                {{ lang.t("footer.next") }}
+              </span>
+                    {{ page.next_page.title }}
                 </div>
-                <div class="md-footer-nav__button md-icon">
-                    {% include ".icons/material/arrow-right.svg" %}
-                </div>
-            </a>
-            {% endif %}
-        </nav>
-    </div>
+            </div>
+            <div class="md-footer__button md-icon">
+                {% include ".icons/material/arrow-right.svg" %}
+            </div>
+        </a>
+        {% endif %}
+    </nav>
     {% endif %}
 
     <!-- Further information -->
@@ -81,14 +65,17 @@
             <!-- Copyright and theme information -->
             <div class="md-footer-copyright">
                 {% if config.copyright %}
-                <div class="md-footer-copyright__highlight">
-                    {{ config.copyright }}
-                </div>
+                <a href="https://github.com/liangjingkanji" target="_blank" rel="noopener">
+                    <div class="md-footer-copyright__highlight">
+                        {{ config.copyright }}
+                    </div>
+                </a>
                 {% endif %}
+                {{ extracopyright }}
             </div>
 
             <!-- Social links -->
             {% include "partials/social.html" %}
         </div>
     </div>
-</footer>
+</footer>

+ 1 - 1
mkdocs.yml

@@ -1,7 +1,7 @@
 site_name: Net
 site_author: drake
 site_description: Net document
-copyright: Copyright &copy; 2018 - 2020 Drake
+copyright: Copyright &copy; 2018 - 2020 劉強東
 
 repo_name: GitHub
 repo_url: https://github.com/liangjingkanji/Net