This adds code that makes it possible to give a filename for a new article that ends in '.org' in addition to '.md' ending.
Hugo 0.19 processes org-mode articles automatically, but it does not generate org style headers. The code here bypasses command line 'hugo new' command for org mode articles and generates draft headers in correct format. The header lines are hard coded. I guess they could be made easier to customise.
This adds code that makes it possible to give a filename for a new article that ends in '.org' in addition to '.md' ending.
Hugo 0.19 processes org-mode articles automatically, but it does not generate org style headers. The code here bypasses command line 'hugo new' command for org mode articles and generates draft headers in correct format. The header lines are hard coded. I guess they could be made easier to customise.