15 Oct
2019
15 Oct
'19
2:27 p.m.
Hello,
for file in content/en/blog/*.md; do basefile=$(basename "$file" .md) if [[ ! -e content/de/blog/"$basefile" ]]; then echo "German is missing $basefile"; fi; done;
Perhaps?
Basename will not work cause the file name have different names in the languages blog folder. Only date is what can be used at all because this stand in header of every markdown field.
Maybe instead you're saying that the dates present in one language should also be present in another language? That would be a pretty different solution with which I'm happy to help if you indicate such a desire.
Yes the dates are ever present. -- Thank you & Nice day Silvio