Open sirinath opened 4 years ago
The PR message body can be customized through fields. In Hugo, you can customize the PR title through the options
parameter.
<input type="hidden" name="options[slug]" value="{{ replace .RelPermalink "/" "" }}">
To address your problem, it suffices to
options
with fields
.[]
.{{ replace .RelPermalink "/" "" }}
to the syntax of your static site generator.The screenshot below shows that all fields named fields[*]
are shown in the PR body.
@alexwaibel Implementing the suggested feature would complicate the current code. I suggest closing this.
Can I make the PR title reflect the blog title instead of "Add Staticman Data"?
Can I make the PR title reflect the blog title instead of "Add Staticman Data"?
@SilentComics You may use the site config param commitMessage
.
Is it possible to add the ability to configure so that
This will make it easy to sort and review comments.