Skip to content

Conversation

@rahulptl165
Copy link

Fixes #342

Description:

This PR updates the footer of the Nightwatch.js website to dynamically display the current year. The current implementation has a static "© 2023" text, which gives the impression that the website is outdated. The new implementation ensures the year is automatically updated using EJS.

Changes Made:

  • Updated the EJS template for the footer to dynamically render the current year using JavaScript's Date object.
  • Code snippet added:
    <footer>
      <p<%= new Date().getFullYear() %> Nightwatch.js. All rights reserved.</p>
    </footer>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Footer on Nightwatch Website Displays "© 2023" Instead of the Current Year

1 participant