add blog
This commit is contained in:
23
layouts/item/single.html
Normal file
23
layouts/item/single.html
Normal file
@ -0,0 +1,23 @@
|
||||
{{ partial "head.html" . }}
|
||||
{{ partial "navbar.html" . }}
|
||||
{{ partial "header.html" . }}
|
||||
{{ .Content }}
|
||||
|
||||
<article>
|
||||
<div class="content">
|
||||
{{ with .Resources.Match "*.jpg" }}
|
||||
<div class="top-item">
|
||||
<p>
|
||||
{{ range . }}
|
||||
<img src="{{ .RelPermalink }}">
|
||||
{{ end }}
|
||||
</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user