Compare commits
2 Commits
e8325692d4
...
1da056ef83
Author | SHA1 | Date |
---|---|---|
|
1da056ef83 | |
|
210b1e37ea |
|
@ -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.<br>If you have one installed, click here to open the post: <a href=\"$global_url${i#'./'}\">$global_url${i#'./'}</a></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#'./'}\">$global_url${i#'./'}</summary>\n </entry>\n"
|
||||
|
||||
n=$(( n + 1 ))
|
||||
done < <(ls -r [[:digit:]]*.gmi)
|
||||
|
@ -114,9 +114,9 @@ EOF
|
|||
printf "\r\n\r\n"
|
||||
printf "=> / go home\r\n"
|
||||
printf "\r\n"
|
||||
printf "this gemlog has an rss feed at:\r\n"
|
||||
printf "this gemlog has an atom feed at:\r\n"
|
||||
printf "=> $feed_base_url$gemlog_feed [https] $feed_base_url$gemlog_feed\r\n"
|
||||
printf "=> /gemlog/feed.rss or here to access it through gemini\r\n"
|
||||
printf "=> /gemlog/$gemlog_feed or here to access it through gemini\r\n"
|
||||
printf "\r\n"
|
||||
printf "=> /gemlog/old/ click here to view an archive of my old gemlog"
|
||||
} 3>&1 >"$index"
|
||||
|
|
Loading…
Reference in New Issue