diff --git a/lib/Portfolio.php b/lib/Portfolio.php index cbfbad1..93a3b8d 100644 --- a/lib/Portfolio.php +++ b/lib/Portfolio.php @@ -29,9 +29,11 @@ final class Portfolio $url = PORTFOLIO_URL; $galleries = $this->loadGalleries(); $links = $this->links; - $footer = PORTFOLIO_CREATION_YEAR . + $footer = PORTFOLIO_CREATION_YEAR . " - " . getdate()["year"] . ". " . AUTHOR_NICKNAME . (AUTHOR_REALNAME !== "" ? " (" . AUTHOR_REALNAME . ")" : ""); + $has_subfooter = PORTFOLIO_SUBFOOTER !== ""; + $subfooter = PORTFOLIO_SUBFOOTER; include "views/index.phtml"; } diff --git a/views/index.phtml b/views/index.phtml index 09898a5..f7fd364 100644 --- a/views/index.phtml +++ b/views/index.phtml @@ -35,6 +35,11 @@ - +