about summary refs log tree commit diff stats
path: root/sfeed_html.sh
diff options
context:
space:
mode:
authorCase Duckworth2022-07-18 08:56:16 -0500
committerCase Duckworth2022-07-18 08:56:16 -0500
commita5172b7a176382d07ddbda0b399a1aa628b77087 (patch)
treed4becdc3ab0df3be73ab5f68bcaecb14063625bf /sfeed_html.sh
parentIgnore generated files (diff)
downloadsfeed-a5172b7a176382d07ddbda0b399a1aa628b77087.tar.gz
sfeed-a5172b7a176382d07ddbda0b399a1aa628b77087.zip
Add styling for youtube links
Diffstat (limited to 'sfeed_html.sh')
-rwxr-xr-xsfeed_html.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfeed_html.sh b/sfeed_html.sh index d241228..86aad43 100755 --- a/sfeed_html.sh +++ b/sfeed_html.sh
@@ -126,7 +126,8 @@ html_feed() { # html_feed FEED(file) => HTML
126 printf "%s", "<a href=\"" id "\" target=\"_blank\">" stamp "</a>" 126 printf "%s", "<a href=\"" id "\" target=\"_blank\">" stamp "</a>"
127 } 127 }
128 print "</td>" 128 print "</td>"
129 print "<td class=\"entry-title\"><a href=\"" link "\" target=\"_blank\">" title "</a></td>" 129 printf "<td class=\"entry-title%s", (link ~ /youtube/ ? " youtube" : "")
130 print "\"><a href=\"" link "\" target=\"_blank\">" title "</a></td>"
130 print "</tr>" 131 print "</tr>"
131 } 132 }
132 END { 133 END {