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 ""; } ?> + diff --git a/template/header.php b/template/header.php index 8a5f48c..32c3488 100644 --- a/template/header.php +++ b/template/header.php @@ -24,6 +24,8 @@ echo ""; } ?> + +