Skip to content

Commit 547878c

Browse files
committed
Yoga Sutra very soft launch
1 parent a561c73 commit 547878c

6 files changed

Lines changed: 42 additions & 8 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: "The Yoga Sūtra"
3+
authors:
4+
- "Śrī Patañjali"
5+
translator: "Khemarato Bhikkhu"
6+
external_url: "https://buddhistuniversity.net/patanjali-yoga-sutra/"
7+
source_url: "http://gretil.sub.uni-goettingen.de/gretil/corpustei/transformations/html/sa_pataJjali-yogasUtra-alt.htm"
8+
file_links:
9+
- "patanjali-yoga-sutra/YogaSutra.pdf"
10+
formats: [pdf]
11+
course: indic-religions
12+
tags:
13+
- yoga
14+
- new-age
15+
- tantric-roots
16+
# can add "path" tag after I add my commentary
17+
year: 2022
18+
month: jul
19+
publisher: "The Open Buddhist University Press"
20+
---
21+
22+
> Yoga is now explained.
23+
24+
According to contemporary scholarship, this Sanskrit classic, and foundational text for many contemporary Yogis, was originally written in the Fifth Century CE with more Buddhist ideas than "Hindu" ones, *pace* the protestations of later pundits and, indeed, most modern translations.
25+
26+
This new translation of Patañjali's text presents it through Buddhist eyes, without recourse to its traditional, Hindu commentaries.
27+
It presents a fascinating snapshot of early, medieval Indian religion and shows how hegemonic (yet increasingly contested) Buddhist soteriology was. Yet its value is not strictly historical, as the text remains an inspiring guide to spiritual development and practice today.

‎_content/reference/citation-helper.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Citation Helper"
2+
title: "Sutta Citation Helper"
33
external_url: "https://sutta.readingfaithfully.org/"
44
course: sutta
55
year: 2022

