diff --git a/src/content/sections/about.md b/src/content/sections/about.md index cd7dbe7..cfa39b5 100644 --- a/src/content/sections/about.md +++ b/src/content/sections/about.md @@ -4,7 +4,18 @@ date: 2021-10-22T10:44:54Z draft: false --- -# About - About +## Colophon + +Lorem... + +## Social + +- 🔴 [Youtube Principal](https://www.youtube.com/c/oscarmlage) +- 🔴 [Youtube VODs](https://www.youtube.com/channel/UCXOWqIc9Qh8nEBoxBVNnjyQ) +- 🟣 [Twitch](https://twitch.tv/oscarmlag) +- 🟡 [Github](https://github.com/oscarmlage) +- 🔵 [Twitter](https://twitter.com/oscarmlage) +- 🟠 [Instagram](https://instagram.com/oscarmlage) +- 🟢 [Web](https://oscarmlage.com) diff --git a/src/content/sections/archive.md b/src/content/sections/archive.md index 8b0416a..bb060f0 100644 --- a/src/content/sections/archive.md +++ b/src/content/sections/archive.md @@ -1,7 +1,8 @@ --- title: "Archive" -date: 2021-10-22T10:44:54Z +date: 2001-10-22T10:44:54Z draft: false +layout: archive --- -# Archive +My custom archive diff --git a/src/themes/oscar/layouts/index.html b/src/themes/oscar/layouts/index.html index 94d0778..cc574f1 100644 --- a/src/themes/oscar/layouts/index.html +++ b/src/themes/oscar/layouts/index.html @@ -2,15 +2,26 @@
+
+ {{ range (where .Site.Pages "Type" "heros") }} +
+ {{ if .Params.link }}{{ end }} + {{ if .Params.image }} + {{ .Content | plainify | htmlUnescape | truncate 10 }} + {{ end }} + {{ .Content }} + {{ if .Params.link }}{{ end }} +
+ {{ end }} +
+
{{ range (.Paginate (where .Site.RegularPages "Type" "posts")).Pages }} {{ .Render "summary" }} {{ end }}
-
{{ end }} diff --git a/src/themes/oscar/layouts/partials/pagination.html b/src/themes/oscar/layouts/partials/pagination.html index 5f4cfe9..a22f5ce 100644 --- a/src/themes/oscar/layouts/partials/pagination.html +++ b/src/themes/oscar/layouts/partials/pagination.html @@ -1,8 +1,7 @@ {{ if .Paginator.HasPrev }} {{ end }} +{{ .Paginator.PageNumber }} {{ if .Paginator.HasNext }} {{ end }} - -{{ .Paginator.PageNumber }} diff --git a/src/themes/oscar/layouts/partials/posts/pagination.html b/src/themes/oscar/layouts/partials/posts/pagination.html index fdcd30c..7bdc3aa 100644 --- a/src/themes/oscar/layouts/partials/posts/pagination.html +++ b/src/themes/oscar/layouts/partials/posts/pagination.html @@ -1,7 +1,7 @@ {{- if .PrevPage }} - + ← {{ .PrevPage.Title }} {{- end }} {{- if .NextPage }} - + | {{ .NextPage.Title }} → {{- end }} diff --git a/src/themes/oscar/layouts/posts/list.html b/src/themes/oscar/layouts/posts/list.html index 51c7545..cbc8dd4 100644 --- a/src/themes/oscar/layouts/posts/list.html +++ b/src/themes/oscar/layouts/posts/list.html @@ -1,17 +1,16 @@ {{ define "main" }} -
-

List: Posts

-
- {{ range (.Paginate .Pages).Pages }} - {{ .Render "summary" }} - {{ end }} -
+
-
{{ end }} - diff --git a/src/themes/oscar/layouts/posts/single.html b/src/themes/oscar/layouts/posts/single.html index 74ddc2e..b2879ce 100644 --- a/src/themes/oscar/layouts/posts/single.html +++ b/src/themes/oscar/layouts/posts/single.html @@ -14,7 +14,6 @@
diff --git a/src/themes/oscar/layouts/sections/single.html b/src/themes/oscar/layouts/sections/single.html index 5cdf475..b8081d4 100644 --- a/src/themes/oscar/layouts/sections/single.html +++ b/src/themes/oscar/layouts/sections/single.html @@ -1,16 +1,12 @@ {{ define "main" }}
-

Single: Sections

+

{{ .Title }}

{{ .Content }}
- -
{{ end }}