Skip to content

Commit

Permalink
Remove abbamoses.com links (site is defunct)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianglass committed Nov 29, 2023
1 parent 7b377a4 commit b3224c4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion calendarium/templates/feed_description.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h3>
{% endfor %}

{% if obj.stories %}
<h2>Commemorations (<a href="http://abbamoses.com/months/{{ date|date:"F"|lower }}.html">abbamoses.com</a>)</h2>
<h2>Commemorations</h2>

{% for reading in obj.stories %}
<section>
Expand Down
2 changes: 1 addition & 1 deletion calendarium/templates/readings.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ <h2>

<section class="readings">
{% if day.stories %}
<h1>Commemorations <span class="print-exclude">(<a href="http://abbamoses.com/months/{{ date|date:"F"|lower }}.html">abbamoses.com</a>)</span></h1>
<h1>Commemorations</h1>

{% for reading in day.stories %}
<article class="passage">
Expand Down
4 changes: 4 additions & 0 deletions orthocal/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
from django.views.decorators.cache import cache_page
from django.views.decorators.http import etag as etag_decorator

# Helper functions

def get_etag(request, *args, **kwargs):
hash = hashlib.md5()

Expand All @@ -33,6 +35,8 @@ def get_date_variable_etag(request, *args, **kwargs):

return f'"{hash.hexdigest()}"'

# Decorators

etag = etag_decorator(get_etag)
etag_date = etag_decorator(get_date_variable_etag)
cache = cache_page(settings.ORTHOCAL_MAX_AGE)
Expand Down
2 changes: 1 addition & 1 deletion orthocal/templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h2>Technology & Data</h2>
algorithm and data developed by Paul Kachur for his
<a href="https://github.com/paulkachur/orthodox_calendar">orthodox_calendar</a> project.
The lives of the saints are taken by permission from John Brady's
<a href="http://abbamoses.com">Abbamoses.com</a>.</p>
Abbamoses.com.</p>

<h2>Scriptures</h2>
<p>Because this is open-source and free, the service must use a
Expand Down
2 changes: 1 addition & 1 deletion orthocal/templates/alexa.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h2>Alexa Skill</h2>
The scriptures are read from the King James Version and follow
OCA rubrics. For the Alexa skill, the number of readings is abbreviated. A
fuller list is available on this website. The stories from the lives of the
saints are borrowed from <a href="http://abbamoses.com">abbamoses.com</a> by
saints are borrowed from abbamoses.com by
permission.</p>

<p>You can also ask Alexa directly about a particular day. For instance you can
Expand Down

0 comments on commit b3224c4

Please sign in to comment.