final touches
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
</style>
|
||||
|
||||
<div id="home-banner" class="container-fluid mb-0 p-0">
|
||||
<a class="portfolio-site-link"
|
||||
href="https://1800nasi.net/category/bqkc/"
|
||||
title="Main domain to view exhibitions, programs and media features of {B/qKC}">
|
||||
VIEW THE ARCHIVE IN PRACTICE →
|
||||
</a>
|
||||
<div id="home-title-box" class="position-relative">
|
||||
<div class="p-2 text-white bg-dark bg-opacity-75 d-inline-block">
|
||||
{% if site.organization-logo-nav %}
|
||||
@@ -42,6 +47,12 @@
|
||||
</div>
|
||||
{%- else -%}
|
||||
<div class="container">
|
||||
<div class="container position-relative">
|
||||
<a class="portfolio-site-link"
|
||||
href="https://1800nasi.net/category/bqkc/"
|
||||
title="Main domain to view exhibitions, programs and media features of {B/qKC}">
|
||||
VIEW THE ARCHIVE IN PRACTICE →
|
||||
</a>
|
||||
<div class="row align-items-center">
|
||||
<div id="title" class="{% if site.organization-logo-banner %}col-md-9{% else %}col-12{% endif %}">
|
||||
<h1 class="mt-2"><a class="text-dark" href="{{ '/' | relative_url }}">{{ site.title }}</a></h1>
|
||||
|
||||
@@ -27,8 +27,17 @@
|
||||
{%- assign childStubs = navChildren | map: 'stub' -%}
|
||||
<a class="nav-link dropdown-toggle{% if childStubs contains page.url %} active{% endif %}" data-bs-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">{{ nav.display_name }}</a>
|
||||
<div class="dropdown-menu">
|
||||
{% for c in navChildren %}
|
||||
<a class="dropdown-item {% if page.url == c.stub %}active{% endif %}" href="{{ c.stub | relative_url }}">{{ c.display_name }}</a>
|
||||
{% for c in navChildren %}
|
||||
{% if c.stub %}
|
||||
<a class="dropdown-item {% if page.url == c.stub %}active{% endif %}"
|
||||
href="{{ c.stub | relative_url }}">
|
||||
{{ c.display_name }}
|
||||
</a>
|
||||
{% else %}
|
||||
<div class="dropdown-header nav-section-label">
|
||||
{{ c.display_name }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</li>
|
||||
|
||||
14
_includes/data-table.html
Normal file
14
_includes/data-table.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% assign fields = site.data.config-table | map: 'display_name' %}
|
||||
|
||||
<div class="table-responsive-md">
|
||||
<table id="item-table" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
{% for f in fields %}
|
||||
<th scope="col">{{ f }}</th>
|
||||
{% endfor %}
|
||||
<th>Link</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
@@ -19,7 +19,7 @@
|
||||
<a class="nav-link text-light{% if page.url == nav.stub %} active{% endif %}"
|
||||
href="{{ nav.stub | relative_url }}">{{ nav.display_name }}</a>
|
||||
{%- else -%}
|
||||
{% assign childStub = site.data.config-nav | where_exp: 'item', 'item.dropdown_parent == nav.display_name' | first %}
|
||||
{% assign childStub = site.data.config-nav | where_exp: 'item', 'item.dropdown_parent == nav.display_name and item.stub' | first %}
|
||||
<a class="nav-link text-light{% if page.url == childStub.stub %} active{% endif %}"
|
||||
href="{{ childStub.stub | relative_url }}">{{ nav.display_name }}</a>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user