diff --git a/compile.php b/compile.php new file mode 100644 index 0000000..991c58f --- /dev/null +++ b/compile.php @@ -0,0 +1,27 @@ +page_tags) as $page_tag){ + if($page_tag = "{CSS}"){ + for($j = 2; $j < count($css); $j++) + $dictionary->page_tags[$page_tag] .= ""; + } + + if($page_tag = "{JS}"){ + for($j = 2; $j < count($js); $j++) + $dictionary->page_tags[$page_tag] .= ""; + } + + $site = str_replace($page_tag, $dictionary->page_tags[$page_tag], $site); + } + + echo $site; + } \ No newline at end of file diff --git a/src/css/style.css b/src/css/style.css new file mode 100644 index 0000000..e69de29 diff --git a/src/js/script.js b/src/js/script.js new file mode 100644 index 0000000..e69de29 diff --git a/src/views/index.html b/src/views/index.html index de65500..52ef941 100644 --- a/src/views/index.html +++ b/src/views/index.html @@ -3,6 +3,8 @@