summaryrefslogtreecommitdiff
path: root/csv2index.sh
diff options
context:
space:
mode:
authoresquizo <esquizo+noreply@esquizo.net>2026-06-19 14:07:13 -0300
committeresquizo <esquizo+noreply@esquizo.net>2026-06-19 14:07:13 -0300
commitb7d836559570e6c38c88119c3ae7ba65a215915d (patch)
treef9aefa97f941da6f1800bbbaec9a72bd29b68335 /csv2index.sh
parentb69c94c683a5d3ee82b563cd3d02c344c44cc362 (diff)
movido */index.html para *.html
Diffstat (limited to 'csv2index.sh')
-rwxr-xr-xcsv2index.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/csv2index.sh b/csv2index.sh
index 958cf50..283edd8 100755
--- a/csv2index.sh
+++ b/csv2index.sh
@@ -5,7 +5,7 @@ LINK="$1"
SCRIPT="$(cat << EOF
{
title = \$1
- url = "$LINK/" \$2
+ url = \$2
date = \$3
print "<li>"
print "<a href=\"" url "\">" title "</a> (" date ")"
@@ -20,7 +20,7 @@ BASEPAGE(\`
changequote(\`[[', \`]]')dnl
EOF
-echo "<a href=\"$LINK/index.rss\">RSS</a>"
+echo "<a href=\"$LINK\">RSS</a>"
echo "<a href=\"/\">Voltar</a>"
echo '<ul>'