Hi guys,
i´ve already made the following site: www.reiner-michael.de
now I´m trying to connect the articles of JOURNAL with the articles of the Homepage.
(as you can see, the tags of the articles all lead at once to the homepage)
i need to achieve the same “tag-funcionality” as on the homepage
here´s the code of one ARTICLE:
<?php snippet('menu') ?>
<div class="content">
<nav role="navigation">
<div id="menuToggle">
<input type="checkbox" />
<span>Tags</span>
<ul id="menu">
<ul>
<li>
<a href="<?= url($page->find('blog') . '/' . url::paramsToString(['tag' => $tag])) ?>">
<?= $page->tags()->html() ?>
</a>
</li>
</ul>
</ul>
</div>
</nav>
<main class="main" role="main">
<article class="article single wrap">
<header class="bottomright">
<h1><?= $page->title()->html() ?></h1>
</header>
<div class="bottomleft">
</div>
<div class="vollbild">
<div class="articlewrap">
<?php snippet('coverimage', $page) ?>
<div class="headline">
<?= $page->headline()->kirbytext() ?>
</div>
<div class="journaltext">
<?= $page->text()->kirbytext() ?>
</div>
</div>
</div>
</article>
<?php snippet('prevnext', ['flip' => true]) ?>
</main>