10 lines
139 B
Plaintext
10 lines
139 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
YEAR=${1:-$(date "+%Y")}
|
||
|
|
||
|
echo -n "Titulo: "
|
||
|
read TITLE
|
||
|
SLUG=$(bin/slugify ${TITLE})
|
||
|
|
||
|
hugo new ${YEAR}/nodos/${SLUG}.md -k nodo
|