Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 31 additions & 10 deletions _data/theme.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,49 @@


##########
# CollectionBuilder Theme Customization
# values set here help configure details of individual pages in the website
##########
## CB-Thread


# Essay or Monograph
# you can change the theme to match your content
# basically this changes your nav and banner;
base-theme: essay # essay or monograph

# FONTS
## use the below options to adjust for font size, text color, link color and font-family.
base-font-size: 1.3em
text-color: "#191919"
link-color: "#0d6efd"
base-font-family: Georgia # comment out for bootstrap defaults. e.g. Roboto
font-cdn: # add font stylesheet, e.g. <link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">


##########
# HOME PAGE
#
# featured image is used in home page banner and in meta markup to represent the collection
# the featured image is appears as either a full splash image, a half page image (great for book covers), or you can enter no-image in image style below for no image, just a title.
# use either an objectid (from an item in this collect), a relative location of an image in this repo, or a full url to an image elsewhere
image-style: full-image # full-image, half-image, or no-image
featured-image: /assets/img/writing-instruments.jpg
featured-image-credit: "General Research Division, The New York Public Library. 'An illustration of writing brushes' The New York Public Library Digital Collections. 1908. [https://digitalcollections.nypl.org/items/07caacb0-c6cc-012f-af8d-58d385a7bc34](https://digitalcollections.nypl.org/items/07caacb0-c6cc-012f-af8d-58d385a7bc34)"
featured-image-alt-text: "An illustration of writing brushes with Japanese labels" # add alt text if using url for featured-image (objectid will be automatic from metadata)

##########
# CollectionBuilder Theme Customization
# values set here help configure details of individual pages in the website
##########

##########
# HOME PAGE
#
# featured image is defined above
Comment on lines +37 to +39
Copy link

Copilot AI Nov 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate "HOME PAGE" section headers. Lines 22 and 37 both define "HOME PAGE" sections with similar comments. The structure should be reorganized to avoid this duplication and confusion about which section controls what.

Copilot uses AI. Check for mistakes.
# optional: add extra padding around collection title for a larger image feature.
home-title-y-padding: 10em # the margin from the top your title portion will appear.
# optional: change position of background image, center, top, bottom
home-banner-image-position: center # Default is top



##########
# Browse PAGE
#
Expand Down Expand Up @@ -106,12 +133,6 @@ navbar-background: bg-dark
# 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

# THEME FONTS [optional!]
base-font-size: 1.3em
text-color: "#191919"
link-color: "#0d6efd"
base-font-family: Georgia # comment out for bootstrap defaults. e.g. Roboto
font-cdn: # add font stylesheet, e.g. <link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">

# THEME ICONS [optional!]
# default icons can be overridden or new icons can be added using "icons" object
Expand Down
4 changes: 2 additions & 2 deletions _essay/of-a-monstrous-child.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: OF A MONSTROUS CHILD
byline: MICHEL DE MONTAIGNE
title: Of a Monstrous Child
byline: Michel de Montaigne
order: 5
---

Expand Down
11 changes: 8 additions & 3 deletions _essay/of-sleep.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: Of Sleep
byline: MICHEL DE MONTAIGNE
order: 4
---

Expand All @@ -9,12 +8,18 @@ order: 4

{% include essay/feature/aside-map.html latitude="46.725562" longitude="-117.009633" %}

