Year will now update automagically

This commit is contained in:
Sophia Atkinson 2022-12-20 23:32:12 -08:00
parent 5c185cb111
commit 22d0a8bed8
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<?php
if (!defined('title')) define('title', 'Perla The Dog');
if (!defined('copyright')) define('copyright', '2022 Sophia Atkinson. CC BY-NC 4.0');
if (!defined('copyright')) define('copyright', 'Sophia Atkinson. CC BY-NC 4.0');
if (!defined('email')) define('email', 'mailto:sophialul@protonmail.com');

View File

@ -13,7 +13,7 @@
<h2>Contact</h2>
<p><a class="white-link" href="<?php echo email ?>">Email</a></p>
</section>
<p class="copyright">&copy;<?php echo copyright ?>, Designed by: <a class="white-link" href="https://html5up.net">HTML5 UP</a>. </p>
<p class="copyright">&copy;<?php echo date("Y"); ?> <?php echo copyright ?>, Designed by: <a class="white-link" href="https://html5up.net">HTML5 UP</a>. </p>
</div>
<div> </div>
</div>
@ -28,7 +28,7 @@
<h2><a href="/archives/2020/">2020</a></h2>
<h2><a href="/archives/2019/">2019</a></h2>
</section>
<p class="copyright">&copy;<?php echo copyright ?>, Designed by: <a class="white-link" href="https://html5up.net">HTML5 UP</a>. </p>
<p class="copyright">&copy;<?php echo date("Y"); ?> <?php echo copyright ?>, Designed by: <a class="white-link" href="https://html5up.net">HTML5 UP</a>. </p>
</div>
<div> </div>
</div>