1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 01:36:23 +00:00

Tidy up footer

This commit is contained in:
David Young
2019-05-16 10:17:29 +12:00
parent 2dd09c0cbc
commit cb10789a71
3 changed files with 3 additions and 5 deletions

View File

@@ -7,8 +7,8 @@ mkdir -p publish/overrides
cp -r manuscript publish/
cp mkdocs.yml publish/
# Append a common footer to all recipes
for i in `find publish/manuscript -name "*.md"`
# Append a common footer to all recipes/swarm docs
for i in `find publish/manuscript/ -name "*.md" | grep -v index.md`
do
# Does this recipe already have a "tip your waiter" section?
grep -q "Tip your waiter" $i