diff --git a/layouts/_default/list.html b/layouts/_default/list.html index ed32083..921c2fc 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -9,23 +9,11 @@
{{ range .Data.Pages }} -
-
-
- -

- {{ .Title }} -

-
-
-
+ {{ partial "li.html" . }} {{ end }}
{{ partial "footer.html" . }} - \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 485b7d5..e770af8 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -10,7 +10,6 @@ {{ end }} {{ partial "footer.html" . }} - diff --git a/layouts/index.html b/layouts/index.html index 4e0f67e..6655256 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -59,7 +59,6 @@ {{ end }} {{ partial "footer.html" . }} - \ No newline at end of file diff --git a/layouts/partials/li.html b/layouts/partials/li.html new file mode 100644 index 0000000..af59671 --- /dev/null +++ b/layouts/partials/li.html @@ -0,0 +1,12 @@ +
+
+
+ +

+ {{ .Title }} +

+
+
+
\ No newline at end of file