|
|
@@ -9,12 +9,21 @@
|
|
|
|
|
|
<div class="section-card">
|
|
|
<div class="section-details">
|
|
|
- <h3 class="section-count">1 page</h3>
|
|
|
- <h1 class="section-term">Example Category</h1>
|
|
|
-
|
|
|
- <h2 class="section-description">
|
|
|
- A description of this category
|
|
|
- </h2>
|
|
|
+ <h3 class="section-count">{{ $count }} page</h3>
|
|
|
+ <h1 class="section-term">
|
|
|
+ @foreach ($current as $category)
|
|
|
+ /<a href="{{ route('category', ['user' => $user['userName'],'category1' => $category['id'],]) }}">
|
|
|
+ {{ $category['label'] }}
|
|
|
+ </a>
|
|
|
+ @endforeach
|
|
|
+ </h1>
|
|
|
+ <section class="widget tagCloud">
|
|
|
+ <div class="tagCloud-tags">
|
|
|
+ @foreach($tagOptions as $id => $tag)
|
|
|
+ <a href="{{ $tag['tag']->name }}">{{ $tag['tag']->name }}</a>
|
|
|
+ @endforeach
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
</div>
|
|
|
</div>
|
|
|
</header>
|
|
|
@@ -22,7 +31,7 @@
|
|
|
<section class="article-list--compact">
|
|
|
@foreach ($posts as $post)
|
|
|
<article>
|
|
|
- <a href="https://demo.stack.jimmycai.com/p/hello-world/">
|
|
|
+ <a href="{{ route('book.read', $post['uid']) }}">
|
|
|
<div class="article-details">
|
|
|
<h2 class="article-title">{{ $post->title }}</h2>
|
|
|
<footer class="article-time">
|