Update documentation
This commit is contained in:
parent
503b69e99a
commit
eff7646d6b
13
build.sh
13
build.sh
|
@ -179,25 +179,26 @@ site_button()
|
||||||
BTN_NAME="$3"
|
BTN_NAME="$3"
|
||||||
BTN_PAGE="$3"
|
BTN_PAGE="$3"
|
||||||
fi
|
fi
|
||||||
|
BTN_OUT="_pb_$BTN_NAME"
|
||||||
|
|
||||||
if [ -f "$BTN_SEARCHPATH/$BTN_NAME.gif" ]
|
if [ -f "$BTN_SEARCHPATH/$BTN_NAME.gif" ]
|
||||||
then
|
then
|
||||||
cp "$BTN_SEARCHPATH/$BTN_NAME.gif" "./out/$1/$BTN_NAME.gif"
|
cp "$BTN_SEARCHPATH/$BTN_NAME.gif" "./out/$1/$BTN_OUT.gif"
|
||||||
echo "<a href=\"$BTN_PAGE.html\"><img src=\"$BTN_NAME.gif\"></a><br>"
|
echo "<a href=\"$BTN_PAGE.html\"><img src=\"$BTN_OUT.gif\"></a><br>"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$BTN_SEARCHPATH/$BTN_NAME.jpg" ]
|
if [ -f "$BTN_SEARCHPATH/$BTN_NAME.jpg" ]
|
||||||
then
|
then
|
||||||
cp "$BTN_SEARCHPATH/$BTN_NAME.jpg" "./out/$1/$BTN_NAME.jpg"
|
cp "$BTN_SEARCHPATH/$BTN_NAME.jpg" "./out/$1/$BTN_OUT.jpg"
|
||||||
echo "<a href=\"$BTN_PAGE.html\"><img src=\"$BTN_NAME.jpg\"></a><br>"
|
echo "<a href=\"$BTN_PAGE.html\"><img src=\"$BTN_OUT.jpg\"></a><br>"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$BTN_SEARCHPATH/$BTN_NAME.png" ]
|
if [ -f "$BTN_SEARCHPATH/$BTN_NAME.png" ]
|
||||||
then
|
then
|
||||||
cp "$BTN_SEARCHPATH/$BTN_NAME.png" "./out/$1/$BTN_NAME.png"
|
cp "$BTN_SEARCHPATH/$BTN_NAME.png" "./out/$1/$BTN_OUT.png"
|
||||||
echo "<a href=\"$BTN_PAGE.html\"><img src=\"$BTN_NAME.png\"></a><br>"
|
echo "<a href=\"$BTN_PAGE.html\"><img src=\"$BTN_OUT.png\"></a><br>"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,12 @@ You can override specific parts of the website you generate.
|
||||||
`./sites/???/etc/table` - Set parameters on tables.
|
`./sites/???/etc/table` - Set parameters on tables.
|
||||||
`./sites/???/etc/td` - Set parameters on regular columns.
|
`./sites/???/etc/td` - Set parameters on regular columns.
|
||||||
|
|
||||||
|
If you want to make your URLs on the left/right side panels
|
||||||
|
use images instead of text, you can supply either a .gif, .jpg, or .png
|
||||||
|
file inside your page directory. Name it the same thing as your page.
|
||||||
|
Same can be done for the 'News' button, just name it 'news' and place it
|
||||||
|
inside the `./sites/???/news/` directory with the file format of your choosing.
|
||||||
|
|
||||||
# LICENSE
|
# LICENSE
|
||||||
|
|
||||||
Licensed under the ISC license. Everything in here was written by
|
Licensed under the ISC license. Everything in here was written by
|
||||||
|
|
Loading…
Reference in New Issue