~darklands/teal

fae04de89089dc2c4c75d1ddb1376569ad6d3f41 — Ben O'Neill 7 months ago fd7406c
new variable SIDEBAR_SOURCES defines what should be included in sidebar
1 files changed, 1 insertions(+), 1 deletions(-)

M teal
M teal => teal +1 -1
@@ 38,7 38,7 @@ teal_sidebar() { \
<div id="side-bar">
<span>
EOF
	for file in $(echo $SOURCES | tr ' ' '\n' | sed "s|^|$SRC/|"); do
	for file in $(echo $SIDEBAR_SOURCES | tr ' ' '\n' | sed "s|^|$SRC/|"); do
		. $(echo $file | sed 's/md$/sh/')
		cat >> $1 << EOF
<a href="$(echo $file | sed "s,$SRC/,,;s/\.md/\.html/")">$NAME</a>