<div class="col-auto col-md-3 col-xl-2 px-sm-2 px-0 bg-dark">
    <div class="d-flex flex-column align-items-center align-items-sm-start px-3 pt-2 text-white min-vh-100">
        <span class="fs-5 d-none d-sm-inline">SmbCrawler</span>
        <ul class="nav nav-pills flex-column mb-sm-auto mb-0 align-items-center align-items-sm-start" id="menu">
            {% for page in pages %}
            <li class="nav-item">
                <a href="{{page.label}}.html" class="nav-link align-middle px-0">
                    {% if page.icon %}<i class="fs-4 bi-{{page.icon}}"></i> {% endif %}<span class="ms-1 d-none d-sm-inline">{{page.title}}</span>
                </a>
            </li>
            {% endfor %}
        </ul>
        <hr>
    </div>
</div>
