Skip to content

Assume .Site.Copyright is HTML for backwards compatibility #1953

@chalin

Description

@chalin

Originally posted by @chalin in #1821 (comment)

Hi @chalin, What’s the rationale behind this change (previously it was {{ with .Site.Copyright }}{{ . | safeHTML }}{{ end }})? I’m worried that it makes it difficult to include HTML badges like the ones generated from https://chooser-beta.creativecommons.org/.

@yann-soubeyrand: My rational was to make processing consistent across alternatives, but it doesn't really need to be consistent -- I can claim backwards compatibility for .Site.Copyright. That is, I'm willing to revert back to the old behavior for .Site.Copyright. How does that sound to you?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions