Skip to content

Commit 3982add

Browse files
committed
automatic year in html files
1 parent 62e9095 commit 3982add

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

404-commercial.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ <h1>Not found</h1>
171171
</div>
172172

173173
<div class="col-sm-3">
174-
<p class="text-nowrap">Copyright © 2022 Red Hat, Inc.</span></p>
174+
<p class="text-nowrap">Copyright © <script>document.write(new Date().getFullYear())</script> Red Hat, Inc.</p>
175175
</div>
176176

177177
<div class="col">

index-commercial.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ <h2>OpenShift Container Platform <font size="-1">(한국어 문서)</font></h2>
375375
</div>
376376

377377
<div class="col-sm-3">
378-
<p class="text-nowrap">Copyright © 2022 Red Hat, Inc.</p>
378+
<p class="text-nowrap">Copyright © <script>document.write(new Date().getFullYear())</script> Red Hat, Inc.</p>
379379
</div>
380380

381381
<div class="col">

0 commit comments

Comments
 (0)