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
DanLanglois edited this page Feb 14, 2019
·
35 revisions
It is very easy to add your own README files/templates to your Gogs instance without touching a single bit of Git history. You can replace/override core templates by creating a custom version.
Create a plain text file then move to directory custom/conf/readme/README and restart Gogs.
You can put multiple versions in there, not just one README template, but as many as you like, just put them in there, a README2 or whathaveyou. They will appear as choices in the dropdown menu.
Also note that the README template supports four basic placeholders.
Currently, you can use following placeholders, for corresponding values of the repository: