| 1 | {@ include(common/header) @} |
| 2 | {@ include(microblog/nav) @} |
| 3 | {@ if ($error) @} |
| 4 | <div class="errormes">{{ $error }}</div> |
| 5 | {@ endif @} |
| 6 | {@ if ($scope === 'home') @} |
| 7 | {@ include(microblog/compose) @} |
| 8 | {@ endif @} |
| 9 | <h1 class="paragraph">{{ $heading }}</h1> |
| 10 | {@ if (empty($items)) @} |
| 11 | <p class="paragraph">投稿はまだありません。{{ $scope === 'home' ? '検索から他の人をフォローしてみて下さい。' : '' }}</p> |
| 12 | {@ endif @} |
| 13 | {@ foreach ($items as $it) @} |
| 14 | {@ include(microblog/item) @} |
| 15 | {@ endforeach @} |
| 16 | {@ if ($next) @} |
| 17 | <p class="mb-more"><a href="{{ $next }}">古い投稿</a></p> |
| 18 | {@ endif @} |
| 19 | {@ include(common/footer) @} |