Move theme from subrepo into the main repo
the theme is customized for this site so having it as a sub repo dosent make sense
This commit is contained in:
20
themes/hugo-theme-minos/layouts/_default/list.html
Normal file
20
themes/hugo-theme-minos/layouts/_default/list.html
Normal file
@@ -0,0 +1,20 @@
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
<div id="container">
|
||||
{{ partial "header.html" . }}
|
||||
<section id="main" class="outer">
|
||||
<section class="archives-wrap">
|
||||
<div class="archive-category-wrap">
|
||||
<span class="archive-category">{{ .Title }}</span>
|
||||
</div>
|
||||
<div class="archives">
|
||||
{{- range .Paginator.Pages }}
|
||||
{{ partial "li.html" . }}
|
||||
{{- end -}}
|
||||
</div></section>
|
||||
{{ partial "pagination.html" . }}
|
||||
</section>
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
15
themes/hugo-theme-minos/layouts/_default/single.html
Normal file
15
themes/hugo-theme-minos/layouts/_default/single.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{{ partial "head.html" . }}
|
||||
|
||||
<body>
|
||||
<div id="container">
|
||||
{{ partial "header.html" . }}
|
||||
<section id="main" class="outer">
|
||||
{{ partial "article.html" . }}
|
||||
{{ if and (not .Params.nocomment) .Site.DisqusShortname }}
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
27
themes/hugo-theme-minos/layouts/_default/terms.html
Normal file
27
themes/hugo-theme-minos/layouts/_default/terms.html
Normal file
@@ -0,0 +1,27 @@
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
<div id="container">
|
||||
{{ partial "header.html" . }}
|
||||
<section id="main" class="outer">
|
||||
<section class="layout-wrap">
|
||||
<div class="layout-title">
|
||||
<span>{{ .Title }}</span>
|
||||
</div>
|
||||
<div class="layout-wrap-inner tag-cloud">
|
||||
{{ $site := .Site }}
|
||||
{{ $data := .Data }}
|
||||
<ul>
|
||||
{{ range $key, $value := .Data.Terms.Alphabetical }}
|
||||
<li>
|
||||
<a href="{{ $site.LanguagePrefix }}/{{ $data.Plural }}/{{ $value.Name | urlize }}">{{ $value.Name }}</a>({{ $value.Count }})
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</section>
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user