Skip to content

Commit 9b1629b

Browse files
committed
3 ANs
1 parent bb7957d commit 9b1629b

8 files changed

Lines changed: 69 additions & 5 deletions

File tree

‎_content/canon/an10.30.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: "AN 10.30 Dutiyakosala Sutta: The Second Discourse at Kosala"
3+
translator: bodhi
4+
slug: "an.010.030"
5+
external_url: "https://suttacentral.net/an10.30/en/bodhi"
6+
drive_links:
7+
- "https://drive.google.com/file/d/1Voq7qrc4Isb3MYYss02spoVYeP3P4hTb/view?usp=drivesdk"
8+
course: ethics
9+
tags:
10+
- state
11+
- an
12+
year: 2012
13+
pages: 3
14+
---
15+
16+
> King Pasenadi of Kosala had returned from the war front, victorious in battle, his purpose having been achieved. Then King Pasenadi of Kosala set out for the park.

‎_content/canon/an3.104.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: "AN 3.104 Paṭhamaassāda Sutta: Gratification"
3+
translator: sujato
4+
slug: "an.003.104"
5+
external_url: "https://suttacentral.net/an3.104/en/sujato"
6+
drive_links:
7+
- "https://drive.google.com/file/d/1-rrZ4DKhqFRShgbv4JPMpWmD6AHDVRb7/view?usp=drivesdk"
8+
course: vipassana
9+
tags:
10+
- emptiness
11+
- buddha
12+
- an
13+
year: 2018
14+
pages: 1
15+
---
16+
17+
> I went in search of the world’s gratification, and I found it.

‎_content/canon/an4.24.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: "AN 4.24 Kāḷakārāma Sutta: At Kāḷaka’s Monastery"
3+
translator: bodhi
4+
slug: "an.004.024"
5+
external_url: "https://suttacentral.net/an4.24/en/bodhi"
6+
drive_links:
7+
- "https://drive.google.com/file/d/1_qER_84CL_wK_DYZLMNlzqQkto1bMd7V/view?usp=drivesdk"
8+
course: epistemology
9+
tags:
10+
- buddha
11+
- iddhi
12+
- an
13+
year: 2012
14+
pages: 2
15+
---
16+
17+
> whatever is seen, heard, sensed, cognized, reached, sought after, examined by the mind—that I know.

‎_courses/ethics.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,9 @@ In Part 3 we return to Peter Harvey's *Introduction* and, chapter by chapter, en
311311
{% include content_blurb.html category="essays" slug="war-and-peace_bodhi-geoff" %}
312312
- An argument between two highly respected Theravada monks on the subject of whether war can ever be justified, Bhikkhu Bodhi wonders out loud, “War: what _is_ it good for?” and Thanissaro Bhikkhu responds with, “Absolutely nothing!”
313313

314+
{% include content_blurb.html category="canon" slug="an10.30" %}
315+
- What do you make of the King's behavior here? Is he a sincere Buddhist? And what do you think of the Buddha's reaction?
316+
314317
{% include content_blurb.html category="essays" slug="war-bright-and-dark_sujato" %}
315318
- Bhante Sujato replies to Bhikkhus Bodhi and Thanissaro, reminding them that the Buddha's ethical tetralemma avoids such harsh dualities as "should" and "must not"
316319

‎_data/drive_folders.json‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
"public": null,
88
"private": "https://drive.google.com/drive/folders/1xiSsjPQ6RUwYL_T4PTa2tqMWBES2uoAC"
99
},
10+
"epistemology": {
11+
"public": "https://drive.google.com/drive/folders/1HQ31JiRVpz6ErB_3_7kFveHgxKc3f7jm",
12+
"private": "https://drive.google.com/drive/folders/1GTs6GMS4jI_OTJ-Osho-DZ-r3ACNRxhQ"
13+
},
1014
"ethics": {
1115
"public": "https://drive.google.com/drive/folders/1-YQu-rB2CsfWNHrHhmt9NPEfHuqzGpQ_",
1216
"private": "https://drive.google.com/drive/folders/1C71RS4k0cj_ThiA2MXZgWP3-c8mvNGCT"
@@ -54,5 +58,9 @@
5458
"view": {
5559
"public": "https://drive.google.com/drive/folders/10eW0WUeTrF7_GLU_efLIQlrteSbxz474",
5660
"private": "https://drive.google.com/drive/folders/1-7bf0OjhlyX7luG2xbu9e0pBQ5B-Ss95"
61+
},
62+
"vipassana": {
63+
"public": "https://drive.google.com/drive/folders/102NYa-Ku2RGNLwU0DBT1tPlRAyZbRrq0",
64+
"private": "https://drive.google.com/drive/folders/1KO0ab5Y56Pcsql0yDuTSj4L_85PKb_pA"
5765
}
5866
}

‎_plugins/content-derived-fields.rb‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ module ContentDerivedFields
2121
}
2222
@@etm[:offset] = @@etm[:x_inter] / @@etm[:y_asymt]
2323
def self.expected_mins(item)
24-
mins = item.data['minutes'].to_f
25-
if item.data['page_count'] and mins == 0
26-
mins = item.data['page_count'].to_f * @@etm[:mins_per_page]
27-
end
24+
mins = item.data['total_mins'].to_f
2825
if mins == 0
2926
return nil
3027
end
@@ -93,6 +90,11 @@ def self.base_stars_for_item(item)
9390
a, b = item.data['pages'].to_s.split('--').map(&:to_i)
9491
item.data['page_count'] = b - a + 1
9592
end
93+
item.data['total_mins'] = item.data['minutes'].to_f
94+
if item.data['page_count'] and !(item.data['minutes'])
95+
item.data['total_mins'] = item.data['page_count'].to_f * @@etm[:mins_per_page]
96+
end
97+
item.data['course_mins'] = (item.data['total_mins'] * item.data['course_time_multiplier']).round()
9698

9799
# set the expected value of downloading this item
98100
# note this relies on many of the previously computed field values!

‎_tags/vinaya-pitaka.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ big_height: 1707
2323
footer_info: <a href="https://commons.wikimedia.org/wiki/File:Monks_in_Wat_Phra_Singh_-_Chiang_Mai.jpg">JJ Harrison</a>, <a href="https://creativecommons.org/licenses/by-sa/3.0">CC BY-SA 3.0</a>
2424
---
2525

26-
The *Vinaya Piṭaka* is the first section of the *Pāli Canon*. It contains the code of conduct for the [monks and nuns](/tags/monastic) of the [Theravada tradition](/tags/theravada) along with many entertaining stories from the early sangha.
26+
The *Vinaya Piṭaka* is the first section of the *Pāli Canon*. It contains the code of conduct for the [monks and nuns](/tags/monastic) of the [Theravada tradition](/tags/theravada) along with many entertaining stories from the early saṅgha.
2727

‎_tests/similar_content.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ test_cases:
5252
- [rewriting-buddhism_gornall-alastair, idea-of-the-pali-canon_collins-steven]
5353
- [chithurst-story_sharp-george, comes-to-sussex_bbc]
5454
- [kalmyks_dhammika, siberian-revival_journeyman]
55+
- [understanding-comics_mccloud-scott, picturing-our-thoughts_lehrer]
5556
partial_cases:
5657
- [map-of-jambudipa, maps-of-ancient-india_anandajoti]
5758
- [rewriting-buddhism_gornall-alastair, idea-of-the-pali-canon_collins-steven]

0 commit comments

Comments
 (0)