|
| 1 | +{% extends "./layout.html" %} |
| 2 | + |
| 3 | +{% block title %}{{ page.title }} · {{ super() }}{% endblock %} |
| 4 | + |
| 5 | +{% block description %}{{ page.description }}{% endblock %} |
| 6 | + |
| 7 | +{% block head %} |
| 8 | + {{ super() }} |
| 9 | + {% if page.next and page.next.path %} |
| 10 | + <link rel="next" href="{{ page.next.path|resolveFile }}" /> |
| 11 | + {% endif %} |
| 12 | + {% if page.previous and page.previous.path %} |
| 13 | + <link rel="prev" href="{{ page.previous.path|resolveFile }}" /> |
| 14 | + {% endif %} |
| 15 | +{% endblock %} |
| 16 | + |
| 17 | +{% block javascript %} |
| 18 | + <script src="{{ "gitbook.js"|resolveAsset }}"></script> |
| 19 | + <script src="{{ "theme.js"|resolveAsset }}"></script> |
| 20 | + {% for resource in plugins.resources.js %} |
| 21 | + {% if resource.url %} |
| 22 | + <script src="{{ resource.url }}"></script> |
| 23 | + {% else %} |
| 24 | + <script src="{{ resource.path|resolveAsset }}"></script> |
| 25 | + {% endif %} |
| 26 | + {% endfor %} |
| 27 | +{% endblock %} |
| 28 | + |
| 29 | +{% block body %} |
| 30 | +<div class="book"> |
| 31 | + <div class="book-summary"> |
| 32 | + {% block book_sidebar %} |
| 33 | + {% block search_input %}{% endblock %} |
| 34 | + {% block book_summary %} |
| 35 | + <nav role="navigation"> |
| 36 | + {% include "website/summary.html" %} |
| 37 | + </nav> |
| 38 | + {% endblock %} |
| 39 | + {% endblock %} |
| 40 | + </div> |
| 41 | + |
| 42 | + <div class="book-body"> |
| 43 | + {% block book_body %} |
| 44 | + <div class="body-inner"> |
| 45 | + {% block book_inner %} |
| 46 | + {% include "website/header.html" %} |
| 47 | + |
| 48 | + <div class="page-wrapper" tabindex="-1" role="main"> |
| 49 | + <div class="page-inner"> |
| 50 | + {% block search_results %} |
| 51 | + <section class="normal markdown-section"> |
| 52 | + {% block page %} |
| 53 | + {{ page.content|safe }} |
| 54 | + {% endblock %} |
| 55 | + </section> |
| 56 | + {% endblock %} |
| 57 | + </div> |
| 58 | + </div> |
| 59 | + {% endblock %} |
| 60 | + </div> |
| 61 | + |
| 62 | + <!-- LikeBtn.com BEGIN --> |
| 63 | + <span class="likebtn-wrapper" data-theme="padded" data-i18n_like="This standard helped me" data-dislike_enabled="false" data-icon_dislike_show="false"></span> |
| 64 | + <script>(function(d,e,s){if(d.getElementById("likebtn_wjs"))return;a=d.createElement(e);m=d.getElementsByTagName(e)[0];a.async=1;a.id="likebtn_wjs";a.src=s;m.parentNode.insertBefore(a, m)})(document,"script","//w.likebtn.com/js/w/widget.js");</script> |
| 65 | + <!-- LikeBtn.com END --> |
| 66 | + |
| 67 | + {% block book_navigation %} |
| 68 | + {% if page.previous and page.previous.path %} |
| 69 | + <a href="{{ page.previous.path|resolveFile }}{{ page.previous.anchor }}" class="navigation navigation-prev {% if not (page.next and page.next.path) %}navigation-unique{% endif %}" aria-label="Previous page: {{ page.previous.title }}"> |
| 70 | + <i class="fa fa-angle-left"></i> |
| 71 | + </a> |
| 72 | + {% endif %} |
| 73 | + {% if page.next and page.next.path %} |
| 74 | + <a href="{{ page.next.path|resolveFile }}{{ page.next.anchor }}" class="navigation navigation-next {% if not (page.previous and page.previous.path) %}navigation-unique{% endif %}" aria-label="Next page: {{ page.next.title }}"> |
| 75 | + <i class="fa fa-angle-right"></i> |
| 76 | + </a> |
| 77 | + {% endif %} |
| 78 | + {% endblock %} |
| 79 | + {% endblock %} |
| 80 | + </div> |
| 81 | + |
| 82 | + <script> |
| 83 | + var gitbook = gitbook || []; |
| 84 | + gitbook.push(function() { |
| 85 | + gitbook.page.hasChanged({{ template.getJSContext()|dump|safe }}); |
| 86 | + }); |
| 87 | + </script> |
| 88 | +</div> |
| 89 | +{% endblock %} |
0 commit comments