Skip to content

Commit 5df5ce9

Browse files
committed
draft dec post
1 parent 9cbd5d7 commit 5df5ce9

9 files changed

Lines changed: 29 additions & 75 deletions

File tree

‎_drafts/2022-12-31-year.md‎

Lines changed: 0 additions & 19 deletions
This file was deleted.

‎_includes/content_blurb.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{%- capture content_path -%}_content/{{ include.category }}/{{ include.slug }}.md{%- endcapture -%}
22
{%- assign c = site.content | find: "path", content_path -%}
33
<div class="content_box">
4-
<div class="{% if c.external_url %}content_box_header{% endif %}">
4+
<div>
55
{% capture foo %}{% include content_title.html content=c %}{% endcapture %}
66
{{ foo | strip_newlines }}
77
</div>

‎_includes/content_box.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% capture content_path %}_content/{{ include.category }}/{{ include.slug }}.md{% endcapture %}{% assign c = site.content | find: "path", content_path %}
22
<div class="content_box">
3-
<div class="{% if c.external_url %}content_box_header{% endif %}">
3+
<div>
44
{% capture foo %}{% include content_title.html content=c %}{% endcapture %}
55
{{ foo | strip_newlines }}
66
</div>

‎_includes/content_icon.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<span class="inline_content_icon">{% if include.subcat %}{% case include.subcat %}{% when "poetry" %}<i class="fas fa-feather-alt"></i> {% when "fiction" %}<i class="fas fa-feather"></i> {% when "thesis" %}<i class="fas fa-graduation-cap"></i> {% when "course" %}<i class="fas fa-chalkboard-teacher"></i> {% when "podcast" %}<i class="fas fa-podcast"></i> {% when "film" %}<i class="fas fa-film"></i> {% when "music" %}<i class="fas fa-music"></i> {% else %}<i class="far fa-file-alt"></i> {% endcase %}{% else %}{% case include.category %}{% when "monographs" %}<i class="fas fa-book"></i> {% when "booklets" %}<i class="fas fa-book-open"></i> {% when "reference" %}<i class="fas fa-atlas"></i> {% when "excerpts" %}<i class="fas fa-book-reader"></i> {% when "canon" %}<i class="fas fa-dharmachakra"></i> {% when "essays" %}<i class="far fa-sticky-note fa-rotate-270"></i> {% when "papers" %}<i class="far fa-file-powerpoint"></i> {% when "av" %}<i class="fas fa-volume-up"></i> {% when "articles" %}<i class="far fa-newspaper"></i> {% else %}<i class="far fa-file"></i> {% endcase %}{% endif %}</span>
1+
<span>{% if include.subcat %}{% case include.subcat %}{% when "poetry" %}<i class="fas fa-feather-alt"></i> {% when "fiction" %}<i class="fas fa-feather"></i> {% when "thesis" %}<i class="fas fa-graduation-cap"></i> {% when "course" %}<i class="fas fa-chalkboard-teacher"></i> {% when "podcast" %}<i class="fas fa-podcast"></i> {% when "film" %}<i class="fas fa-film"></i> {% when "music" %}<i class="fas fa-music"></i> {% else %}<i class="far fa-file-alt"></i> {% endcase %}{% else %}{% case include.category %}{% when "monographs" %}<i class="fas fa-book"></i> {% when "booklets" %}<i class="fas fa-book-open"></i> {% when "reference" %}<i class="fas fa-atlas"></i> {% when "excerpts" %}<i class="fas fa-book-reader"></i> {% when "canon" %}<i class="fas fa-dharmachakra"></i> {% when "essays" %}<i class="far fa-sticky-note fa-rotate-270"></i> {% when "papers" %}<i class="far fa-file-powerpoint"></i> {% when "av" %}<i class="fas fa-volume-up"></i> {% when "articles" %}<i class="far fa-newspaper"></i> {% else %}<i class="far fa-file"></i> {% endcase %}{% endif %}</span>

‎_includes/content_title.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
{% assign value = c.base_value %}{% if c.status == "featured" %}{% assign value = value | times: site.data.ga.featured_value_multiplier %}{% endif %}
33
{% include_cached content_icon.html category=category subcat=c.subcat %}
44
{% include content_path.liquid content=c %}
5-
<span id="{{ c.slug }}" class="inline_content_title">{% if c.external_url %}<a target="_blank" data-content-path="{{ content_path }}" ga-event-value="{{ value }}" href="{{ c.external_url }}"{% for nrh in site.data.content.noreferrerhosts %}{% if c.external_url contains nrh %} rel="noreferrer"{% break %}{% endif %}{% endfor %}>{% endif %}{{ c.title | markdownify | remove: '<p>' | remove: '</p>' }}{% if c.authors.size > 0 or c.reader %} – {% include content_authors_string.html content=c %}{% endif %}{% if c.external_url %}</a>{% endif %}</span>
6-
{% if c.drive_links %}<span class="inline_drive_links">{% for link in c.file_links %}<span class="inline_drive_link"> (<a target="_blank" ga-event-value="{{ value }}" ga-event-label="{{ link }}" data-content-path="{{ content_path }}" href="{{ site.data.content.filehost | append: link }}"><i class="fa{% case c.formats[forloop.index0] %}{% when "pdf" %}r fa-file-pdf{% when "mp3" %}r fa-file-audio{% when "m4a" %}r fa-file-audio{% when "epub" %}s fa-tablet-alt{% when "png" %}r fa-file-image{% when "mp3s" %}r fa-file-open{% when "zip" %}r fa-file-archive{% when "pdfs" %}r fa-file-open{% when "wma" %}r fa-file-audio{% else %}r fa-file{% endcase %}"></i>.{{ c.formats[forloop.index0] }}</a>)</span>{% endfor %}{% for link in c.drive_links %}{% assign index = forloop.index | minus: 1 %}<span class="inline_drive_link"> (<a target="_blank" ga-event-value="{{ value }}" ga-event-label="drive.google.com/{{ content_path }}.{{ c.formats[index] }}" data-content-path="{{ content_path }}" href="{{ link }}"><i class="fa{% if link contains "drive.google.com" %}b fa-google-drive{% elsif link contains "play.google.com" %}b fa-google-play{% else %}s fa-globe{% endif %}"></i>.{{ c.formats[index] }}</a>)</span>{% endfor %}</span>{% endif %}
5+
<span id="{{ c.slug }}">{% if c.external_url %}<a target="_blank" data-content-path="{{ content_path }}" ga-event-value="{{ value }}" href="{{ c.external_url }}"{% for nrh in site.data.content.noreferrerhosts %}{% if c.external_url contains nrh %} rel="noreferrer"{% break %}{% endif %}{% endfor %}>{% endif %}{{ c.title | markdownify | remove: '<p>' | remove: '</p>' }}{% if c.authors.size > 0 or c.reader %} – {% include content_authors_string.html content=c %}{% endif %}{% if c.external_url %}</a>{% endif %}</span>
6+
{% if c.drive_links %}<span>{% for link in c.file_links %}<span class="inline_drive_link"> (<a target="_blank" ga-event-value="{{ value }}" ga-event-label="{{ link }}" data-content-path="{{ content_path }}" href="{{ site.data.content.filehost | append: link }}"><i class="fa{% case c.formats[forloop.index0] %}{% when "pdf" %}r fa-file-pdf{% when "mp3" %}r fa-file-audio{% when "m4a" %}r fa-file-audio{% when "epub" %}s fa-tablet-alt{% when "png" %}r fa-file-image{% when "mp3s" %}r fa-file-open{% when "zip" %}r fa-file-archive{% when "pdfs" %}r fa-file-open{% when "wma" %}r fa-file-audio{% else %}r fa-file{% endcase %}"></i>.{{ c.formats[forloop.index0] }}</a>)</span>{% endfor %}{% for link in c.drive_links %}{% assign index = forloop.index | minus: 1 %}<span class="inline_drive_link"> (<a target="_blank" ga-event-value="{{ value }}" ga-event-label="drive.google.com/{{ content_path }}.{{ c.formats[index] }}" data-content-path="{{ content_path }}" href="{{ link }}"><i class="fa{% if link contains "drive.google.com" %}b fa-google-drive{% elsif link contains "play.google.com" %}b fa-google-play{% else %}s fa-globe{% endif %}"></i>.{{ c.formats[index] }}</a>)</span>{% endfor %}</span>{% endif %}

‎_includes/highlighted_content.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="content_box with_border">
2-
<div class="content_box_header">
2+
<div>
33
{% capture foo %}{% include simple_content_title.html content=include.content %}{% endcapture %}{{ foo | strip_newlines }}
44
</div>
55
<div class="content_box_desc">{{ include.content.excerpt }}</div>

‎_posts/2022-12-31-year.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: Happy New Year
3+
---
4+
5+
This month I'm happy to announce that a new page on [the Pāli Language](/tags/pali-language) has been added to our library.
6+
7+
There you'll find books and papers about Pāli along with a suite of helpful tools, including a selection of [Pāli Dictionaries](/tags/pali-dictionaries) containing, among all the classics, an exciting new grammar tool just published this year: [The Digital Pāḷi Dictionary](/content/reference/dpd). If you're a student of Pāli struggling with *sandhi* or noun declensions, I recommend checking it out!
8+
9+
This month I've also continued to make small technical improvements across the site and add many new items to the library,
10+
such as [this course on the history of Eastern Europe](https://youtube.com/playlist?list=PLh9mgdi4rNewfxO7LhBoz_1Mx1MaO6sw_) and [this essay by Bhante Sujato on the *karma* of "just" war](/content/essays/war-bright-and-dark_sujato)---both written in response to Russia's (ongoing) invasion of Ukraine this year.
11+
12+
In fact, we've added so much this year that our library now has **[over 2000 items](/content/)!** A big thank-you to all the publishers and authors who've made this milestone possible through their generous offerings.
13+
14+
If you'd like to stay informed about all our new arrivals, you can subscribe to [one of our RSS feeds](/feed) or follow [OBU on Mastodon](https://digipres.club/@obu) where we'll be "tooting" updates now that we've moved off of Twitter.
15+
16+
And thank you, as always, for all the kindness and support this year!
17+
18+
Wishing You a Most Happy 2023
19+
Khemarato Bhikkhu
20+
Chief Librarian @ The Open Buddhist University
21+

‎_sass/nimitta.scss‎

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,6 @@ h5 {
284284
font-style: italic;
285285
}
286286

287-
$new-tab-icon-size: 0.95em;
288-
289287
.back {
290288
font-family: $base-font-family;
291289
}
@@ -294,52 +292,6 @@ header.post-header, div.post-content {
294292
margin-bottom: 24px;
295293
}
296294

297-
%has-inline-content %content-title a[target="_blank"]:after {
298-
width: 0px;
299-
display: inline-block;
300-
}
301-
302-
.inline_content_title {
303-
@extend %content-title;
304-
}
305-
306-
.simple_content_title {
307-
@extend %content-title;
308-
}
309-
310-
.content_title {
311-
@extend %has-inline-content;
312-
}
313-
314-
%has-inline-content {
315-
padding-right: $new-tab-icon-size;
316-
}
317-
318-
.inline_content {
319-
@extend %has-inline-content;
320-
}
321-
322-
.content_box_header {
323-
@extend %has-inline-content;
324-
}
325-
326-
.simple_content {
327-
@extend %has-inline-content;
328-
}
329-
330-
%has-inline-content span.inline_drive_links {
331-
margin-left: $new-tab-icon-size;
332-
}
333-
334-
%has-inline-content span.inline_drive_links span.inline_drive_link {
335-
margin-right: -$new-tab-icon-size;
336-
margin-left: $new-tab-icon-size;
337-
}
338-
339-
%has-inline-content span.inline_drive_links span.inline_drive_link:first-child {
340-
margin-left: 0px;
341-
}
342-
343295
div.content_box blockquote {
344296
font-size: 17px;
345297
}

‎feed.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ To use RSS, copy one of the feed URLs below into [an RSS reader](https://en.wiki
2323

2424
| All Library Content | [{{ "/feed/content.xml" | absolute_url }}](/feed/content.xml) |
2525

26-
### By Topic
26+
### Library Content by Topic
2727

2828
| Buddhism (General) | [{{ "/feed/content/buddhism.xml" | absolute_url }}](/feed/content/buddhism.xml) |
2929
{% for tag in site.tags %}{% if tag.slug == "buddhism" %}{% continue %}{% endif %}| {{ tag.title }} | [{{ "/feed/content/" | append: tag.slug | append: ".xml" | absolute_url }}](/feed/content/{{ tag.slug }}.xml) |
3030
{% endfor %}
3131

32-
### By Type
32+
### Library Content by Type
3333

3434
{% for cat in site.categories %}{% if cat.slug == "index" %}{% continue %}{% endif %}| {{ cat.title }} | [{{ "/feed/content/" | append: cat.slug | append: ".xml" | absolute_url }}](/feed/content/{{ cat.slug }}.xml) |
3535
{% endfor %}

0 commit comments

Comments
 (0)