issues
search
trilbymedia
/
grav-plugin-git-sync
Collaboratively Synchronize your Grav `user` folder hosted on GitHub, BitBucket or GitLab
Apache License 2.0
245
stars
57
forks
source link
Allow setting a personalised commit message
#123
Closed
miguelsalespereira
closed
5 years ago
miguelsalespereira
commented
5 years ago
Update plugin blueprint to
Add new
git.message
config setting, that allows users to set their own automatic commit message
This message supports using {{pageTitle}} and {{pageroute}} as placeholders for information from the saved page
Updated GitSync class to
Set the commit message using the new
git.message
config setting
Get data from the posted/saved page, to replace the {{pageTitle}} and {{pageRoute}} placeholders in the message
w00fz
commented
5 years ago
Nice! I’ll review and merge this soon.
Cheers