diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-10-21 09:39:37 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-10-21 09:39:37 +0700 |
commit | 3ec418d2d29608b90f5ae4645e1663c558991ca7 (patch) | |
tree | 5c264be5b50efee8ed704b27278746e83de2e66f | |
parent | 9e40d170473bfd68a98d7047985422adb5d6691f (diff) | |
download | blog-3ec418d2d29608b90f5ae4645e1663c558991ca7.tar.gz |
Update theme and layout
-rw-r--r-- | layouts/_default/single.html | 27 | ||||
-rw-r--r-- | layouts/partials/single-extra.html | 1 | ||||
m--------- | themes/anibus | 0 |
3 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" }} diff --git a/themes/anibus b/themes/anibus -Subproject 329ed57132ac74345f3aa432ecb733a760acd2f +Subproject a727e192cd1cc5c9aa39674efd62b1222635d21 |