reconnect
This commit is contained in:
5
.github/_includes/head/analytics.html
vendored
Normal file
5
.github/_includes/head/analytics.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{% comment %}
|
||||
Paste analytics code snippet here as provided by your platform (for example from Google Analytics or Matomo).
|
||||
To avoid collecting stats from your development server, this code will be added to the head of every page ONLY during production build!
|
||||
{% endcomment %}
|
||||
<!-- Analytics -->
|
||||
38
.github/_includes/head/head.html
vendored
Normal file
38
.github/_includes/head/head.html
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>{{ page.title | escape }} | {{ site.title | escape }}</title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}">
|
||||
<!--
|
||||
|
||||
_____ ____ __ _ ___ _ __ __
|
||||
/ ___/__ / / /__ ____/ /_(_)__ ___ / _ )__ __(_) /__/ /__ ____
|
||||
/ /__/ _ \/ / / -_) __/ __/ / _ \/ _ \/ _ / // / / / _ / -_) __/
|
||||
\___/\___/_/_/\__/\__/\__/_/\___/_//_/____/\_,_/_/_/\_,_/\__/_/
|
||||
|
||||
built with CollectionBuilder-CSV
|
||||
https://github.com/CollectionBuilder/collectionbuilder-csv
|
||||
-->
|
||||
<meta name="generator" content="collectionbuilder-csv" />
|
||||
<meta http-equiv="Content-Language" content="en-us" >
|
||||
|
||||
<!-- load style sheets -->
|
||||
{% if site.data.theme.font-cdn %}{{ site.data.theme.font-cdn }}{%- endif -%}
|
||||
<link rel="stylesheet" href="{% if site.data.theme.bootswatch %}https://cdn.jsdelivr.net/npm/bootswatch@5.3.8/dist/{{ site.data.theme.bootswatch }}/bootstrap.min.css{% else %}{{ site.lib-assets | default: '/assets/lib' | relative_url }}/bootstrap.min.css{% endif %}" type="text/css">
|
||||
{% if page.layout == 'data' %}<link rel="stylesheet" type="text/css" href="{{ site.lib-assets | default: '/assets/lib' | relative_url }}/datatables/datatables.min.css">{%- endif -%}
|
||||
{% if page.layout == 'map' %}<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">
|
||||
{% if site.data.theme.map-search == true %}<link rel="stylesheet" href="{{ site.lib-assets | default: '/assets/lib' | relative_url }}/leaflet/leaflet.fusesearch.css">{%- endif -%}
|
||||
{% if site.data.theme.map-cluster == true %}<link rel="stylesheet" href="{{ site.lib-assets | default: '/assets/lib' | relative_url }}/leaflet/MarkerCluster.css">
|
||||
<link rel="stylesheet" href="{{ site.lib-assets | default: '/assets/lib' | relative_url }}/leaflet/MarkerCluster.Default.css">{% endif %}{%- endif -%}
|
||||
<!-- load custom css last to allow overrides -->
|
||||
<link rel="stylesheet" href="{{ '/assets/css/cb.css' | relative_url }}" type="text/css">
|
||||
|
||||
{% comment %}
|
||||
Meta tags and analytics are added during production build ONLY
|
||||
{%- endcomment -%}
|
||||
{% if jekyll.environment == "production" %}
|
||||
{% if layout.item-meta %}{% include head/item-meta.html %}{% else %}{% include head/page-meta.html %}{% endif %}
|
||||
{% include head/analytics.html %}
|
||||
{%- endif -%}
|
||||
{% if site.noindex == true or page.noindex == true or layout.noindex == true %}<meta name="robots" content="noindex" />{% endif %}
|
||||
<!-- Last build date: {{ site.time | date: "%Y-%m-%d" }} -->
|
||||
34
.github/_includes/head/item-meta.html
vendored
Normal file
34
.github/_includes/head/item-meta.html
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
{% if page.subject %}<meta name="keywords" content="{{ page.subject | escape }}" >{% endif %}
|
||||
{% if page.description %}<meta name="description" content="Item from {{ site.title | escape }}: {{ page.description | truncatewords: 25 | escape }}">{% endif %}
|
||||
<!-- DC meta -->
|
||||
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" />
|
||||
{%- assign dc-fields = site.data.config-metadata | where_exp: 'item', 'item.dc_map != nil' -%}
|
||||
{% for f in dc-fields %}{% if page[f.field] %}<meta name="{{ f.dc_map | xml_escape }}" content="{{ page[f.field] | truncatewords: 25 | xml_escape }}" xml:lang="en" />
|
||||
{% endif %}{% endfor %}
|
||||
{% if site.organization-name %}<meta name="DCTERMS.publisher" content="{{ site.organization-name | escape }}" xml:lang="en" />{% endif %}
|
||||
<!-- Open Graph meta -->
|
||||
<meta property="og:title" content="{{ page.title | escape }}" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:description" content="Item from {{ site.title | escape }}. {{ page.description | truncatewords: 30 | escape }}" />
|
||||
{% if page.image_small or page.image_thumb %}
|
||||
<meta property="og:image" content="{{ page.image_small | default: page.image_thumb | relative_url }}" />
|
||||
<meta property="og:image:alt" content="{{ page.title | escape }}" />{% endif %}
|
||||
<meta property="og:site_name" content="{{ site.title | escape }}" />
|
||||
<meta property="og:url" content="{{ page.url | absolute_url }}" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<!-- schema.org JSON-LD -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "CreativeWork",
|
||||
{%- assign sc-fields = site.data.config-metadata | where_exp: 'item', 'item.schema_map != nil' -%}
|
||||
{% for f in sc-fields %}{% if page[f.field] %}
|
||||
"{{ f.schema_map }}": {{ page[f.field] | jsonify }},{% endif %}{% endfor %}
|
||||
"isPartOf": {{ site.title | jsonify }},
|
||||
{% if page.image_small %}"image": "{{ page.image_small | relative_url }}",{% endif %}
|
||||
{% if page.image_thumb %}"thumbnailUrl": "{{ page.image_thumb | relative_url }}",{% endif %}
|
||||
"url": {{ page.url | absolute_url | jsonify }}
|
||||
}
|
||||
</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/' | absolute_url }}", "name": "Browse Collection" } },{ "@type": "ListItem", "position": 3, "item": { "@id": "{{ page.url | absolute_url }}", "name": {{ page.title | jsonify }} } }] }</script>
|
||||
24
.github/_includes/head/page-meta.html
vendored
Normal file
24
.github/_includes/head/page-meta.html
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
<meta name="description" content="{{ site.description | escape }}">
|
||||
{% if site.author or site.organization-name %}<meta name="author" content="{% if site.author %}{{ site.author | escape }}; {% endif %}{{ site.organization-name | escape }}" >{% endif %}
|
||||
{% if site.keywords %}<meta name="keywords" content="{{ site.keywords | escape }}">{% endif %}
|
||||
<!-- DC meta -->
|
||||
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" />
|
||||
<meta name="DCTERMS.title" content="{{ page.title | escape }}, {{ site.title | escape }}" xml:lang="en" />
|
||||
{% if site.author or site.organization-name %}<meta name="DCTERMS.creator" content="{{ site.author | default: site.organization-name | escape }}" xml:lang="en" />{% endif %}
|
||||
{% if site.organization-name %}<meta name="DCTERMS.publisher" content="{{ site.organization-name | escape }}" xml:lang="en" />{% endif %}
|
||||
<meta name="DCTERMS.date" content="{{ site.time | date: '%Y' }}" xml:lang="en" />
|
||||
<meta name="DCTERMS.description" content="{{ site.description | escape }}" xml:lang="en" />
|
||||
|
||||
<!-- Open Graph meta -->
|
||||
<meta property="og:title" content="{% if page.title %}{{ page.title | escape }}, {% endif %}{{ site.title | escape }}" />
|
||||
<meta property="og:description" content="{{ site.description | escape }}" />
|
||||
<meta property="og:site_name" content="{{ site.title | escape }}" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="{{ site.data.featured_item.src | relative_url }}" />
|
||||
<meta property="og:image:alt" content="{{ site.data.featured_item.alt | escape }}" />
|
||||
<meta property="og:url" content="{{ page.url | absolute_url }}" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<!-- schema.org JSON-LD -->
|
||||
<script type="application/ld+json">{"@context":"http://schema.org","@type":"WebPage","headline":"{% if page.title %}{{ page.title | escape }}, {% endif %}{{ site.title | escape }}","publisher": { "@context": "https://schema.org", "@type": "Organization", "name": "{{ site.organization-name }}", "url": "{{ site.organization-link }}", "logo": "{{ site.organization-logo-banner }}" },"description":{{ site.description | jsonify }},"image":"{{ site.data.featured_item.src | relative_url }}","url":"{{ page.url | absolute_url }}"}</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": "{{ page.url | absolute_url }}", "name": {{ page.title | jsonify }} } }] }</script>
|
||||
Reference in New Issue
Block a user