diff --git a/layouts/_default/list.html b/layouts/_default/list.html index adc8874..bee73c6 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,7 +3,7 @@ {{- end -}} {{ define "content" -}} - {{ partial "list_content.html" . }} + {{ partial "content_list.html" . }} {{- end -}} {{ define "footer" -}} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e91d36e..8159690 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,9 +3,9 @@ {{- end -}} {{ define "content" -}} - {{ partial "post_content.html" . }} + {{ partial "content_single.html" . }} {{- end -}} {{ define "footer" -}} - {{ partial "post_footer.html" . }} + {{ partial "commenting.html" . }} {{- end -}} diff --git a/layouts/partials/code_header.html b/layouts/partials/code_header.html deleted file mode 100644 index c7db1a0..0000000 --- a/layouts/partials/code_header.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - -{{ with .Site.Params.meta.description }}{{ end }} -{{ with .Site.Params.meta.keywords }}{{ end }} -{{ .Hugo.Generator }} - - -{{ if .IsHome -}} - {{ .Site.Title }} -{{- else -}} - {{ .Title }} · {{ .Site.Title }} -{{- end }} - - - - - - - - - - - - - - - - - - - diff --git a/layouts/partials/post_footer.html b/layouts/partials/commenting.html similarity index 53% rename from layouts/partials/post_footer.html rename to layouts/partials/commenting.html index 870e307..0c4fa77 100644 --- a/layouts/partials/post_footer.html +++ b/layouts/partials/commenting.html @@ -12,17 +12,8 @@ {{ if .Site.DisqusShortname -}} {{ if ne .Params.showcomments false }}

Comments

- {{ partial "post_disqus.html" . }} + {{ partial "commenting_disqus.html" . }} {{ end }} {{ else if .Site.Params.GraphCommentId -}} -
- + {{ partial "commenting_graph.html" . }} {{- end }} \ No newline at end of file diff --git a/layouts/partials/post_disqus.html b/layouts/partials/commenting_disqus.html similarity index 100% rename from layouts/partials/post_disqus.html rename to layouts/partials/commenting_disqus.html diff --git a/layouts/partials/commenting_graph.html b/layouts/partials/commenting_graph.html new file mode 100644 index 0000000..a2843f7 --- /dev/null +++ b/layouts/partials/commenting_graph.html @@ -0,0 +1,10 @@ +
+ \ No newline at end of file diff --git a/layouts/partials/list_content.html b/layouts/partials/content_list.html similarity index 100% rename from layouts/partials/list_content.html rename to layouts/partials/content_list.html diff --git a/layouts/partials/post_content.html b/layouts/partials/content_single.html similarity index 100% rename from layouts/partials/post_content.html rename to layouts/partials/content_single.html