Skip to content

Commit ec4a20c

Browse files
committed
a book
1 parent cda2b8f commit ec4a20c

7 files changed

Lines changed: 34 additions & 6 deletions

File tree

‎_authors/abhayagiri.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ In 1988, lay disciples of Ajahn Chah's student [Ajahn Sumedho](/authors/sumedho)
88

99
Efforts to establish a California monastery moved slowly until 1995, when Venerable Master Hsüan Hua, the founding abbot of [The City of Ten Thousand Buddhas (CTTB)](http://www.cttbusa.org/), approached his death. He instructed his students to give Ajahn Chah’s disciples 120 acres of CTTB-owned forested property in Redwood Valley. Master Hua had made a point of stating that it had been his life’s dream to bring the northern and southern traditions of Buddhism together again. His open-hearted offering enabled the communities (just 15 miles apart) to be physically close and to relate to each other with an atmosphere of mutual respect and harmony.
1010

11-
Venerable [Ajahn Pasanno](/authors/pasanno) and Venerable Ajahn Amaro guided the monastery as co-abbots starting in 1996. In 2010, Ajahn Amaro accepted an invitation to serve as abbot of [Amaravati Buddhist Monastery](/publishers/amaravati) in England, leaving Ajahn Pasanno to lead the community for the next eight years. In the spring of 2018, Ajahn Pasanno stepped back from his role of abbot to enter a year-long retreat, after which he returned to Abhayagiri as its Guiding Elder. The monastery is now under the leadership of co-abbots Ajahn Karuṇadhammo and Ajahn Ñāniko.
11+
Venerable [Ajahn Pasanno](/authors/pasanno) and Venerable Ajahn Amaro guided the monastery as co-abbots starting in 1996. In 2010, Ajahn Amaro accepted an invitation to serve as abbot of [Amaravati Buddhist Monastery](/publishers/amaravati) in England, leaving Ajahn Pasanno to lead the community for the next eight years. In the spring of 2018, Ajahn Pasanno stepped back from his role of abbot to enter a year-long retreat, after which he returned to Abhayagiri as its Guiding Elder. The monastery is now under the leadership of Ajahn Ñāniko.
1212

1313
*~ From [Abhayagiri's website](https://www.abhayagiri.org/home/)*

‎_authors/anandabodhi.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "Ayya Anandabodhi"
33
---
4-
Ayya Anandabodhi lived and trained as a nun in the Forest Tradition at Amaravati and Chithurst monasteries in England from 1992 until 2009, when she moved to the US to help establish Aloka Vihara, a training monastery for women, where she now resides.
4+
5+
Ayya Anandabodhi lived and trained as a nun in the Forest Tradition at Amaravati and Chithurst monasteries in England from 1992 until 2009, when she moved to the US to help establish a training monastery for women.
56

67
_~ Adapted from [Dharma Seed](https://dharmaseed.org/teacher/379/)_
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "How to Communicate"
3+
authors:
4+
- "John Lee Clark"
5+
subcat: poetry
6+
course: communication
7+
tags:
8+
- poetry
9+
- senses
10+
year: 2023
11+
olid: OL39272556M
12+
publisher: "W. W. Norton"
13+
address: "New York, NY"
14+
pages: 96
15+
---
16+
17+
> Wood duck
18+
I feel for you
19+
You never had hands to stroke
20+
Your own wings
21+
22+
A collection of poems originally written in Braille, ASL, and Protactile by a deafblind poet.

‎_data/content.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ filehost: "https://buddhistuniversity.net/"
33
noreferrerhosts:
44
- "https://www.shin-ibs.edu"
55

6+
mins_per_page: 2.0 # assume each page takes this long to read
7+
68
### Content Similarity Algorithm Parameters
79
## Number of similar works to recommend
810
similar_count: 10

‎_plugins/content-derived-fields.rb‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ module ContentDerivedFields
1616
max_expected_mins: 60.0,
1717
max_expected_mins_featured: 90.0,
1818
x_inter: -0.2,
19-
y_asymt: -165.0,
20-
mins_per_page: 2.0
19+
y_asymt: -165.0
2120
}
2221
@@etm[:offset] = @@etm[:x_inter] / @@etm[:y_asymt]
2322
def self.expected_mins(item)
@@ -92,7 +91,7 @@ def self.base_stars_for_item(item)
9291
end
9392
item.data['total_mins'] = item.data['minutes'].to_f
9493
if item.data['page_count'] and !(item.data['minutes'])
95-
item.data['total_mins'] = item.data['page_count'].to_f * @@etm[:mins_per_page]
94+
item.data['total_mins'] = item.data['page_count'].to_f * item.site.data['content']['mins_per_page']
9695
if item.data['category'] == 'canon'
9796
item.data['total_mins'] *= 2.5 # Assume canonical works require deeper reading
9897
elsif item.data['category'] == 'reference'

‎scripts/gdrive.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
disk_memorizor = joblib.Memory(git_root_folder.joinpath("scripts/.gcache"), verbose=0)
6060

6161
def link_to_id(link):
62+
if not link:
63+
return None
6264
ret = re.search(r'/d/([a-zA-Z0-9_-]{33}|[a-zA-Z0-9_-]{44})/?(edit|view)?(\?usp=)?(sharing|drivesdk|drive_link|share_link)?$', link)
6365
if ret:
6466
return ret.groups()[0]
@@ -70,6 +72,8 @@ def link_to_id(link):
7072
return None
7173

7274
def folderlink_to_id(link):
75+
if not link:
76+
return None
7377
if link.startswith(FOLDER_LINK_PREFIX):
7478
ret = link[len(FOLDER_LINK_PREFIX):]
7579
return ret.split('?')[0].split('/')[0]

‎scripts/website.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def load():
151151
if contentfile.is_dir() or contentfile.name.startswith('.'):
152152
continue
153153
content.append(ContentFile.load(contentfile))
154-
content sort(key=lambda c: c.url)
154+
content.sort(key=lambda c: c.url)
155155
content.sort(key=lambda c: c.created_at)
156156
for tagfile in root_folder.joinpath('_tags').iterdir():
157157
if (not tagfile.is_file()) or tagfile.name.startswith('.'):

0 commit comments

Comments
 (0)