summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--src/pages/index.php21
2 files changed, 3 insertions, 20 deletions
diff --git a/Makefile b/Makefile
index 7870857..88f5621 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
server:
php -S localhost:8080 -t src/pages
-build: ./src/*.php
+build: ./src/*.php ./src/**/*.php
php build.php --pages="/,/projects" --languages="de,en,jp" --server="http://localhost:8080"
build_server:
diff --git a/src/pages/index.php b/src/pages/index.php
index c9bf2bc..2d7d816 100644
--- a/src/pages/index.php
+++ b/src/pages/index.php
@@ -2,6 +2,7 @@
require_once dirname(__DIR__) . '/layout.php';
+
$i18n = i18n([
'de' => [
'topics' => 'Themenbereiche',
@@ -24,6 +25,7 @@ $i18n = i18n([
]);
$t = $i18n['translate'];
+
$volunteering = [
[
'link' => 'https://web.ecogood.org/de/',
@@ -73,12 +75,6 @@ $media = [
],
];
-$other = [
- [
- 'link' => 'https://www.bad-neustadt.de/unsere-stadt/familie-freizeit/vereine',
- 'title' => 'Vereine in Bad Neustadt',
- ],
-];
ob_start();
?>
@@ -163,19 +159,6 @@ ob_start();
<?php endforeach; ?>
</ul>
</div>
-
- <div class="other">
- <h2><?php echo $t('other'); ?></h2>
- <ul class="social__list">
- <?php foreach ($other as $idx => $o): ?>
- <li>
- <a href="<?php echo $o['link']; ?>" target="_blank">
- <?php echo $o['title']; ?>
- </a>
- </li>
- <?php endforeach; ?>
- </ul>
- </div>
</div>
<?php
$content = ob_get_clean();