diff options
author | Case Duckworth | 2022-07-23 23:22:07 -0500 |
---|---|---|
committer | Case Duckworth | 2022-07-23 23:22:07 -0500 |
commit | 6fb9462b4ff6dd7946ba52f5fae812515d6abafc (patch) | |
tree | 393aa994a36fc351fb40cec368c6aaab5b09999e | |
parent | Properly build the full feed (diff) | |
download | sfeed-6fb9462b4ff6dd7946ba52f5fae812515d6abafc.tar.gz sfeed-6fb9462b4ff6dd7946ba52f5fae812515d6abafc.zip |
Add class to feed sections
-rwxr-xr-x | sfeed_html.awk | 2 |
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\">" |