about summary refs log tree commit diff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html27
-rw-r--r--layouts/partials/single-extra.html1
2 files changed, 1 insertions, 27 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
deleted file mode 100644
index c8e594a..0000000
--- a/layouts/_default/single.html
+++ /dev/null
@@ -1,27 +0,0 @@
-{{ define "main" }}
-{{ if .Menus }}
-<nav class="post-navigation">
-	{{ range .Menus }}
-	<a href="{{ .URL | absLangURL }}" title="{{ .Title }}">{{ .Name }}</a>
-	{{ end }}
-</nav>
-{{ end }}
-
-<article class="post h-entry">
-	<header class="post-header">
-		<h1 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}">{{ trim .Title  " " }}</h1>
-	</header>
-	<div class="content e-content">
-		{{ .Content }}
-	</div>
-	{{ partial "post-info.html" . }}
-</article>
-
-{{ if and (.Site.Params.paginationSinglePost) (ne .Type "page") }}
-	{{ partial "paginationPost.html" . }}
-{{ end }}
-
-
-{{ partial "custom-webring.html" }}
-
-{{ end }}
diff --git a/layouts/partials/single-extra.html b/layouts/partials/single-extra.html
new file mode 100644
index 0000000..0d3b101
--- /dev/null
+++ b/layouts/partials/single-extra.html
@@ -0,0 +1 @@
+{{ partial "custom-webring.html" }}