‎_tests/content.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A series of tests checking the integrity of the _content data
1212
| External URLs are Unique | {% assign ac = site.content | where_exp: "c", "c.external_url" %}{% assign seen = "" | split: "" %}{% assign dupes = "" | split: "" %}{% for c in ac %}{% if seen contains c.external_url %}{% unless dupes contains c.external_url %}{% assign dupes = dupes | push: c.external_url %}{% endunless %}{% else %}{% assign seen = seen | push: c.external_url %}{% endif %}{% endfor %}{% if dupes.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% if dupes.size > 0 %}Found these duplicate URLs: `{{ dupes | join: " " }}`{% else %}No duplicate URLs found.{% endif %}
1313
| Drive Links are Unique | {% assign ac = site.content | where_exp: "c", "c.drive_links" %}{% assign seen = "" | split: "" %}{% assign dupes = "" | split: "" %}{% for c in ac %}{% for d in c.drive_links %}{% if seen contains d %}{% unless dupes contains d %}{% assign dupes = dupes | push: d %}{% endunless %}{% else %}{% assign seen = seen | push: d %}{% endif %}{% endfor %}{% endfor %}{% if dupes.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% if dupes.size > 0 %}Found these duplicate links: `{{ dupes | join: " " }}`{% else %}No duplicate links found.{% endif %}
1414
| Course in tags | {% assign failures = site.content | where_exp: "c", "c.tags contains c.course" %}{% if failures.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | There are {{ failures.size }} pieces with the course in the tags{% if failures.size > 0 %}: {{ failures | map: "slug" | array_to_sentence_string }}{% endif %}.
15-
| Sane file_links | {% assign valid_buckets = "exclusive_01" | split: "," %}{% assign hostedcontent = site.content | where_exp: "c", "c.file_links.size > 0" %}{% assign fs = '' | split: '' %}{% for c in hostedcontent %}{% for l in c.file_links %}{% assign s = l | split: "/" %}{% if valid_buckets contains s[0] %}{% if s contains "blob" %}{% assign fs = fs | push: c %}{% endif %}{% else %}{% assign fs = fs | push: c %}{% endif %}{% endfor %}{% endfor %}{% if fs.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% assign count = hostedcontent.size | minus: fs.size %}{% if count > 0 %}There are {{ count }} sane links{% endif %}{% if fs.size > 0 %}The {{ fs.size }} pieces with bad buckets are: {% for c in fs %}[{{ c.title | split: ":" | first }}]({{ c.url }}) {% endfor %}{% endif %}
15+
| Sane file_links | {% assign valid_buckets = "exclusive_01,patanjali-yoga-sutra" | split: "," %}{% assign hostedcontent = site.content | where_exp: "c", "c.file_links.size > 0" %}{% assign fs = '' | split: '' %}{% for c in hostedcontent %}{% for l in c.file_links %}{% assign s = l | split: "/" %}{% if valid_buckets contains s[0] %}{% if s contains "blob" %}{% assign fs = fs | push: c %}{% endif %}{% else %}{% assign fs = fs | push: c %}{% endif %}{% endfor %}{% endfor %}{% if fs.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% assign count = hostedcontent.size | minus: fs.size %}{% if count > 0 %}There are {{ count }} sane links{% endif %}{% if fs.size > 0 %}The {{ fs.size }} pieces with bad buckets are: {% for c in fs %}[{{ c.title | split: ":" | first }}]({{ c.url }}) {% endfor %}{% endif %}
1616
| file_links match formats | {% assign fs = '' | split: '' %}{% for c in hostedcontent %}{% for l in c.file_links %}{% assign ee = l | split: "." | last %}{% unless ee == c.formats[forloop.index0] %}{% assign fs = fs | push: c %}{% endunless %}{% endfor %}{% endfor %}{% if fs.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% assign count = hostedcontent.size | minus: fs.size %}{% if count > 0 %}There are {{ count }} sane formats.{% endif %}{% if fs.size > 0 %} The {{ fs.size }} pieces with bad formats are: {% for c in fs %}[{{ c.title | split: ":" | first }}]({{ c.url }}) {% endfor %}{% endif %}
1717
| Negative Pages | {% assign fails = '' | split: '' %}{% for cont in site.content %}{% unless cont.pages %}{% continue %}{% endunless %}{% if cont.pages contains "--" %}{% assign ps = cont.pages | split: "--" %}{% assign ps = 1 | plus: ps[1] | minus: ps[0] %}{% if ps < 1 %}{% assign fails = fails | push: cont %}{% endif %}{% else %}{% if cont.pages < 1 %}{% assign fails = fails | push: cont %}{% endif %}{% endif %}{% endfor %}{% if fails.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | Found {{ fails.size }} with negative pages{% if fails.size > 0 %}: {{ fails | map: "path" | array_to_sentence_string }}{% endif %}
1818
| Missing Author Pages | {% assign expect = '' | split: '' %}{% for cont in site.content %}{% for auth in cont.authors %}{% unless auth contains " " %}{% unless expect contains auth %}{% assign expect = expect | push: auth %}{% endunless %}{% endunless %}{% endfor %}{% endfor %}{% assign grouped = expect | group_by_exp: "auth", "site.authors | where: 'slug', auth | size" %}{% for group in grouped %}{% if group.name == 0 %}{% assign failed = group.items %}{% else %}{% assign found = group.items %}{% endif %}{% endfor %}{% if expect.size == found.size %}Pass ✅{% else %}FAIL ❌{% endif %} | Of the {{ expect.size }} authors cited, {{ found.size }} of them are in the database. {% if failed.size > 0 %}Failed to find author pages for: {{ failed | array_to_sentence_string }}{% endif %}

‎courses.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ We currently offer {{ site.data.course_order.size }} courses on the fundamentals
3636

3737
### Key
3838

39-
- Click the course title to view it
39+
- Click the course title to view the course
4040
- <i class="fas fa-chalkboard-teacher"></i> = A unique icon to identify the course
4141
- <i class="fas fa-person-chalkboard"></i> = Lectures by:
4242
- <i class="far fa-address-book"></i> = Books by:
@@ -119,7 +119,7 @@ Courses hosted on other websites.
119119
<div class="coursedesc">
120120
<div class="descrow">
121121
<div onclick="goto('https://youtube.com/playlist?list=PL848F2368C90DDC3D',3)" class="cicon"><i class="fas fa-person-circle-exclamation"></i></div>
122-
<div class="cdesc">Robert Sapolsky's classic Stanford course explains what makes people tick and should be considered required watching for anyone who interacts with humans. His lectures went on to become a 2017 best-seller: <i>The Biology of Humans at Our Best and Worse</i>.</div>
122+
<div class="cdesc">Robert Sapolsky's classic Stanford course explains what makes people tick and should be considered required watching for anyone who interacts with humans. This lecture series would go on to become the 2017 NYT best-seller, <i>Behave: The Biology of Humans at Our Best and Worse</i>.</div>
123123
<div class="ccredits"><i class="fas fa-weight-hanging"></i> 2</div>
124124
</div>
125125
</div>

‎exclusive.md‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,18 @@ layout: page
77

88
Here you will find links to the content on the site which is difficult to find elsewhere: either because it went offline, it was edited, or because it's a file that was previously circulating offline. They are collected here in the hope that it will be useful to other collectors. You can [download a zip archive containing most of these files here](https://github.com/buddhist-uni/exclusive_01/archive/main.zip).
99

10+
## Works by Type
11+
- [Articles](#articles)
12+
- [Audio](#av)
13+
- [Essays](#essays)
14+
- [Papers](#papers)
15+
- [Reference Shelf](#reference)
16+
1017
<div>
11-
{% assign categories = "av,essays,articles,papers,reference" | split: ',' %}
18+
{% assign categories = "articles,av,essays,papers,reference" | split: ',' %}
1219
{% for category_slug in categories %}
1320
{% assign category = site.categories | find: "slug", category_slug %}
14-
<h1>{{ category.title }}</h1>
21+
<h2 id="{{ category.slug }}">{{ category.title }}</h2>
1522
{% assign contents = site.content | where: "category", category_slug %}
1623
{% assign contents = contents | where_exp: "c", "c.drive_links.size > 0" %}
1724
{% assign contents = contents | where_exp: "c", "c.external_url == nil" %}

‎library.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The same, great content featured in [the courses]({% link courses.md %}) along w
1919
You can explore the library by:
2020
{:.mb-0}
2121

22-
### [<i class="fas fa-tag"></i> Topic]({% link tags.html %})
22+
### [<i class="fas fa-tag"></i> Topics]({% link tags.html %})
2323
Find a topic that interests you in the topic index or simply start from the top ([at "_Buddhism_")]({% link _tags/buddhism.md %}) and explore the library "room by room" by clicking on the "[Subtopic links](/tags/buddhism#children)" at the bottom of each bibliography. (Note that individual items in the library may appear in multiple bibliographies if they are tagged with multiple subjects.)
2424

2525
### [<i class="fas fa-medal"></i> Timeline]({% link highlights.html %})
@@ -38,7 +38,7 @@ If there's a particular author you want to hear more from or you just want to ge
3838
The content type pages contain the canonical list of everything in the library.
3939

4040
### [<i class="fab fa-google-drive"></i> Google Drive&#8482;](https://drive.google.com/open?id=1RJi6bEXa25zizGdsm5evCycYuY6a2D8r){:target="_blank" ga-event-value="{{ site.data.ga.drive_folder_value }}"}
41-
This website started off as a Google Drive folder, which still serves as this website's primary file server. The Google Drive folder contains roughly the same content as this site, arranged similarly, just missing a few links here and there and containing a few extra goodies that haven't yet found their way over here. If you're looking for offline saving or are an avid user of Google Drive, this link is for you.
41+
This website started off as a Google Drive folder, which still serves as this website's primary file server. The Google Drive folder contains roughly the same content as this site, arranged similarly, just missing a few links here and there and containing a few extra goodies that haven't yet found their way over here. If you're an avid user of Google Drive, this link is for you.
4242

4343
### <i class="fas fa-database"></i> For Librarians, Academics, and Other Collectors
4444

0 commit comments

Comments
 (0)