Skip to content

Commit 6e245b7

Browse files
committed
feat: add book link to pattern catalog page (en)
1 parent 89b78ad commit 6e245b7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

index.sh

+10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ echo "language: $1" >> README.md
33
echo "title: $2" >> README.md
44
echo "---" >> README.md
55
echo "" >> README.md
6+
7+
if [ "$1" = "en" ]; then
8+
echo "## Get the E-Book" >> README.md
9+
echo "" >> README.md
10+
echo "Get the entire catalog now as a convenient e-book – your ultimate resource in one download! 📚✨ Follow [this link](https://java-design-patterns.com/book) to get started!" >> README.md
11+
echo "" >> README.md
12+
echo "## Read Online" >> README.md
13+
echo "" >> README.md
14+
fi
15+
616
echo "<ul>" >> README.md
717
for dir in *; do
818
if [ -d "$dir" ] && [ "$dir" != "localization" ]; then

0 commit comments

Comments
 (0)