Randomly Helpful Tools When Using Hugo and Git

Where Did I Write That? If I wanted to find unpublished articles, I could use the following Terminal Command: findstr /S /I /M /C:“draft:true” *.md /S - Goes through all the subdirectories /I - Case insensitive /M - List the files we find the search text in. If you leave out the /C: it will list a file with any of the words in the search string. /C: - Only find the files with the exact contents of the search string *.md - Only look in markdown files. ...

December 18, 2024