Skip to content

Commit c1a881a

Browse files
committed
rss links in page headers
1 parent d41bc5f commit c1a881a

7 files changed

Lines changed: 24 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ title: Behind the Scenes
1414
# Background
1515

1616
Most schools of Buddhism in Asia have a standardized curriculum for monastics and those of faith.
17-
The Gelukpa has the "Geshe" degree, Thailand has the "Nak Tham" exams, but the "Modern" Buddhism focused on the earliest Buddhist texts which is emerging in the English-speaking world still has no such academic standard.
17+
The Gelukpa has the "Geshe" degree, Thailand has the "Nak Tham" exams, but the "Modern" Buddhism focused on the earliest Buddhist texts which is emerging in the English-speaking world today still has no such academic standard.
1818
Perhaps that makes sense as we're still figuring it out!
1919
But while our field is new, it is also large enough now that students of Buddhist Studies need guidance through the vast corpus.
2020

‎_courses/nibbana.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Let me declare an island to you
5656
~ Snp 5.10
5757
{: .epigraph}
5858

59-
This excellent, free anthology will be our textbook for this class:
59+
This free anthology will be our textbook for the class:
6060
{% include content_box.html category="monographs" slug="island_pasanno-amaro" %}
6161

6262
This secondary monograph will be threaded through the course to help contextualize the historical developments:

‎_layouts/default.html‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,21 @@
3232
{%- if page.next_link -%}
3333
<link rel="next" href="{{ page.next_link }}">
3434
{%- endif -%}
35+
{%- case page.collection -%}
36+
{%- when "posts" -%}
37+
<link rel="alternate" type="application/atom+xml" title="Blog Posts" href="/feed.xml" />
38+
{%- when "tags" -%}
39+
<link rel="alternate" type="application/atom+xml" title="Content | {{ page.title }}" href="/feed/content/{{ page.slug }}.xml" />
40+
{%- when "categories" -%}
41+
{%- if page.slug == "index" -%}
42+
<link rel="alternate" type="application/atom+xml" title="All Library Content" href="/feed/content.xml" />
43+
{%- else -%}
44+
<link rel="alternate" type="application/atom+xml" title="Content | {{ page.title }}" href="/feed/content/{{ page.slug }}.xml" />
45+
{%- endif -%}
46+
{%- else -%}{%- if page.rss_url -%}
47+
<link rel="alternate" type="application/atom+xml" title="{{ page.rss_title | default: page.title }}" href="{{ page.rss_url }}" />
48+
{%- endif -%}
49+
{%- endcase -%}
3550
{%- if jekyll.environment == 'production' and site.google_analytics -%}
3651
<script>
3752
if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1" || localStorage.getItem("doNotTrack") == "1") || localStorage.getItem('TRACK') == "1") {

‎blog.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: "Newsletter"
33
section: blog
44
slug: blog
5+
rss_url: feed.xml
56
layout: home
67
list_title: "Updates"
78
image: "https://illeakyw.sirv.com/Images/banners/monk-slap.jpeg"

‎courses.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ layout: page
33
section: courses
44
slug: courses
55
title: Courses
6+
rss_url: feed.xml
7+
rss_title: "Course Announcements"
68
permalink: /courses/
79
next_link: /courses/buddhism
810
image_width: 1280

‎journals.html‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
section: library
44
permalink: "/journals/"
55
layout: page
6+
rss_url: /feed/content/articles.xml
7+
rss_title: "Journal Content"
68
---
79

810
<ul class="master_journals_list">

‎library.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ section: library
44
slug: library
55
permalink: /library/
66
next_link: /tags/
7+
rss_url: /feed/content.xml
8+
rss_title: "All Library Content"
79
image: "https://illeakyw.sirv.com/Images/banners/nostalgic-gate.jpeg"
810
image_width: 1280
911
image_center_x: 50%

0 commit comments

Comments
 (0)