about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-07-23 23:22:07 -0500
committerCase Duckworth2022-07-23 23:22:07 -0500
commit6fb9462b4ff6dd7946ba52f5fae812515d6abafc (patch)
tree393aa994a36fc351fb40cec368c6aaab5b09999e
parentProperly build the full feed (diff)
downloadsfeed-6fb9462b4ff6dd7946ba52f5fae812515d6abafc.tar.gz
sfeed-6fb9462b4ff6dd7946ba52f5fae812515d6abafc.zip
Add class to feed sections
-rwxr-xr-xsfeed_html.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_html.awk b/sfeed_html.awk index 8477677..cd45c7b 100755 --- a/sfeed_html.awk +++ b/sfeed_html.awk
@@ -248,7 +248,7 @@ function end_file()
248 return 1 248 return 1
249 } 249 }
250 # Header 250 # Header
251 printf "<section id=\"%s\" class=\"%s\">\n", name, (fresh_count ? "fresh" : "stale") 251 printf "<section id=\"%s\" class=\"feed %s\">\n", name, (fresh_count ? "fresh" : "stale")
252 printf "<header><h2%s><a class=\"anchor\" href=\"#%s\">#</a> %s</h2>\n", yt, name, name 252 printf "<header><h2%s><a class=\"anchor\" href=\"#%s\">#</a> %s</h2>\n", yt, name, name
253 # Feed links 253 # Feed links
254 printf "<nav class=\"flinks\">" 254 printf "<nav class=\"flinks\">"