This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# modified to use gdate for macos -- obtain 'gdate' by running `brew install coreutils` | |
startdate=2020-01-01 | |
enddate=2020-12-31 | |
# controls the link format for each day: | |
# [[ $linkformat | $displayformat ]] | |
linkformat="%Y-%b-%d-%a" | |
displayformat="%d" | |
# marker for empty days in calendar view |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from django.core.wsgi import get_wsgi_application | |
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "songsearch.settings") | |
application = get_wsgi_application() | |
from songsearch.main.models import * | |
import hashlib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: default | |
title: Archives | |
--- | |
<h1>{{ page.title }}</h1> | |
<div class="archives"> | |
{% for month in page.months %} | |
<h2>{{ month | date:"%B" }} <small>{{ month | date:"%Y" }}</small></h2> | |
<ul> | |
{% for post in page.posts_by_month[month] %} |