about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xsfeed_html.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_html.awk b/sfeed_html.awk index 175cc0a..8026f39 100755 --- a/sfeed_html.awk +++ b/sfeed_html.awk
@@ -97,6 +97,8 @@ FNR == 1 {
97 yt = "" 97 yt = ""
98 } 98 }
99 # extra metadata, yaaaaay 99 # extra metadata, yaaaaay
100 feed_url = ""
101 site_url = ""
100 URLS = envor("SFEED_DATA", ENVIRON["HOME"] "/.sfeed") "/urls/" safe_name 102 URLS = envor("SFEED_DATA", ENVIRON["HOME"] "/.sfeed") "/urls/" safe_name
101 getline feed_url < URLS 103 getline feed_url < URLS
102 getline site_url < URLS 104 getline site_url < URLS
@@ -233,8 +235,6 @@ function end_file()
233 printf "<header><h2%s><a class=\"anchor\" href=\"#%s\">#</a> %s</h2>\n", yt, name, name 235 printf "<header><h2%s><a class=\"anchor\" href=\"#%s\">#</a> %s</h2>\n", yt, name, name
234 # Feed links 236 # Feed links
235 printf "<nav class=\"flinks\">" 237 printf "<nav class=\"flinks\">"
236 feed_url = ""
237 site_url = ""
238 if (site_url) { 238 if (site_url) {
239 #print_link(site_url, "", (yt ? "chan" : "site"), "site-url") 239 #print_link(site_url, "", (yt ? "chan" : "site"), "site-url")
240 printf "<a class=\"site-url\" href=\"%s\">%s</a>\n", site_url, (yt ? "chan" : "site") 240 printf "<a class=\"site-url\" href=\"%s\">%s</a>\n", site_url, (yt ? "chan" : "site")