Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 0eefff5

Browse files
authored
fix: add dynamic copyright (#1169)
1 parent 3698d8c commit 0eefff5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/app/shared/footer/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<div class="docs-footer-copyright">
2020
<div>
21-
<span>Powered by Google LLC ©2010-2021.</span>
21+
<span>Powered by Google LLC ©2010-{{year}}.</span>
2222
<a href="https://github.com/angular/components/blob/main/LICENSE">Code licensed under an MIT-style License.</a>
2323
<span>Documentation licensed under CC BY 4.0.</span>
2424
</div>

src/app/shared/footer/footer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {VERSION} from '@angular/material/core';
99
export class Footer {
1010
isNextVersion = location.hostname.startsWith('next.material.angular.io');
1111
version = VERSION.full;
12+
year = new Date().getFullYear();
1213
}
1314

1415

0 commit comments

Comments
 (0)