diff --git a/_config.yml b/_config.yml index c499962..b342f4a 100644 --- a/_config.yml +++ b/_config.yml @@ -24,7 +24,7 @@ title: "{B/qKC}" tagline: a decentralized archive of Black queer Kansas City history # description appears in meta tags and other locations # this description might appear in search result lists, keep around 160 characters max -description: "This is the database and official site for {B/qKC}: an archival project challenging institutional archival practices within the frame and study of midwestern Black queer history." +description: "This is the official database and site for {B/qKC}: an archival project challenging institutional archival practices within the frame and study of midwestern Black queer history." # keywords, a short list of subjects describing the collection, separated by semicolon, to appear in rich markup keywords: kansas city; history; queer; black # creator of the digital collection, to appear in meta tags; we typically use our GitHub usernames but feel free to just use your name diff --git a/_data/config-nav.csv b/_data/config-nav.csv index 946fb25..87f9c4a 100644 --- a/_data/config-nav.csv +++ b/_data/config-nav.csv @@ -1,6 +1,6 @@ display_name,stub,dropdown_parent HOME,/, -THE_ARCHIVE,/browse/, +THE ARCHIVE,/browse/, COLLECTIONS,, EXPLORE,, READ,, diff --git a/_data/config-search.csv b/_data/config-search.csv index 9e5c230..df80b89 100644 --- a/_data/config-search.csv +++ b/_data/config-search.csv @@ -1,6 +1,6 @@ field,index,display title,true,true -date,true,true +date_created,true,true description,true,true subject,true,true location,true,false diff --git a/_includes/advanced-search-modal.html b/_includes/advanced-search-modal.html index ca4c7a7..d9c4391 100644 --- a/_includes/advanced-search-modal.html +++ b/_includes/advanced-search-modal.html @@ -48,18 +48,12 @@ {% for f in site.data.config-browse %}{% assign cap-field = f.field | capitalize %} - + {% endfor %} - -
-
-
- - to - -
+
+
diff --git a/_includes/cb/credits.html b/_includes/cb/credits.html index c9e383b..1d9e2af 100644 --- a/_includes/cb/credits.html +++ b/_includes/cb/credits.html @@ -1,6 +1,6 @@
-

Technical Credits - CollectionBuilder

+

CollectionBuilder

This digital collection is built with CollectionBuilder, an open source framework for creating digital collection and exhibit websites that is developed by faculty librarians at the University of Idaho Library following the Lib-Static methodology.

