#!/bin/bash YEAR=${1:-$(date "+%Y")} echo -n "Titulo: " read TITLE SLUG=$(bin/slugify ${TITLE}) hugo new ${YEAR}/${SLUG}.md