fix issue

This commit is contained in:
nytpu 2020-09-09 19:45:31 -06:00
parent 210b1e37ea
commit 1da056ef83
Signed by: nytpu
GPG Key ID: ECCDC07B337B8F5B
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ EOF
printf "</title>\n <id>$global_url${i#'./'}</id>\n"
printf " <link rel='alternate' href='$global_url${i#'./'}'/>\n <updated>"
echo "$i" | perl -ne '/^(\d{4}-\d{2}-\d{2}).*/; print $1' | date "$date_format_8601" -f - | tr -d '\n'
printf "</updated>\n <summary>You need a gemini protocol client to view this post.&lt;br&gt;If you have one installed, click here to open the post: &lt;a href=\"$global_url${i#'./'}\"&gt;$global_url${i#'./'}&lt;/a&gt;</summary>\n </entry>\n"
printf "</updated>\n <summary>You need a gemini protocol client to view this post. If you have one installed, here is the link to the post: $global_url${i#'./'}\"&gt;$global_url${i#'./'}</summary>\n </entry>\n"
n=$(( n + 1 ))
done < <(ls -r [[:digit:]]*.gmi)