about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xsfeed_html.awk6
1 files changed, 5 insertions, 1 deletions
diff --git a/sfeed_html.awk b/sfeed_html.awk index dcbafae..f6e7664 100755 --- a/sfeed_html.awk +++ b/sfeed_html.awk
@@ -12,7 +12,11 @@ BEGIN {
12 in_aside = 0 # Don't show the feed in the sidebar 12 in_aside = 0 # Don't show the feed in the sidebar
13 # Formatting 13 # Formatting
14 if (! DATEFMT) { 14 if (! DATEFMT) {
15 DATEFMT = envor("SFEED_HTML_DATEFMT", "<span class=date>%F</span> <span class=time>%RZ</span>") 15 ddf = "<time title=\"%F %R UTC\">"
16 ddf = ddf "<span class=\"date\">%m-%d</span>" " "
17 ddf = ddf "<span class=\"time\">%R</span>"
18 ddf = ddf "</time>"
19 DATEFMT = envor("SFEED_HTML_DATEFMT", ddf)
16 } 20 }
17 if (! TITLE) { 21 if (! TITLE) {
18 TITLE = envor("SFEED_HTML_TITLE", "Planet ACDW") 22 TITLE = envor("SFEED_HTML_TITLE", "Planet ACDW")