Update documentation and permalinks for consistency and clarity
- Changed references in markup.md to update "data.html" to "data/" for clarity. - Updated metadata.md to correct the link to the general documentation. - Modified navbar.md to ensure stub values match the new permalink structure. - Adjusted tables.md to reflect the new permalink for the table visualization page. - Updated about.md to change the permalink from "/about.html" to "/about/" and revised content for clarity and impact. - Changed browse.md permalink from "/browse.html" to "/browse/" for consistency. - Added copyright.md page with copyright information and terms of use. - Updated data.md to change permalink from "/data.html" to "/data/" and added introductory content. - Created donate.md page to facilitate donations and acknowledge supporters. - Updated locations.md permalink from "/locations.html" to "/locations/" for consistency. - Changed map.md permalink from "/map.html" to "/map/" for uniformity. - Added erasure.md page discussing the historical context of Black queer Kansas Citians. - Updated out-there.md to correct the link to Lea Hopkins' interview. - Changed subjects.md permalink from "/subjects.html" to "/subjects/" for consistency. - Updated timeline.md permalink from "/timeline.html" to "/timeline/" for uniformity.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% comment %}
|
||||
This include creates a modal pop up with data export options.
|
||||
The logic of which formats appear is based on config-nav stubs:
|
||||
if subject.html, map.html, location.html, or timeline.html are present,
|
||||
if subject.html, map/, location.html, or timeline.html are present,
|
||||
corresponding data formats will be available for download.
|
||||
{%- endcomment -%}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Mini Leaflet Map item feature.
|
||||
This include adds a small leaflet map.
|
||||
|
||||
E.G> --> {% include feature/mini-map.html latitude="46.725562" longitude="-117.009633" %}
|
||||
E.G> --> {% include feature/mini-map/ latitude="46.725562" longitude="-117.009633" %}
|
||||
|
||||
Options:
|
||||
- "objectid" = feature a specific item from your metadata that has lat long. Using this option will set the map center and add a single marker to the map.
|
||||
@@ -22,7 +22,7 @@
|
||||
</style>
|
||||
<div id="{{ map_id }}"></div>
|
||||
{% if include.map-link == true %}
|
||||
<a href="{{ '/map.html' | relative_url }}?location={{ map-item.latitude | default: include.latitude }},{{ map-item.longitude | default: include.longitude }}{%if include.objectid %}&marker={{ include.objectid }}{% endif %}" class="btn btn-outline-primary my-3">View on Full Map</a>{% endif %}
|
||||
<a href="{{ '/map/' | relative_url }}?location={{ map-item.latitude | default: include.latitude }},{{ map-item.longitude | default: include.longitude }}{%if include.objectid %}&marker={{ include.objectid }}{% endif %}" class="btn btn-outline-primary my-3">View on Full Map</a>{% endif %}
|
||||
<!-- load leaflet dependencies -->
|
||||
<link rel="stylesheet" href="{{ site.lib-assets | default: '/assets/lib' | relative_url }}/leaflet/leaflet.css">
|
||||
<link rel="stylesheet" href="{{ site.lib-assets | default: '/assets/lib' | relative_url }}/leaflet/leaflet.fullscreen.css">
|
||||
|
||||
@@ -31,4 +31,4 @@
|
||||
}
|
||||
</script>
|
||||
<!-- breadcrumbs schema -->
|
||||
<script type="application/ld+json">{"@context": "http://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "item": { "@id": "{{ "/" | absolute_url }}", "name": {{ site.title | jsonify }} } },{ "@type": "ListItem", "position": 2, "item": { "@id": "{{ '/browse.html' | absolute_url }}", "name": "Browse Collection" } },{ "@type": "ListItem", "position": 3, "item": { "@id": "{{ page.url | absolute_url }}", "name": {{ page.title | jsonify }} } }] }</script>
|
||||
<script type="application/ld+json">{"@context": "http://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "item": { "@id": "{{ "/" | absolute_url }}", "name": {{ site.title | jsonify }} } },{ "@type": "ListItem", "position": 2, "item": { "@id": "{{ '/browse/' | absolute_url }}", "name": "Browse Collection" } },{ "@type": "ListItem", "position": 3, "item": { "@id": "{{ page.url | absolute_url }}", "name": {{ page.title | jsonify }} } }] }</script>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
{%- assign count = templates | where_exp: 'item', 'item contains t' | size -%}
|
||||
{% if count > 0 %}
|
||||
{{ count }}
|
||||
<a class="text-dark" href="{{ '/browse.html' | relative_url }}#display_template:{{ t }}">{{ t | upcase | replace: "_", " " }}
|
||||
<a class="text-dark" href="{{ '/browse/' | relative_url }}#display_template:{{ t }}">{{ t | upcase | replace: "_", " " }}
|
||||
{% include helpers/get-icon-svg.html type="hidden" template=t %}</a><br>
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
@@ -40,7 +40,7 @@
|
||||
{{ others }} OTHER {% include helpers/get-icon-svg.html type="hidden" %}<br>{% endif %}{% endif %}
|
||||
{% if include.total == true %}
|
||||
{{ templates | size }} TOTAL ITEMS<br>{% endif %}
|
||||
<a class="btn btn-sm btn-{{ include.btn-color | default: 'outline-secondary' }} mt-2" href="{{ '/data.html' | relative_url }}">View table</a>
|
||||
<a class="btn btn-sm btn-{{ include.btn-color | default: 'outline-secondary' }} mt-2" href="{{ '/data/' | relative_url }}">View table</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -13,7 +13,7 @@
|
||||
{%- assign stubs = site.data.config-nav | map: 'stub' | join: ';' -%}
|
||||
<div class="card mb-3">
|
||||
<div class="card-body">
|
||||
<p><small>Download this collection's metadata in a variety of reusable formats. Beware of this archive's copyright information!</small></p>
|
||||
<p><small>Download this collection's metadata in a variety of reusable formats. Psst: <a href="/copyright/" target="_blank">check out this archive's copyright information before downloading!</a></small></p>
|
||||
<p class="card-text text-center">
|
||||
<a class="btn btn-sm btn-secondary m-1" href="{{ '/assets/data/metadata.csv' | relative_url }}" download>Metadata CSV</a>
|
||||
<a class="btn btn-sm btn-secondary m-1" href="{{ '/assets/data/metadata.json' | relative_url }}" target="_blank">Metadata JSON</a>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<div class="card-body">
|
||||
<{{ include.heading_level | default: 'h3' | strip }} class="card-title h5"></{{ include.heading_level | default: 'h3' | strip }}>
|
||||
<p class="card-text">{{ site.description }}</p>
|
||||
{%- assign about = site.data.config-nav | where: "stub","/about.html" | size -%}{% if about > 0 %}
|
||||
<a class="btn btn-{{ include.btn-color | default: 'primary' }}" href="{{ '/about.html' | relative_url }}" >Learn More »</a>{% endif %}
|
||||
{%- assign about = site.data.config-nav | where: "stub","/about/" | size -%}{% if about > 0 %}
|
||||
<a class="btn btn-{{ include.btn-color | default: 'primary' }}" href="{{ '/about/' | relative_url }}" >Learn More »</a>{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
{% if include.title %}<{{ include.heading_level | default: 'h2' | strip }} class="card-title h5">{{ include.title }}</{{ include.heading_level | default: 'h2' | strip }}>{% endif %}
|
||||
<p class="card-text">
|
||||
{% for s in topTerms %}
|
||||
<a class="btn btn-sm btn-{{ include.btn-color | default: 'primary' }} m-1" href="{{ s | strip | url_param_escape | prepend: ':' | prepend: termsField | prepend: '/browse.html#' | relative_url }}">{{ s | strip }}</a>{% endfor %}
|
||||
<a class="btn btn-sm btn-{{ include.btn-color | default: 'primary' }} m-1" href="{{ s | strip | url_param_escape | prepend: ':' | prepend: termsField | prepend: '/browse/#' | relative_url }}">{{ s | strip }}</a>{% endfor %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{% comment %}
|
||||
|
||||
Adds Bootstrap styled breadcrumbs to page.
|
||||
By default the crumbs are: Home (index.html) / Items (browse.html) / current page title (from the metadata, truncated to 10 words max).
|
||||
By default the crumbs are: Home (index.html) / Items (browse/) / current page title (from the metadata, truncated to 10 words max).
|
||||
|
||||
{%- endcomment -%}
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a class="text-dark" href="{{ '/' | relative_url }}">Home</a></li>
|
||||
<li class="breadcrumb-item"><a class="text-dark" href="{{ '/browse.html' | relative_url }}">Items</a></li>
|
||||
<li class="breadcrumb-item"><a class="text-dark" href="{{ '/browse/' | relative_url }}">Items</a></li>
|
||||
<li class="breadcrumb-item active text-dark" aria-current="page">{{ page.title | truncatewords: 10 }}</li>
|
||||
</ol>
|
||||
@@ -7,7 +7,7 @@
|
||||
{%- endcomment -%}
|
||||
<div class="text-center">
|
||||
<a class="btn btn-secondary" href="{{ page.previous_item | relative_url }}" id="prev-page-button">« Previous</a>
|
||||
<a class="btn btn-secondary" href="{{ '/browse.html' | relative_url }}">Back to Browse</a>
|
||||
<a class="btn btn-secondary" href="{{ '/browse/' | relative_url }}">Back to Browse</a>
|
||||
<a class="btn btn-secondary" href="{{ page.next_item | relative_url }}" id="next-page-button">Next »</a>
|
||||
</div>
|
||||
<div id="item-nav">
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
{% if page.date %}{%- capture year -%}{% if page.date contains "-" %}{{ page.date | split: "-" | first }}{% elsif page.date contains "/" %}{{ page.date | split: "/" | last }}{% else %}{{ page.date }}{% endif %}{%- endcapture -%}
|
||||
<a href="{{ year | strip | prepend: '/timeline.html#y' | relative_url }}" class="btn btn-outline-primary">View on Timeline</a>{% endif %}
|
||||
{% if page.latitude and page.longitude %}
|
||||
<a href="{{ '/map.html?location=' | append: page.latitude | append: ',' | append: page.longitude | append: '&marker=' | append: page.objectid | relative_url }}" class="btn btn-outline-primary">View on Map</a>{% endif %}
|
||||
<a href="{{ '/map/?location=' | append: page.latitude | append: ',' | append: page.longitude | append: '&marker=' | append: page.objectid | relative_url }}" class="btn btn-outline-primary">View on Map</a>{% endif %}
|
||||
|
||||
<div class="btn-group" role="group">
|
||||
<button class="btn btn-outline-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
{% if child.date %}{%- capture year -%}{% if child.date contains "-" %}{{ child.date | split: "-" | first }}{% elsif child.date contains "/" %}{{ child.date | split: "/" | last }}{% else %}{{ child.date }}{% endif %}{%- endcapture -%}
|
||||
<a href="{{ year | strip | prepend: '/timeline.html#y' | relative_url }}" class="btn btn-outline-primary">View on Timeline</a>{% endif %}
|
||||
{% if child.latitude and child.longitude %}
|
||||
<a href="{{ '/map.html?location=' | append: page.latitude | append: ',' | append: page.longitude | append: '&marker=' | append: page.objectid | relative_url }}" class="btn btn-outline-primary">View on Map</a>{% endif %}
|
||||
<a href="{{ '/map/?location=' | append: page.latitude | append: ',' | append: page.longitude | append: '&marker=' | append: page.objectid | relative_url }}" class="btn btn-outline-primary">View on Map</a>{% endif %}
|
||||
{% if child.object_location %}<a target="_blank" rel="noopener" href="{{ child.object_location | relative_url }}" class="btn btn-outline-primary">
|
||||
{% if child.display_template == 'video' and child.object_location contains 'vimeo' %}View on Vimeo{% elsif child.display_template == 'video' and child.object_location contains 'youtu' %}View on YouTube{% elsif child.display_template == 'record'%}Link to Object{% else %}Download {{ child.format | split: '/' | last | default: page.display_template | upcase }}{% endif %}
|
||||
</a>{% endif %}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
{% if f.browse_link == "true" %}
|
||||
{% assign topics = child[f.field] | split: ";" %}
|
||||
{% for t in topics %}
|
||||
<a class="me-3" href="{{ t | strip | url_param_escape | prepend: '/browse.html#' | relative_url }}">{{ t | strip }}</a>
|
||||
<a class="me-3" href="{{ t | strip | url_param_escape | prepend: '/browse/#' | relative_url }}">{{ t | strip }}</a>
|
||||
{% endfor %}
|
||||
{% elsif f.external_link == "true" %}
|
||||
<a href="{{ child[f.field] }}">{{ child[f.field] }}</a>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
{% if page.date %}{%- capture year -%}{% if page.date contains "-" %}{{ page.date | split: "-" | first }}{% elsif page.date contains "/" %}{{ page.date | split: "/" | last }}{% else %}{{ page.date }}{% endif %}{%- endcapture -%}
|
||||
<a href="{{ year | strip | prepend: '/timeline.html#y' | relative_url }}" class="btn btn-outline-primary">View on Timeline</a>{% endif %}
|
||||
{% if page.latitude and page.longitude %}
|
||||
<a href="{{ '/map.html?location=' | append: page.latitude | append: ',' | append: page.longitude | append: '&marker=' | append: page.objectid | relative_url }}" class="btn btn-outline-primary">View on Map</a>{% endif %}
|
||||
<a href="{{ '/map/?location=' | append: page.latitude | append: ',' | append: page.longitude | append: '&marker=' | append: page.objectid | relative_url }}" class="btn btn-outline-primary">View on Map</a>{% endif %}
|
||||
{% if page.object_location %}<a target="_blank" rel="noopener" href="{{ page.object_location | relative_url }}" class="btn btn-outline-primary">
|
||||
{% if page.display_template == 'video' and page.object_location contains 'vimeo' %}View on Vimeo{% elsif page.display_template == 'video' and page.object_location contains 'youtu' %}View on YouTube{% elsif page.display_template == 'record'%}Link to Object{% else %}Download {{ page.format | split: '/' | last | default: page.display_template | upcase }}{% endif %}
|
||||
</a>{% endif %}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
{% if f.browse_link == "true" %}
|
||||
{% assign topics = page[f.field] | split: ";" %}
|
||||
{% for t in topics %}
|
||||
<a class="me-3" href="{{ t | strip | url_param_escape | prepend: ':' | prepend: f.field | prepend: '/browse.html#' | relative_url }}">{{ t | strip }}</a>
|
||||
<a class="me-3" href="{{ t | strip | url_param_escape | prepend: ':' | prepend: f.field | prepend: '/browse/#' | relative_url }}">{{ t | strip }}</a>
|
||||
{% endfor %}
|
||||
{% elsif f.external_link == "true" %}
|
||||
<a href="{{ page[f.field] }}">{{ page[f.field] }}</a>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</style>
|
||||
<div id="mini-map"></div>
|
||||
{% if include.map-link == true %}
|
||||
<a href="{{ '/map.html?location=' | append: page.latitude | append: ',' | append: page.longitude | append: '&marker=' | append: page.objectid | relative_url }}" class="btn btn-outline-primary my-3">View on Full Map</a>{% endif %}
|
||||
<a href="{{ '/map/?location=' | append: page.latitude | append: ',' | append: page.longitude | append: '&marker=' | append: page.objectid | relative_url }}" class="btn btn-outline-primary my-3">View on Full Map</a>{% endif %}
|
||||
<!-- load leaflet dependencies -->
|
||||
<link rel="stylesheet" href="{{ site.lib-assets | default: '/assets/lib' | relative_url }}/leaflet/leaflet.css">
|
||||
<link rel="stylesheet" href="{{ site.lib-assets | default: '/assets/lib' | relative_url }}/leaflet/leaflet.fullscreen.css">
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
{% if include.shuffle == true %}shuffle(array);{% endif %}
|
||||
for (let i = 0; i < array.length; i++) {
|
||||
size = mapSize(array[i][1]);
|
||||
items += '<a class="btn btn-{{ include.button | default: "outline-primary" }} m-2 tagcloud' + size + '" href="{{ "/browse.html" | relative_url }}#' + array[i][2] + ':' + encodeURIComponent(array[i][0]) + '" >' + array[i][0] + '</a>';
|
||||
items += '<a class="btn btn-{{ include.button | default: "outline-primary" }} m-2 tagcloud' + size + '" href="{{ "/browse/" | relative_url }}#' + array[i][2] + ':' + encodeURIComponent(array[i][0]) + '" >' + array[i][0] + '</a>';
|
||||
}
|
||||
cloud.innerHTML = items;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user