diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-10-19 19:57:41 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-10-19 19:57:41 +0200 |
commit | 19748dcd98294b466d5e31e158c65054d867b36e (patch) | |
tree | 09f79a4c9ec7dab6a28904830ecf9e2a7d40cb78 | |
parent | f52211899c02b6c2133f8a672a7c94b6d1cb09a8 (diff) |
remove "other" links
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/pages/index.php | 21 |
2 files changed, 3 insertions, 20 deletions
@@ -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(); |