diff --git a/createtag b/createtag index 1ec23dd..4766b6e 100644 --- a/createtag +++ b/createtag @@ -22,10 +22,12 @@ if [ -d "${TAGDIR}" ]; then echo "Creating tag(s) for ${tags}" for tag in ${tags}; do + echo "Title for $tag:" + read title # Cannot indent here string. cat <"${TAGDIR}/tag_${tag}.md" --- -title: "${tag} Posts" +title: "${title}" tagName: ${tag} search: exclude permalink: tag_${tag}.html @@ -39,6 +41,8 @@ folder: tags {% include links.html %} EOF +echo " - ${tag}" >> _data/tags.yml + done else