mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2025-07-28 22:31:07 +00:00
Migrate to Bootstrap 5
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
{% assign crumbs = page.url | remove:'/index.html' | split: '/' %}
|
||||
<ol class="breadcrumb" itemscope itemtype="https://schema.org/BreadcrumbList">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="/"><i class="fas fa-home" aria-hidden="true"></i> <span>Home</span></a>
|
||||
<a href="/" class="text-decoration-none text-gray"><i class="fas fa-home" aria-hidden="true"></i> <span class="text-decoration-underline">Home</span></a>
|
||||
</li>
|
||||
{% for crumb in crumbs offset: 1 %}
|
||||
{% if forloop.last %}
|
||||
@@ -16,7 +16,7 @@
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<a href="{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}" itemprop="item"><span itemprop="name">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</span></a>
|
||||
<a class="text-gray" href="{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}" itemprop="item"><span itemprop="name">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</span></a>
|
||||
<meta itemprop="position" content="{{ forloop.index }}" />
|
||||
</li>
|
||||
{% endif %}
|
||||
@@ -24,7 +24,7 @@
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="pl-3">
|
||||
<a class="btn btn-outline-gray btn-lg" href="https://github.com/privacyguides/privacyguides.org/edit/main/{%- if page.collection -%}collections/{%- endif -%}{{ page.path }}" role="button"><i class="fad fa-fw fa-pencil-alt"></i> Edit</a>
|
||||
<div class="ps-3">
|
||||
<a class="btn btn-outline-gray" href="https://github.com/privacyguides/privacyguides.org/edit/main/{%- if page.collection -%}collections/{%- endif -%}{{ page.path }}" role="button"><i class="fad fa-fw fa-pencil-alt"></i> Edit</a>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user