Add YEAR variable to template options. #13255

Closed
opened 2025-11-02 10:36:22 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @Tinyblargon on GitHub (Jul 7, 2024).

Feature Description

Adding a YEAR variable to gitea templates, would allow for automatic LICENSE configuration when creating a new repo from a template.

Copyright (c) ${YEAR} ${REPO_OWNER}

Screenshots

No response

Originally created by @Tinyblargon on GitHub (Jul 7, 2024). ### Feature Description Adding a `YEAR` variable to [gitea templates](https://gitea.com/gitea/docs/src/branch/main/docs/usage/template-repositories.md), would allow for automatic LICENSE configuration when creating a new repo from a template. ```LICENSE Copyright (c) ${YEAR} ${REPO_OWNER} ``` ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 10:36:22 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13255