Skip to content

Commit

Permalink
Bunch o Bits
Browse files Browse the repository at this point in the history
  • Loading branch information
Porges committed Oct 2, 2023
1 parent d6a8430 commit 49119de
Show file tree
Hide file tree
Showing 19 changed files with 1,768 additions and 420 deletions.
599 changes: 518 additions & 81 deletions bibliography.yaml

Large diffs are not rendered by default.

18 changes: 15 additions & 3 deletions references.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ export function renderReference(ref: BiblioRef): string {
+ renderAuthors(ref)
+ renderDate(ref)
+ renderTitle(ref)
+ ('series' in ref ? renderSeries(ref, '; ', '') : '')
+ '. '
+ renderEditor(ref)
+ renderTranslator(ref)
+ renderSeries(ref, '; ', '')
+ '. '
+ renderPatentBits(ref)
+ renderContainer(ref)
+ (ref.type === 'thesis' ? ` ${ref.genre}, ` : '')
Expand Down Expand Up @@ -187,7 +188,18 @@ const renderAuthors = (reference: Reference) => {

function renderTranslator(reference: Reference) {
if ('translator' in reference && reference.translator) {
return ` Translated by ${renderPeople(reference.translator, false, false, 'translator')}. `
return `, translated by ${renderPeople(reference.translator, false, false, 'translator')}`;
}

return '';
}

function renderEditor(reference: Reference) {
if (reference.author !== undefined) {
// if author was not present we would have shown editor as author
if ('editor' in reference && reference.editor) {
return `, edited by ${renderPeople(reference.editor, false, false, 'editor')}`;
}
}

return '';
Expand Down
2 changes: 1 addition & 1 deletion src/articles/cards/japan/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ originalUrl="https://collections.mfa.org/objects/403615/a-very-popular-cardplayi
Unknown author (1908)
{% imageEnd %}

After being introduced by Portuguese sailors and merchants in the late 16th century,[@DragonsOfPortugal] playing cards in Japan underwent a long period of “speciation” due to the isolationist [<span lang="ja-Latn">sakoku</span>](https://en.wikipedia.org/wiki/Sakoku) (<span lang="ja">鎖国</span>, ‘closed country’) policy of the <span lang="ja-Latn" class="noun">Tokugawa</span> shōgunate which, severely limited contact with the outside world for over 200 years.
After being introduced by Portuguese sailors and merchants in the late 16th century,[@DragonsOfPortugal] playing cards in Japan underwent a long period of “speciation” due to the isolationist [<span lang="ja-Latn">sakoku</span>](https://en.wikipedia.org/wiki/Sakoku) (<span lang="ja">鎖国</span>, ‘closed country’) policy of the <span lang="ja-Latn" class="noun">Tokugawa</span> shōgunate which severely limited contact with the outside world for over 200 years.

Cut off from their original source, these playing cards were developed in new and surprising ways. Decks were increased in complexity by adding more ranks or additional suits. Later on, new variants were introduced to circumvent anti-gambling laws, to obscure the true nature of the cards as gambling implements, or to simplify existing decks by removing suits or ranks.

Expand Down
Loading

0 comments on commit 49119de

Please sign in to comment.