Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Make the data year in the template dynamic by using date().
  • Loading branch information
andyg5000 authored and MorrisJobke committed Feb 1, 2019
commit c55643d8d71572c5355d31cf6e24a81a201ff944
2 changes: 1 addition & 1 deletion themes/example/defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function getLogoClaim() {
* @return string short footer
*/
public function getShortFooter() {
$footer = '© 2018 <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'.
$footer = '© ' . date('Y') . ' <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'.
'<br/>' . $this->getSlogan();

return $footer;
Expand Down