mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-11 19:34:47 +01:00
improve template docs
This commit is contained in:
parent
efdc304c96
commit
fd5cc7dfca
@ -1,8 +1,8 @@
|
|||||||
{{/* Template Attributes:
|
{{/* Template Attributes:
|
||||||
* Repo: The repo
|
* Repo (string, required): The repo
|
||||||
* ShowRepoAvatar: Enable repo avatar when `true`
|
* Size (int, required): Icon size in pixels
|
||||||
* ShowRepoOwnerAvatar: Enable owner avatars when `true`
|
* ShowRepoAvatar (boolean, optional): Render the repo's avatar, if one is set
|
||||||
* Size: Icon size in pixels
|
* ShowRepoOwnerAvatar (boolean, optional): Render the repo's owner avatar
|
||||||
*
|
*
|
||||||
* Note: Keep the icon logic in sync with web_src/js/utils/mappings.ts
|
* Note: Keep the icon logic in sync with web_src/js/utils/mappings.ts
|
||||||
*/}}
|
*/}}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user