From ef1f6617bd1c63b0f77f5d8c76a5887b210de248 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 5 Oct 2020 10:30:13 -0300 Subject: Revert back to the title with colon --- scripts/assert-content.sh | 6 ------ 1 file changed, 6 deletions(-) (limited to 'scripts') diff --git a/scripts/assert-content.sh b/scripts/assert-content.sh index afcf9a0..ab11183 100755 --- a/scripts/assert-content.sh +++ b/scripts/assert-content.sh @@ -84,12 +84,6 @@ assert-frontmatter() { if ! contains-element "${URL}" "${IGNORED_PAGES[@]}"; then TITLE="$(get-title "$F")" [[ -z "${TITLE}" ]] && fail-attr 'title' "${URL}" - if grep ':' <(echo "$TITLE") > /dev/null; then - echo "Use of forbidden colon ':' on title '$TITLE'" - echo "Colons will make Jekyll create a subdirectory on the final path" - echo "Replace it with a dash '-'" - exit 1 - fi fi if ! contains-element "${LANG}" "${LANGS[@]}"; then -- cgit v1.2.3