diff --git a/README.md b/README.md index 98c4214..17ec991 100644 --- a/README.md +++ b/README.md @@ -572,14 +572,21 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details. ## License -See [LICENSE](LICENSE) for details. +Copyright © 2024 [Crown Copyright][crown-copyright] (Office for National Statistics) + +Unless stated otherwise, the codebase is released under the [MIT License](LICENSE). +This covers both the codebase and any sample code in the documentation. + +The documentation in this repo are released under the [Open Government Licence v3.0][ogl-v3]. --- [//]: # (:TODO: Enable link checking once https://github.com/tcort/markdown-link-check/issues/250 is resolved.) - [alternative-software-tools]: #alternatives-softwaretools [updating-project]: #updating-project-with-template-changes - + +[crown-copyright]: https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/ + +[ogl-v3]: https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/ diff --git a/project_template/README.md.jinja b/project_template/README.md.jinja index 5a964a5..7bb3093 100644 --- a/project_template/README.md.jinja +++ b/project_template/README.md.jinja @@ -187,9 +187,13 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details. ## License -Copyright © 2024 [Crown Copyright](https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/) (Office for National Statistics) +Copyright © {{ '%Y' | strftime }} [Crown Copyright][crown-copyright] (Office for National Statistics) -Unless stated otherwise, the codebase is released under the [MIT License](LICENSE). This covers both the codebase and any sample code in the documentation. +Unless stated otherwise, the codebase is released under the [MIT License](LICENSE). +This covers both the codebase and any sample code in the documentation. -The documentation in this repo are released under the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/). +The documentation in this repo are released under the [Open Government Licence v3.0][ogl-v3]. + +[crown-copyright]: https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/ +[ogl-v3]: https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/ {%- endif %} diff --git a/project_template/{% if is_public_repo %}LICENSE{% endif %} b/project_template/{% if is_public_repo %}LICENSE{% endif %}.jinja similarity index 92% rename from project_template/{% if is_public_repo %}LICENSE{% endif %} rename to project_template/{% if is_public_repo %}LICENSE{% endif %}.jinja index f0de560..dbdf200 100644 --- a/project_template/{% if is_public_repo %}LICENSE{% endif %} +++ b/project_template/{% if is_public_repo %}LICENSE{% endif %}.jinja @@ -1,5 +1,5 @@ The MIT License (MIT) -Copyright (c) 2024, Crown Copyright (Office for National Statistics) +Copyright (c) {{ '%Y' | strftime }}, Crown Copyright (Office for National Statistics) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the