Reason directs that we should always go the same way, but not always at the same pace. And, consequently, though a wise man ought not so much to give the reins to human passions as to let him deviate from the right path, he may, notwithstanding, without prejudice to his duty, leave it to them to hasten or to slacken his speed, and not fix himself like a motionless and insensible Colossus. {% include essay/feature/aside.html objectid="demo_004" %}Could virtue itself put on flesh and blood, I believe the pulse would beat faster going on to assault than in going to dinner: that is to say, there is a necessity she should heat and be moved upon this account. I have taken notice, as of an extraordinary thing, of some great men, who in the highest enterprises and most important affairs have kept themselves in so settled and serene a calm, as not at all to break their sleep. Alexander the Great, on the day assigned for that furious battle betwixt him and Darius, slept so profoundly and so long in the morning, that Parmenio was forced to enter his chamber, and coming to his bedside, to call him several times by his name, the time to go to fight compelling him so to do. The Emperor Otho, having put on a resolution to kill himself that night, after having settled his domestic affairs, divided his money amongst his servants, and set a good edge upon a sword he had made choice of for the purpose, and now staying only to be satisfied whether all his friends had retired in safety, he fell into so sound a sleep that the gentlemen of his chamber heard him snore. The death of this emperor has in it circumstances paralleling that of the great Cato, and particularly this just related for Cato being ready to despatch himself, whilst he only stayed his hand in expectation of the return of a messenger he had sent to bring him news whether the senators he had sent away were put out from the Port of Utica, he fell into so sound a sleep, that they heard him snore in the next room; and the man, whom he had sent to the port, having awakened him to let him know that the tempestuous weather had hindered the senators from putting to sea, he despatched away another messenger, and composing again himself in the bed, settled to sleep, and slept till by the return of the last messenger he had certain intelligence they were gone. We may here further compare him with Alexander in the great and dangerous storm that threatened him by the sedition of the tribune Metellus, who, attempting to publish a decree for the calling in of Pompey with his army into the city at the time of Catiline’s conspiracy, was only and that stoutly opposed by Cato, so that very sharp language and bitter menaces passed betwixt them in the senate about that affair; but it was the next day, in the forenoon, that the controversy was to be decided, where Metellus, besides the favour of the people and of Caesar—at that time of Pompey’s faction—was to appear accompanied with a rabble of slaves and gladiators; and Cato only fortified with his own courage and constancy; so that his relations, domestics, and many virtuous people of his friends were in great apprehensions for him; and to that degree, that some there were who passed over the whole night without sleep, eating, or drinking, for the danger they saw him running into; his wife and sisters did nothing but weep and torment themselves in his house; whereas, he, on the contrary, comforted every one, and after having supped after his usual manner, went to bed, and slept profoundly till morning, when one of his fellow-tribunes roused him to go to the encounter. The knowledge we have of the greatness of this man’s courage by the rest of his life, may warrant us certainly to judge that his indifference proceeded from a soul so much elevated above such accidents, that he disdained to let it take any more hold of his fancy than any ordinary incident.
Reason directs that we should always go the same way, but not always at the same pace. And, consequently, though a wise man ought not so much to give the reins to human passions as to let him deviate from the right path, he may, notwithstanding, without prejudice to his duty, leave it to them to hasten or to slacken his speed, and not fix himself like a motionless and insensible Colossus. {% include essay/feature/aside.html objectid="demo_014" gallery=false%}Could virtue itself put on flesh and blood, I believe the pulse would beat faster going on to assault than in going to dinner: that is to say, there is a necessity she should heat and be moved upon this account. I have taken notice, as of an extraordinary thing, of some great men, who in the highest enterprises and most important affairs have kept themselves in so settled and serene a calm, as not at all to break their sleep. {% include essay/feature/aside.html objectid="demo_020" %} Alexander the Great, on the day assigned for that furious battle betwixt him and Darius, slept so profoundly and so long in the morning, that Parmenio was forced to enter his chamber, and coming to his bedside, to call him several times by his name, the time to go to fight compelling him so to do. The Emperor Otho, having put on a resolution to kill himself that night, after having settled his domestic affairs, divided his money amongst his servants, and set a{% include essay/feature/aside.html objectid="demo_030" %} good edge upon a sword he had made choice of for the purpose, and now staying only to be satisfied whether all his friends had retired in safety, he fell into so sound a sleep that the gentlemen of his chamber heard him snore. The death of this emperor has in it circumstances paralleling that of the great Cato, and

{% include essay/feature/aside.html objectid="demo_028" %}

{% include essay/feature/aside.html objectid="demo_034" %}

particularly this just related for Cato being ready to despatch himself, whilst he only stayed his hand in expectation of the return of a messenger he had sent to bring him news whether the senators he had sent away were put out from the Port of Utica, he fell into so sound a sleep, that they heard him snore in the next room;{% include essay/feature/aside.html objectid="demo_003" %} and the man, whom he had sent to the port, having awakened him to let him know that the tempestuous weather had hindered the senators from putting to sea, he despatched away another messenger, and composing again himself in the bed, settled to sleep, and slept till by the return of the last messenger he had certain intelligence they were gone. We may here further compare him with Alexander in the great and dangerous storm that threatened him by the sedition of the tribune Metellus, who, attempting to publish a decree for the calling in of Pompey with his army into the city at the time of Catiline’s conspiracy, was only and that stoutly opposed by Cato, so that very sharp language and bitter menaces passed betwixt them in the senate about that affair; but it was the next day, in the forenoon, that the controversy was to be decided, where Metellus, besides the favour of the people and of Caesar—at that time of Pompey’s faction—was to appear accompanied with a rabble of slaves and gladiators; and Cato only fortified with his own courage and constancy; so that his relations, domestics, and many virtuous people of his friends were in great apprehensions for him; and to that degree, that some there were who passed over the whole night without sleep, eating, or drinking, for the danger they saw him running into; his wife and sisters did nothing but weep and torment themselves in his house; whereas, he, on the contrary, comforted every one, and after having supped after his usual manner, went to bed, and slept profoundly till morning, when one of his fellow-tribunes roused him to go to the encounter. The knowledge we have of the greatness of this man’s courage by the rest of his life, may warrant us certainly to judge that his indifference proceeded from a soul so much elevated above such accidents, that he disdained to let it take any more hold of his fancy than any ordinary incident.{% include essay/feature/aside.html objectid="demo_004" %}

{% include essay/new-section.html %}


In the naval engagement that Augustus won of Sextus Pompeius in Sicily, just as they were to begin the fight, he was so fast asleep that his friends were compelled to wake him to give the signal of battle: and this was it that gave Mark Antony afterwards occasion to reproach him that he had not the courage so much as with open eyes to behold the order of his own squadrons, and not to have dared to present himself before the soldiers, till first Agrippa had brought him news of the victory obtained. But as to the young Marius, who did much worse (for the day of his last battle against Sylla, after he had marshalled his army and given the word and signal of battle, he laid him down under the shade of a tree to repose himself, and fell so fast asleep that the rout and flight of his men could hardly waken him, he having seen nothing of the fight), he is said to have been at that time so extremely spent and worn out with labour and want of sleep, that nature could hold out no longer. Now, upon what has been said, the physicians may determine whether sleep be so necessary that our lives depend upon it: for we read that King Perseus of Macedon, being prisoner at Rome, was killed by being kept from sleep; but Pliny instances such as have lived long without sleep. Herodotus speaks of nations where the men sleep and wake by half-years, and they who write the life of the sage Epimenides affirm that he slept seven-and-fifty years together.
In the naval engagement that Augustus won of Sextus Pompeius in Sicily, just as they were to begin the fight, he was so fast asleep that his friends were compelled to wake him to give the signal of battle: and this was it that gave Mark Antony afterwards occasion to reproach him that he had not the courage so much as with open eyes to behold the order of his own squadrons, and not to have dared to present himself before the soldiers, till first Agrippa had brought him news of the victory obtained. But as to the young Marius, who did much worse (for the day{% include essay/feature/aside.html objectid="demo_024" %} of his last battle against Sylla, after he had marshalled his army and given the word and signal of battle, he laid him down under the shade of a tree to repose himself, and fell so fast asleep that the rout and flight of his men could hardly waken him, he having seen nothing of the fight), he is said to have been at that time so extremely spent and worn out with labour and want of sleep, that nature could hold out no longer. Now, upon what has been said, the physicians may determine whether sleep be so necessary that our lives depend upon it: for we read that King Perseus of Macedon, being prisoner at Rome, was killed by being kept from sleep; but Pliny instances such as have lived long without sleep. Herodotus speaks of nations where the men sleep and wake by half-years, and they who write the life of the sage Epimenides affirm that he slept seven-and-fifty years together.



3 changes: 2 additions & 1 deletion _includes/essay/feature/aside.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
- "objectid" = objectid from the collection metadata. If provided, will display the item with appropriate formatting based on its display_template (video, image, or pdf). If no objectid is provided, only text will be displayed (optional)
- "caption" = custom caption to override the item's title when using objectid (optional)
- "height" = maximum height for image asides in pixels, default "205px" (optional)
- "gallery" = set to false to link directly to item page instead of opening in spotlight viewer (optional, default true for media types)

