Permalink
Browse files

Added title tag

  • Loading branch information...
1 parent 9ec27ec commit 166a2e1360fb0919cd3dbd9d900b9e27b173a9af @tj committed Mar 30, 2012
Showing with 8 additions and 3 deletions.
  1. +8 −3 bin/bm
View
11 bin/bm
@@ -16,6 +16,10 @@ THUMBS=$DIR/bookmark-thumbs
BOOKMARKS=$DIR/bookmarks
+# HTML file
+
+HTML=/tmp/bm.html
+
#
# Output usage info
#
@@ -245,7 +249,8 @@ create_bookmark_screenshots() {
view_bookmark_screenshots() {
create_bookmark_screenshots
- style > /tmp/bm.html
+ echo "<title>Bookmarks</title>" > $HTML
+ style >> $HTML
(
while read line; do
@@ -261,11 +266,11 @@ view_bookmark_screenshots() {
</a>
<p>$desc</p>
</div>
- " >> /tmp/bm.html
+ " >> $HTML
done
) < $BOOKMARKS
- open /tmp/bm.html
+ open $HTML
}
#

0 comments on commit 166a2e1

Please sign in to comment.