Skip to content

Commit d22620f

Browse files
authored
Merge pull request github#6575 from shati-patel/docs-copyright-year
Docs: Auto-update copyright year
2 parents b4963c7 + e1ae531 commit d22620f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs/codeql/_templates/layout.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@
165165
</li>
166166
</ul>
167167
<ul class="list-style-none d-flex text-gray">
168-
<li class="mr-3">&copy; 2021 GitHub, Inc.</li>
168+
<li class="mr-3">&copy;
169+
<script type="text/javascript">document.write(new Date().getFullYear());</script> GitHub, Inc.</li>
169170
<li class="mr-3"><a
170171
href="https://docs.github.com/github/site-policy/github-terms-of-service"
171172
class="link-gray">Terms </a></li>

docs/codeql/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,11 +349,12 @@ <h4 class="mb-3 text-mono text-gray-light text-normal">Company</h4>
349349
</li>
350350
</ul>
351351
<ul class="list-style-none d-flex text-gray">
352-
<li class="mr-3">&copy; 2021 GitHub, Inc.</li>
352+
<li class="mr-3">&copy;
353+
<script type="text/javascript">document.write(new Date().getFullYear());</script> GitHub, Inc.</li>
353354
<li class="mr-3"><a
354-
href="https://docs.github.com/en/free-pro-team@latest/github/site-policy/github-terms-of-service"
355+
href="https://docs.github.com/github/site-policy/github-terms-of-service"
355356
class="link-gray">Terms </a></li>
356-
<li><a href="https://docs.github.com/en/free-pro-team@latest/github/site-policy/github-privacy-statement"
357+
<li><a href="https://docs.github.com/github/site-policy/github-privacy-statement"
357358
class="link-gray">Privacy </a></li>
358359
</ul>
359360
</div>

0 commit comments

Comments
 (0)