Skip to content

Add YEAR variable to template options. #31583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tinyblargon opened this issue Jul 7, 2024 · 0 comments · Fixed by #31584
Closed

Add YEAR variable to template options. #31583

Tinyblargon opened this issue Jul 7, 2024 · 0 comments · Fixed by #31584
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@Tinyblargon
Copy link

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

@Tinyblargon Tinyblargon added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Jul 7, 2024
delvh added a commit to delvh/gitea that referenced this issue Jul 7, 2024
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Oct 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant