Added theme back properly
This commit is contained in:
18
themes/hugo-uno/layouts/post/single.html
Normal file
18
themes/hugo-uno/layouts/post/single.html
Normal file
@ -0,0 +1,18 @@
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
{{ partial "sidebar.html" . }}
|
||||
<div class="content-wrapper">
|
||||
<div class="content-wrapper__inner">
|
||||
<div class="post">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ partial "sharing.html" .}}
|
||||
{{ partial "comments.html" .}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
{{ partial "script.html" .}}
|
||||
</html>
|
13
themes/hugo-uno/layouts/post/summary.html
Normal file
13
themes/hugo-uno/layouts/post/summary.html
Normal file
@ -0,0 +1,13 @@
|
||||
<article class="post">
|
||||
<header>
|
||||
<h2><a href="{{ .Permalink }}">{{ .Title }} {{ if .Draft }}:: DRAFT{{end}}</a> </h2>
|
||||
<div class="post-meta">{{ .Date.Format "Mon, Jan 2, 2006" }} - Read in {{ .ReadingTime }} Min </div>
|
||||
</header>
|
||||
<div class="summary">
|
||||
{{ .Summary }}
|
||||
</div>
|
||||
<footer>
|
||||
<a href='{{ .Permalink }}'><nobr>Read more →</nobr></a>
|
||||
</footer>
|
||||
</article>
|
||||
{{ partial "script.html" .}}
|
Reference in New Issue
Block a user