642df38f6d00efd6d5dae3843961cb00559d9be8 — Charles Daniels 2 months ago 67dfc4c
add some flavor text to index
1 files changed, 10 insertions(+), 0 deletions(-)

M bin/generate-md
M bin/generate-md => bin/generate-md +10 -0
@@ 135,10 135,20 @@   # generate the top-level index
  echo "# Index for ./\n" > "$OUTPUT_DIR/index.md"
+ echo "" >> "$OUTPUT_DIR/index.md"
+ echo "Welcome to the (unofficial) ports browser for the " >> "$OUTPUT_DIR/index.md"
+ echo "[EPBSD](https://epbsd.org) project. This site is " >> "$OUTPUT_DIR/index.md"
+ echo "generated by [epbsd-browser](https://git.sr.ht/~charles/epbsd-browser)." >> "$OUTPUT_DIR/index.md"
+ echo "" >> "$OUTPUT_DIR/index.md"
  sort < "$OUTPUT_DIR/index.list" | uniq | while read -r category ; do
  	echo "* [$category](./$category/index.html)" >> "$OUTPUT_DIR/index.md"
  done
  
+ echo "" >> "$OUTPUT_DIR/index.md"
+ echo "---" >> "$OUTPUT_DIR/index.md"
+ echo "" >> "$OUTPUT_DIR/index.md"
+ echo "page generated: $(date)" >> "$OUTPUT_DIR/index.md"
+ 
  # generate the index for each category
  for category_dir in ./*/ ; do
  	category="$(basename "$category_dir")"