{%- endcomment -%}<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="currentColor" class="bi bi-sticky align-top pt-2" viewBox="0 0 20 20"><path d="M2.5 1A1.5 1.5 0 0 0 1 2.5v11A1.5 1.5 0 0 0 2.5 15h6.086a1.5 1.5 0 0 0 1.06-.44l4.915-4.914A1.5 1.5 0 0 0 15 8.586V2.5A1.5 1.5 0 0 0 13.5 1zM2 2.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 .5.5V8H9.5A1.5 1.5 0 0 0 8 9.5V14H2.5a.5.5 0 0 1-.5-.5zm7 11.293V9.5a.5.5 0 0 1 .5-.5h4.293z"/></svg>{% if include.objectid %}{% assign item = site.data[site.metadata] | where: 'objectid', include.objectid | first %}{% if item.image_small or item.image_thumb %}{% include essay/feature/image-aside.html %}{% else %}{% capture item_link %}{{ '/items/' | relative_url }}{% if item.parentid %}{{ item.parentid }}.html#{{ item.objectid }}{% else %}{{ item.objectid }}.html{% endif %}{% endcapture %}<span class="aside"><span class="d-inline-flex align-items-center border rounded p-2 bg-light w-100"><span class="flex-shrink-0 text-center me-2" style="width:20%">{% include helpers/get-icon-svg.html template=item.display_template type="thumb" style=" width: 3em !important;height: 3em !important;" %}</span><span class="flex-grow-1"><a class="fs-6 text-dark stretched-link" href="{{ item_link }}" title="link to item page">{% if include.caption %}{{ include.caption }}{% else %}{{ item.title }}{% endif %} {% include feature/icon.html icon="box-arrow-up-right" label="link to page" class="ms-1 mini mb-1"%}</a></span></span>{% if include.text %}<br>{{ include.text }}{% endif %}</span>{% endif %}{% else %}<span class="aside">{{ include.text }}</span>{% endif %}
{%- endcomment -%}<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="currentColor" class="bi bi-sticky align-top pt-2" viewBox="0 0 20 20"><path d="M2.5 1A1.5 1.5 0 0 0 1 2.5v11A1.5 1.5 0 0 0 2.5 15h6.086a1.5 1.5 0 0 0 1.06-.44l4.915-4.914A1.5 1.5 0 0 0 15 8.586V2.5A1.5 1.5 0 0 0 13.5 1zM2 2.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 .5.5V8H9.5A1.5 1.5 0 0 0 8 9.5V14H2.5a.5.5 0 0 1-.5-.5zm7 11.293V9.5a.5.5 0 0 1 .5-.5h4.293z"/></svg>{% if include.objectid %}{% assign item = site.data[site.metadata] | where: 'objectid', include.objectid | first %}{% if item.image_small or item.image_thumb %}{% include essay/feature/image-aside.html %}{% else %}{% capture item_link %}{{ '/items/' | relative_url }}{% if item.parentid %}{{ item.parentid }}.html#{{ item.objectid }}{% else %}{{ item.objectid }}.html{% endif %}{% endcapture %}{% assign use_gallery = true %}{% if include.gallery == false or item.display_template == 'record' %}{% assign use_gallery = false %}{% endif %}{% assign is_media = false %}{% if item.display_template == "video" or item.display_template == "audio" or item.display_template == "pdf" %}{% assign is_media = true %}{% endif %}<span class="aside">{% if is_media and use_gallery %}<a class="spotlight gallery-img d-inline-flex align-items-center border rounded p-2 bg-light w-100" data-objectid="{{ item.objectid }}" style="text-decoration: none; cursor: pointer;" title="{{ item.title | escape }}"><span class="flex-shrink-0 text-center me-2" style="width:20%">{% include helpers/get-icon-svg.html template=item.display_template type="thumb" style="width: 3em !important;height: 3em !important;" %}</span><span class="flex-grow-1 text-dark"><span class="visually-hidden">Click to view</span>{% if include.caption %}{{ include.caption }}{% else %}{{ item.title }}{% endif %} <small>{% include feature/icon.html icon="arrows-fullscreen" label="view fullscreen" class="ms-1 mini mb-1"%}</small></span></a>{% else %}<span class="d-inline-flex align-items-center border rounded p-2 bg-light w-100"><span class="flex-shrink-0 text-center me-2" style="width:20%">{% include helpers/get-icon-svg.html template=item.display_template type="thumb" style="width: 3em !important;height: 3em !important;" %}</span><span class="flex-grow-1"><a class="fs-6 text-dark stretched-link" href="{{ item_link }}" title="link to item page">{% if include.caption %}{{ include.caption }}{% else %}{{ item.title }}{% endif %} {% include feature/icon.html icon="box-arrow-up-right" label="link to page" class="ms-1 mini mb-1"%}</a></span></span>{% endif %}{% if include.text %}<br>{{ include.text }}{% endif %}</span>{% endif %}{% else %}<span class="aside">{{ include.text }}</span>{% endif %}
Loading