Skip to content

Copyright string as a template render #14297

@septs

Description

@septs

Motivation

.Site.Copyright as a template render it, reduce needs a updating strings.

Example

Expected Input:

copyright = "Copyright © 2023-{{ now.Year }} Example, Inc."

Expected Output:

{{ .Site.Copyright }} → Copyright © 2023-2025 Example, Inc.

Similar discussions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions