diff --git a/src/config.yml b/src/config.yml index 98ff84f..f46e95e 100644 --- a/src/config.yml +++ b/src/config.yml @@ -33,13 +33,18 @@ menu: title: "Posts" url: "/posts/" weight: 10 + - identifier: "microposts" + name: "Social" + title: "Social" + url: "/microposts/" + weight: 20 - identifier: "archive" name: "Archive" title: "Archive" url: "/archive/" - weight: 20 + weight: 30 - identifier: "about" name: "About" title: "About" url: "/about/" - weight: 30 + weight: 40 diff --git a/src/themes/oscar/layouts/microposts/list.html b/src/themes/oscar/layouts/microposts/list.html new file mode 100644 index 0000000..f4588cb --- /dev/null +++ b/src/themes/oscar/layouts/microposts/list.html @@ -0,0 +1,24 @@ +{{ define "main" }} + +
+

Microposts

+ {{ .Content }} +
+
+ {{ range (.Paginate (where .Pages "Type" "microposts")).Pages }} +
+
+ +
+ {{ .Content }} +
+
+ {{ end }} +
+ +
+ +{{ end }} +