chore: update links.php

This commit is contained in:
Aliberk Sandıkçı 2023-05-11 15:42:38 +03:00
parent 9303ab6c24
commit 0d78afe863

View file

@ -12,7 +12,13 @@
<meta name="author" content="Aliberk Sandıı"> <meta name="author" content="Aliberk Sandıı">
<!-- CSS Files --> <!-- CSS Files -->
<?php
$dir = new DirectoryIterator("assets/css");
foreach ($dir as $file) {
if ((!$file->isDot()) && str_ends_with($file, ".css")) {
echo '<link rel="stylesheet" href="/assets/css/' . $file . '">' . PHP_EOL . ' ';
}
} ?>
<title>Aliberk Sandıı | Personel Website | aliberksandikci.com.tr</title> <title>Aliberk Sandıı | Personel Website | aliberksandikci.com.tr</title>
</head> </head>
@ -67,6 +73,14 @@
?> ?>
<?php
$dir = new DirectoryIterator("assets/js");
foreach ($dir as $file) {
if ((!$file->isDot()) && str_ends_with($file, ".js") && $file != "jquery.js") {
echo '<script src="/assets/js/' . $file . '"></script>' . PHP_EOL . ' ';
}
} ?>
</body> </body>
</html> </html>