diff --git a/src/Data/SiteMeta.php b/src/Data/SiteMeta.php index 8e498be..fffcc61 100644 --- a/src/Data/SiteMeta.php +++ b/src/Data/SiteMeta.php @@ -35,4 +35,12 @@ class SiteMeta { ); } + public static function getCustomCssContent (string $id): string { + return file_get_contents("./data/$id.css"); + } + + public static function getCustomScriptContent (string $id): string { + return file_get_contents("./data/$id.js"); + } + } diff --git a/template/footer.php b/template/footer.php index 327ca53..c923dd1 100644 --- a/template/footer.php +++ b/template/footer.php @@ -10,6 +10,7 @@ echo ""; } ?> +