title: Why my paging bootstrap style does not work?
body: <p>I practice "Flask Web Development"blog article when paging links paging,bootstrap style does not work.But the other can be used.I was using macros import, hope that other places can be common this.Is it necessary to add at import time?                                                                                                                                                                                    .
  somebody help me.                                                                                     </p>
  
  <p>this is index.html</p>
  
  <pre><code>{% extends "base.html" %}
  {% import "bootstrap/wtf.html" as wtf %}
  {% import '_macros.html' as macros %}
  {% block head %}
      &lt;meta charset="utf-8"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
  {% block scripts %}
      {{ super() }}
      &lt;script type="text/javascript"&gt;
          $('[data-spy="scroll"]').each(function () {
              var $spy = $(this).scrollspy('refresh')
          })
      &lt;/script&gt;
  {% endblock %}
  </code></pre>
  
  <hr>
  
  <pre><code>{% block styles %}
      {{ super() }}
      &lt;style type="text/css"&gt;
          body {
              background-color: #ffffff;
              /*background-color: #F0F0F0;*/
              position: relative;
          }
  
          .header {
              background-color: #FFFFFF;
              background-attachment: scroll, fixed;
              background-position: top left, top left;
              background-repeat: repeat, no-repeat;
              background-size: auto, auto 100%;
              color: rgba(255, 255, 255, 0.5);
              height: 100%;
              left: 0;
              padding: 8em 4em 0 0;
              position: fixed;
              text-align: right;
              top: 0;
              width: 20%;
              padding: 0 0 0 0;
          }
  
          .img {
              background-color: #235F2A;
              height: 23.6076%;
              width: 61.8%;
              margin-top: 14.5924%;
              margin-left: 19.1%;
              margin-right: 19.1%;
              padding: 0 0 0 0;
          }
  
          .breadcrumb {
              margin-left: 25.28%;
              margin-top: 3%;
              width: 68.33%;
              background-color: #FFFF93;
          }
  
          .sketcho {
              width: 83.7%;
              background-color: #ffffff;
              opacity: 1;
              margin-left: 7.72%;
              margin-top: 8.5%;
          }
  
          .container-fluid {
              margin-left: 20%;
              padding-left: 0px;
              padding-right: 0px;
          }
  
          .sketch {
              width: 83.7%;
              background-color: #ffffff;
              opacity: 1;
              margin-left: 7.72%;
              margin-top: 1%;
          }
  
          section {
              padding-left: 17px;
              padding-right: 17px;
          }
  
          .paging {
              margin-left: auto;
              text-align: center
          }
  
          .center {
              margin-top: 320px;
              height: 35px;
          }
  
          .row_button {
              width: 35px;
              height: 35px;
              float: left;
          }
      &lt;/style&gt;
  {% endblock %}
  </code></pre>
  
  <hr>
  
  <pre><code>{% endblock %}
  {% block title %}Index{% endblock %}
  
  
  {% block page_content %}
  &lt;body id="top"&gt;
  &lt;div class="container-fluid"&gt;
      {% for Article in Articles %}
      &lt;div class="row sketch"&gt;
          &lt;section id="one"&gt;
              &lt;header class="major"&gt;
                  {{ Article.head }}
              &lt;/header&gt;
              &lt;p&gt;{{ Article.body }}&lt;/p&gt;
              &lt;ul class="actions"&gt;
                  &lt;li&gt;
                      &lt;button type="button" class="btn btn-info"&gt;Learn More&lt;/button&gt;
                  &lt;/li&gt;
              &lt;/ul&gt;
      &lt;/div&gt;
      {% endfor %}
      &lt;div class="row paging"&gt;
          {{ macros.pageination_widget(pageination, '.index') }}
      &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;script src="{{ url_for('static',filename='js/jquery-3.2.1.min.js') }}"&gt;&lt;/script&gt;
  &lt;script src="{{ url_for('static',filename='js/bootstrap.min.js') }}"&gt;&lt;/script&gt;
  &lt;/body&gt;
  {% endblock %}
  </code></pre>
  
  <p>_macros.html</p>
  
  <pre><code>{% macro pageination_widget(pageination, endpoint) %}
      &lt;nav aria-label="Page navigation"&gt;
          &lt;ul class="pageination"&gt;
              &lt;li {% if not pageination.has_prev %} class="disabled" {% endif %}&gt;
                  &lt;a href="{% if pageination.has_perv %}{{ url_for(endpoint, page=pageination.page - 1, **kwargs) }}{% else %}#{% endif %}"&gt;
                      &amp;laquo;&lt;/a&gt;
              &lt;/li&gt;
              {% for page in pageination.iter_pages() %}
                  {% if page %}
                      {% if page == pageination.page %}
                          &lt;li class="active"&gt;
                              &lt;a href="{{ url_for(endpoint, page=page, **kwargs) }}"&gt;{{ page }}&lt;/a&gt;
                          &lt;/li&gt;
                      {% else %}
                          &lt;li&gt;&lt;a href="{{ url_for(endpoint, page=page, **kwargs) }}"&gt;{{ page }}&lt;/a&gt;&lt;/li&gt;
                      {% endif %}
                  {% else %}
                      &lt;li class="disabled"&gt;&lt;a href="#"&gt;&lt;/a&gt;&lt;/li&gt;
                  {% endif %}
              {% endfor %}
              &lt;li {% if not pageination.has_next %} class="disabled" {% endif %}&gt;
                  &lt;a href=" {% if pageination.has_next %}{{ url_for(endpoint,page=pageination.page + 1, **kwargs) }}{% else %}#{% endif %}"&gt;&amp;raquo;&lt;/a&gt;
              &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/nav&gt;
  {% endmacro %}
  </code></pre>