-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathshow.blade.php
More file actions
141 lines (110 loc) · 5.92 KB
/
show.blade.php
File metadata and controls
141 lines (110 loc) · 5.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
@extends('next.layouts.app')
@section('content')
@parent
<div id="content" class="content">
<div class="post-block category">
<div id="posts" class="posts-collapse">
<div class="collection-title">
<h1>{{$tagName}}
<small>标签</small>
</h1>
</div>
@if($articles)
@foreach($articles as $article)
<article class="post post-type-normal" itemscope="" itemtype="">
<header class="post-header">
<h2 class="post-title" style="margin-left: 100px;">
<a class="post-title-link" href="{{route('articles.show', $article->id)}}"
itemprop="url">
<span itemprop="name">{{$article->title}}</span>
</a>
</h2>
<div class="post-meta">
<time class="post-time" itemprop="dateCreated"
datetime="{{$article->created_at_date}}"
content="{{$article->created_at_date}}">
{{$article->created_at_date}}
</time>
</div>
</header>
</article>
@endforeach
@endif
</div>
</div>
{{ $articles->links() }}
</div>
@endsection
@section('sidebar')
@parent
<aside id="sidebar" class="sidebar">
<div class="sidebar-inner">
<section class="site-overview-wrap sidebar-panel sidebar-panel-active">
<div class="site-overview">
<div class="site-author motion-element" itemprop="author" itemscope=""
itemtype="">
<img class="site-author-image" itemprop="image" src="/next/images/avatar.jpg"
alt="MrCoder">
<p class="site-author-name" itemprop="name">MrCoder</p>
<p class="site-description motion-element"
itemprop="description">@yield('title', setting('web_name', 'Laravel'))</p>
</div>
<nav class="site-state motion-element">
<div class="site-state-item site-state-posts">
<a href="/">
<span class="site-state-item-count">{{$articleCount}}</span>
<span class="site-state-item-name">日志</span></a>
</div>
<div class="site-state-item site-state-categories">
<a href="/cates">
<span class="site-state-item-count">{{$catesCount}}</span>
<span class="site-state-item-name">分类</span></a>
</div>
<div class="site-state-item site-state-tags">
<a href="/tags">
<span class="site-state-item-count">{{$tagsCount}}</span>
<span class="site-state-item-name">标签</span></a>
</div>
</nav>
{{--<div class="feed-link motion-element">--}}
{{--<a href="/atom.xml" rel="alternate">--}}
{{--<i class="fa fa-rss"></i>RSS</a>--}}
{{--</div>--}}
<div class="links-of-author motion-element">
<span class="links-of-author-item">
<a href="https://frcoderblog.github.io" target="_blank" title="GitHub">
<i class="fa fa-fw fa-github"></i>GitHub</a>
</span>
<span class="links-of-author-item">
<a href="http://www.wrsee.com" target="_blank" title="Wrsee">
<i class="fa fa-fw fa-code"></i>Wrsee</a>
</span>
<span class="links-of-author-item">
<a href="http://frider.coding.me" target="_blank" title="Coding">
<i class="fa fa-fw fa-terminal"></i>Coding</a>
</span>
</div>
</div>
</section>
</div>
</aside>
@endsection
@push('importscripts')
<link href="/next/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">
<link href="/next/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css">
<link href="/next/css/main.css?v=5.1.4" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="/next/css/sweetalert.mini.css">
<script async src="/next/js/src/busuanzi.pure.mini.js"></script>
<script type="text/javascript" src="/next/lib/jquery/index.js?v=2.1.3"></script>
<script type="text/javascript" src="/next/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
<script type="text/javascript" src="/next/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
<script type="text/javascript" src="/next/lib/velocity/velocity.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/next/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/next/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
<script type="text/javascript" src="/next/js/src/utils.js?v=5.1.4"></script>
<script type="text/javascript" src="/next/js/src/motion.js?v=5.1.4"></script>
<script type="text/javascript" src="/next/js/src/bootstrap.js?v=5.1.4"></script>
@endpush
@section('diyscript')
@parent
@endsection