Skip to content

Commit 88ee924

Browse files
fix(website): dynamic footer year
1 parent 2f1dcb3 commit 88ee924

5 files changed

Lines changed: 15 additions & 5 deletions

File tree

website/api.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,9 @@ <h3>Need Integration Guides?</h3>
639639
<footer class="footer" style="margin-top: 4rem;">
640640
<div class="container">
641641
<div class="footer-bottom">
642-
<p class="text-muted">&copy; 2024 Suhaib Bin Younis. MIT License.</p>
642+
<p class="text-muted">&copy;
643+
<script>document.write(new Date().getFullYear())</script> Suhaib Bin Younis. MIT License.
644+
</p>
643645
<div class="footer-social">
644646
<a href="https://github.com/suhaibbinyounis" target="_blank" rel="noopener" aria-label="GitHub">
645647
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">

website/docs.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,9 @@ <h3>Need more help?</h3>
478478
<footer class="footer" style="margin-top: 4rem;">
479479
<div class="container">
480480
<div class="footer-bottom">
481-
<p class="text-muted">&copy; 2024 Suhaib Bin Younis. MIT License.</p>
481+
<p class="text-muted">&copy;
482+
<script>document.write(new Date().getFullYear())</script> Suhaib Bin Younis. MIT License.
483+
</p>
482484
<div class="footer-social">
483485
<a href="https://github.com/suhaibbinyounis" target="_blank" rel="noopener" aria-label="GitHub">
484486
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">

website/faq.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,9 @@ <h3>Still Have Questions?</h3>
383383
<footer class="footer">
384384
<div class="container">
385385
<div class="footer-bottom">
386-
<p class="text-muted">&copy; 2024 Suhaib Bin Younis. MIT License.</p>
386+
<p class="text-muted">&copy;
387+
<script>document.write(new Date().getFullYear())</script> Suhaib Bin Younis. MIT License.
388+
</p>
387389
<div class="footer-social">
388390
<a href="https://github.com/suhaibbinyounis" target="_blank" rel="noopener" aria-label="GitHub">
389391
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">

website/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,9 @@ <h4 class="footer-title">Links</h4>
494494
</div>
495495

496496
<div class="footer-bottom">
497-
<p class="text-muted">&copy; 2024 Suhaib Bin Younis. MIT License.</p>
497+
<p class="text-muted">&copy;
498+
<script>document.write(new Date().getFullYear())</script> Suhaib Bin Younis. MIT License.
499+
</p>
498500
<div class="footer-social">
499501
<a href="https://github.com/suhaibbinyounis" target="_blank" rel="noopener" aria-label="GitHub">
500502
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">

website/wiki.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,9 @@ <h3>Have Questions?</h3>
520520
<footer class="footer" style="margin-top: 4rem;">
521521
<div class="container">
522522
<div class="footer-bottom">
523-
<p class="text-muted">&copy; 2024 Suhaib Bin Younis. MIT License.</p>
523+
<p class="text-muted">&copy;
524+
<script>document.write(new Date().getFullYear())</script> Suhaib Bin Younis. MIT License.
525+
</p>
524526
<div class="footer-social">
525527
<a href="https://github.com/suhaibbinyounis" target="_blank" rel="noopener" aria-label="GitHub">
526528
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">

0 commit comments

Comments
 (0)