Skip to content

Commit

Permalink
Merge pull request #938 from pumalove/update-copyright-year
Browse files Browse the repository at this point in the history
Fetch copyright year from current date. With fallback to 2023 if no js
  • Loading branch information
vzarytovskii authored Sep 5, 2023
2 parents 877385a + 18eca8c commit 5e044be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ <h4>Follow</h4>
<footer id="footer">
<div class="container text-center">
<a href="#main" id="footer-arrow"><img src="img/arrow.png" alt="Back to the top" /></a>
<p>Copyright © 2012-2022 F# Software Foundation and individual contributors.
<p>Copyright © 2012-<span id="copyright-year">2023</span> F# Software Foundation and individual contributors.
<br/>
<p>Maintained by F# Software Foundation and the F# community on <a href="https://github.com/fsharp/fsfoundation" target="_blank">GitHub</a>.</p>
</div>
Expand Down Expand Up @@ -458,5 +458,8 @@ <h4>Follow</h4>
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script>
$('#copyright-year').html(new Date().getFullYear());
</script>
</body>
</html>

0 comments on commit 5e044be

Please sign in to comment.