bradfrost / patternlab

Make a pattern library using atomic design.
853 stars 116 forks source link

Automatic Copyright Year #23

Closed michaelthorne closed 10 years ago

michaelthorne commented 10 years ago

As seen on CSS Tricks: http://css-tricks.com/snippets/php/automatic-copyright-year/

&copy; <?php echo date("Y") ?>

This is to fix the current, hard-coded 2013 in: patterns/02-Organisms/00-Global/01-Footer.php

bradfrost commented 10 years ago

Hey @michaelthorne, thanks for the suggestion. I'm going to pass on implementing this because Pattern Lab is meant to be language agnostic, and this is also a very specific case. Pattern Lab is about the underlying system, rather than the demo code we provide.

michaelthorne commented 10 years ago

@bradfrost That makes perfect sense. I just had a look at the PHP version of Pattern Lab and thought my previous comment (issue) would've applied there. But I see you're using Mustache templates which is great.

Thanks for a great project!

bradfrost commented 10 years ago

Yeah, the PHP is really just used behind the scenes to generate the site.