add local view
このコミットが含まれているのは:
コミット
653d0f5b6f
14
make.sh
14
make.sh
|
@ -1,4 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
# usage:
|
||||
# - production:
|
||||
# ./make.sh
|
||||
# - for local reading:
|
||||
# ./make.sh -local
|
||||
|
||||
footer=footer.html
|
||||
if [ $1 and $1 = '-local' ]; then
|
||||
footer='footer-local.html'
|
||||
fi
|
||||
|
||||
mkdir -p www
|
||||
rm -rf www/*
|
||||
cp -pv src/style.css www
|
||||
|
@ -14,7 +26,7 @@ for name in *.html; do
|
|||
|
||||
# 目次以外にはフッターあり
|
||||
if [ $name != index.html ]; then
|
||||
cat include/footer.html >> $out
|
||||
cat include/$footer >> $out
|
||||
fi
|
||||
|
||||
echo "src/$name -> www/$name"
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
<h2>附加情報</h2>
|
||||
|
||||
<ul>
|
||||
<li><a href="./index.html">「美々蝶々」目次</a></li>
|
||||
</ul>
|
読み込み中…
新しいイシューから参照