add "share" to footer
このコミットが含まれているのは:
コミット
56478fc3f6
14
make.sh
14
make.sh
|
@ -6,6 +6,11 @@
|
|||
# - for local reading:
|
||||
# ./make.sh -local
|
||||
|
||||
BASE_I2P='http://bibi.i2p/'
|
||||
BASE_TOR='http://6wyvgarb3kht6umsqdjrkmwxhfobre24cr6bkmjszu4ngtuezjd45mqd.onion/'
|
||||
|
||||
filepath=$1
|
||||
|
||||
footer=footer.html
|
||||
if [ $1 -a $1 = '-local' ]; then
|
||||
footer='footer-local.html'
|
||||
|
@ -27,6 +32,15 @@ for name in *.html; do
|
|||
# 目次以外にはフッターあり
|
||||
if [ $name != index.html ]; then
|
||||
cat include/$footer >> $out
|
||||
|
||||
# コピペ用テキストを追加してみる
|
||||
title=`sed -n -e'/<title>/s/^.*<title>//p' $name | sed -es'/<.*$//'`
|
||||
echo >> $out
|
||||
echo '<ul>' >> $out
|
||||
echo "\t<li>$title<br>" >> $out
|
||||
echo "\tI2P: ${BASE_I2P}${name}<br>" >> $out
|
||||
echo "\tTor: ${BASE_TOR}${name}</li>" >> $out
|
||||
echo '</ul>' >> $out
|
||||
fi
|
||||
|
||||
echo "src/$name -> www/$name"
|
||||
|
|
読み込み中…
新しいイシューから参照