aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-10-05 10:30:13 -0300
committerEuAndreh <eu@euandre.org>2020-10-05 10:30:13 -0300
commitef1f6617bd1c63b0f77f5d8c76a5887b210de248 (patch)
tree9f5e72edfc67b1e4e85691ca25a541bd59d50a45
parent_config.yml: Use custom permalink to *not* include the category on the URL (diff)
downloadeuandre.org-ef1f6617bd1c63b0f77f5d8c76a5887b210de248.tar.gz
euandre.org-ef1f6617bd1c63b0f77f5d8c76a5887b210de248.tar.xz
Revert back to the title with colon
-rw-r--r--_posts/2020-10-05-swift2nix-run-swift-inside-nix-builds.md2
-rwxr-xr-xscripts/assert-content.sh6
2 files changed, 1 insertions, 7 deletions
diff --git a/_posts/2020-10-05-swift2nix-run-swift-inside-nix-builds.md b/_posts/2020-10-05-swift2nix-run-swift-inside-nix-builds.md
index 799bcb7..bd889af 100644
--- a/_posts/2020-10-05-swift2nix-run-swift-inside-nix-builds.md
+++ b/_posts/2020-10-05-swift2nix-run-swift-inside-nix-builds.md
@@ -1,5 +1,5 @@
---
-title: swift2nix - Run Swift inside Nix builds
+title: "swift2nix: Run Swift inside Nix builds"
date: 2020-10-05
layout: post
lang: en
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