diff --git a/_includes/cb/jekyll-toc.html b/_includes/cb/jekyll-toc.html index eb063d3..95eb320 100644 --- a/_includes/cb/jekyll-toc.html +++ b/_includes/cb/jekyll-toc.html @@ -84,82 +84,79 @@ {% capture listModifier %}{% if orderedList %}ol{% else %}ul{% endif %}{% endcapture %} - {% for node in nodes %} - {% if node == "" %} - {% continue %} +{% for node in nodes %} + {% if node == "" %} + {% continue %} + {% endif %} + + {% assign currLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %} + + {% if currLevel < minHeader or currLevel > maxHeader %} + {% continue %} + {% endif %} + + {% assign _workspace = node | split: '' | first }}>{% endcapture %} + {% assign header = _workspace[0] | replace: _hAttrToStrip, '' %} + + {% if include.item_class and include.item_class != blank %} + {% capture listItemClass %} class="{{ include.item_class | replace: '%level%', currLevel | split: '.' | join: ' ' }}"{% endcapture %} + {% endif %} + + {% if include.submenu_class and include.submenu_class != blank %} + {% assign subMenuLevel = currLevel | minus: 1 %} + {% capture subMenuClass %} class="{{ include.submenu_class | replace: '%level%', subMenuLevel | split: '.' | join: ' ' }}"{% endcapture %} + {% endif %} + + {% capture anchorBody %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %} + + {% if htmlID %} + {% capture anchorAttributes %} href="{% if baseURL %}{{ baseURL }}{% endif %}#{{ htmlID }}"{% endcapture %} + {% if include.anchor_class %} + {% capture anchorAttributes %}{{ anchorAttributes }} class="{{ include.anchor_class | split: '.' | join: ' ' }}"{% endcapture %} {% endif %} + {% capture listItem %}{{ anchorBody }}{% endcapture %} + {% elsif skipNoIDs == true %} + {% continue %} + {% else %} + {% capture listItem %}{{ anchorBody }}{% endcapture %} + {% endif %} - {% assign currLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %} + {% if currLevel > lastLevel %} + {% capture jekyll_toc %}{{ jekyll_toc }}<{{ listModifier }}{{ subMenuClass }}>{% endcapture %} + {% elsif currLevel < lastLevel %} + {% assign repeatCount = lastLevel | minus: currLevel %} + {% for i in (1..repeatCount) %} + {% capture jekyll_toc %}{{ jekyll_toc }}{% endcapture %} + {% endfor %} + {% capture jekyll_toc %}{{ jekyll_toc }}{% endcapture %} + {% else %} + {% capture jekyll_toc %}{{ jekyll_toc }}{% endcapture %} + {% endif %} - {% if currLevel < minHeader or currLevel > maxHeader %} - {% continue %} - {% endif %} + {% capture jekyll_toc %}{{ jekyll_toc }}{{ listItem }}{% endcapture %} - {% assign _workspace = node | split: '' | first }}>{% endcapture %} - {% assign header = _workspace[0] | replace: _hAttrToStrip, '' %} - - {% if include.item_class and include.item_class != blank %} - {% capture listItemClass %} class="{{ include.item_class | replace: '%level%', currLevel | split: '.' | join: ' ' }}"{% endcapture %} - {% endif %} - - {% if include.submenu_class and include.submenu_class != blank %} - {% assign subMenuLevel = currLevel | minus: 1 %} - {% capture subMenuClass %} class="{{ include.submenu_class | replace: '%level%', subMenuLevel | split: '.' | join: ' ' }}"{% endcapture %} - {% endif %} - - {% capture anchorBody %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %} - - {% if htmlID %} - {% capture anchorAttributes %} href="{% if baseURL %}{{ baseURL }}{% endif %}#{{ htmlID }}"{% endcapture %} - - {% if include.anchor_class %} - {% capture anchorAttributes %}{{ anchorAttributes }} class="{{ include.anchor_class | split: '.' | join: ' ' }}"{% endcapture %} - {% endif %} - - {% capture listItem %}{{ anchorBody }}{% endcapture %} - {% elsif skipNoIDs == true %} - {% continue %} - {% else %} - {% capture listItem %}{{ anchorBody }}{% endcapture %} - {% endif %} - - {% if currLevel > lastLevel %} - {% capture jekyll_toc %}{{ jekyll_toc }}<{{ listModifier }}{{ subMenuClass }}>{% endcapture %} - {% elsif currLevel < lastLevel %} - {% assign repeatCount = lastLevel | minus: currLevel %} - - {% for i in (1..repeatCount) %} - {% capture jekyll_toc %}{{ jekyll_toc }}{% endcapture %} - {% endfor %} - - {% capture jekyll_toc %}{{ jekyll_toc }}{% endcapture %} - {% else %} - {% capture jekyll_toc %}{{ jekyll_toc }}{% endcapture %} - {% endif %} - - {% capture jekyll_toc %}{{ jekyll_toc }}{{ listItem }}{% endcapture %} - - {% assign lastLevel = currLevel %} - {% assign firstHeader = false %} - {% endfor %} {% assign repeatCount = minHeader | minus: 1 %} {% assign repeatCount = lastLevel | minus: repeatCount %} diff --git a/_includes/data-download-modal.html b/_includes/data-download-modal.html index 4ea4b67..e5d98a8 100644 --- a/_includes/data-download-modal.html +++ b/_includes/data-download-modal.html @@ -12,17 +12,16 @@