forked from uidaholib/collectionbuilder-cdm-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
collections.html
73 lines (60 loc) · 3.16 KB
/
collections.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
layout: page
title: collection configurations
permalink: /coll-config/
---
{% assign items = site.data.digital %}
{% for item in items %}
<pre>
# Jekyll Digital Collection Generator
# Site settings
title: {{item.colltitle}}
# choose metadata, be sure to also change page_gen data setting!
metadata: {{item.path}} # check against cdm-collection-id below -- this should be used in config file as well
# repository variables (leave blank if self-contained)
# url for our CDM server
cdm-url: https://digital.lib.uidaho.edu
# contentdm collection name
cdm-collection-id: {{item.CDMID}} #
# header and head metadata
tagline: {{item.short_desc}}
description: "{{item.Description}}"
keywords: "{{item.Subjects}}" # describing the whole collection -- add to the two provided
author: # You! Add your github username
# home page and browse
home-banner-image-number: {%if item.image-number %}{{item.image-number}}{%endif%} # use number of photo from collection
home-banner-image-link: {%if item.image-number %}{%else%}{{item.Image}}{%endif%} # leave blank unless no cdm number to generate item
home-banner-image-title: {{item.ImageTitle}} from {{item.ImageLink}} # for accessibility
home-title-y-padding: 12em # the margin from the top your title portion will appear
featured-subjects: #separate semi-colon(';') - if left blank, will be automatically generated to create top 5 subjects
featured-subjects-max: 6 # set number of top subjects to display if auto generating
featured-locations: {{item.Location}} #separate by semi-colon(';') - if left blank, will be automatically generated to create top 5 locations
featured-locations-max: 3
mediatypes: {{item.MediaType}} #options[documents,images,video,sound,data] separate semi-colon(';')
# item page
browse-buttons: # true / false, adds previous/next arrows to items, but doubles build time
# map page
latitude: {{item.Lat}} #to determine center of map
longitude: {{item.Long}} #to determine center of map
zoom-level: {%if item.zoom%}{{item.zoom}}{%else%}10{%endif%}# zoom level for map
# subject page
subjects-off: true # true / false, turns off subject generation to lower dev build time (then page doesn't work!)
subject-min: 2 # min size for subject cloud, too many terms = slow load time!
stopwords: # need to figure out
# timeline
year-navigation: #"1900;1905;1910;1915;1920" # set years to appear in dropdown nav
year-nav-increment: 5 # set increments when auto gen nav years
# Theme Options
# navbar text color
# Choose from "navbar-light" for use with light background colors, or "navbar-dark" for dark background colors
navbar-color: navbar-dark
# navbar background color
# Choose from bg-primary, bg-secondary, bg-success, bg-danger, bg-warning, bg-info, bg-light, bg-dark, bg-white
navbar-background: bg-dark
# theme with Bootswatch (https://github.com/thomaspark/bootswatch)
# Choose from: cerulean; cosmo; cyborg; darkly; flatly; journal; litera; lumen; lux; materia; minty; pulse; sandstone; simplex; sketchy; slate; solar; spacelab; superhero; united; yeti
bootswatch: # leave blank or comment out for plain bootstrap
gh-repository: https://github.com/uidaholib/collectionbuilder-cdm-template
</pre>
<br /> <br /> <hr /> <br /> <br /> <br />
{%endfor%}