You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some kind of automation which generates a new page with the appropriate frontmatter populated. Similar to hugo new
Why:
There's a little bit of tedious copy+paste when writing a new page: inputting mandatory frontmatter. Specifically the current date and author never change in my case ('now' and 'me'), and most of my content uses the same layout.
How:
Maybe an extra CLI like zig build newpage, it could accept flags or request interactive input for the title & description, layouts could be a multi-choice from the available files in '/layouts' folder, author could default to the current login shell user's full name?
The text was updated successfully, but these errors were encountered:
What:
Some kind of automation which generates a new page with the appropriate frontmatter populated. Similar to
hugo new
Why:
There's a little bit of tedious copy+paste when writing a new page: inputting mandatory frontmatter. Specifically the current date and author never change in my case ('now' and 'me'), and most of my content uses the same layout.
How:
Maybe an extra CLI like
zig build newpage
, it could accept flags or request interactive input for the title & description, layouts could be a multi-choice from the available files in '/layouts' folder, author could default to the current login shell user's full name?The text was updated successfully, but these errors were encountered: