Skip to content

Commit

Permalink
fix(clayui.com): keep it phresh w/a dynamic copyright year
Browse files Browse the repository at this point in the history
  • Loading branch information
plhnk committed Feb 12, 2020
1 parent af65fe0 commit 004e4a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clayui.com/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export default () => {
const description =
'This is Clay. A web implementation of the Lexicon Experience Language; built by Liferay.';

const CopyrightYear = new Date().getFullYear()

return (
<div className="home">
<div
Expand Down Expand Up @@ -401,7 +403,7 @@ export default () => {

<div className="col-lg text-center text-lg-right">
<div>
{'Copyright © 2019 '}
{'Copyright © ' + `${CopyrightYear} `}
<a
className="font-weight-bold"
href="https://www.liferay.com/"
Expand Down

0 comments on commit 004e4a3

Please sign in to comment.