From 60fe49ea3af38d4a7d5e8de1cdb72887b167b22d Mon Sep 17 00:00:00 2001 From: gabrielgio Date: Sat, 11 Jul 2020 22:35:14 +0200 Subject: Moving from jekyll to hugo --- themes/flamingo/layouts/partials/blog-list.html | 8 ++ themes/flamingo/layouts/partials/comments.html | 2 + themes/flamingo/layouts/partials/footer.html | 18 +++ themes/flamingo/layouts/partials/header.html | 27 ++++ .../flamingo/layouts/partials/log-description.html | 3 + themes/flamingo/layouts/partials/meta.html | 148 +++++++++++++++++++++ themes/flamingo/layouts/partials/pagination.html | 9 ++ .../layouts/partials/post-description.html | 29 ++++ themes/flamingo/layouts/partials/sidebar.html | 14 ++ themes/flamingo/layouts/partials/tagbar.html | 10 ++ 10 files changed, 268 insertions(+) create mode 100644 themes/flamingo/layouts/partials/blog-list.html create mode 100644 themes/flamingo/layouts/partials/comments.html create mode 100644 themes/flamingo/layouts/partials/footer.html create mode 100644 themes/flamingo/layouts/partials/header.html create mode 100644 themes/flamingo/layouts/partials/log-description.html create mode 100644 themes/flamingo/layouts/partials/meta.html create mode 100644 themes/flamingo/layouts/partials/pagination.html create mode 100644 themes/flamingo/layouts/partials/post-description.html create mode 100644 themes/flamingo/layouts/partials/sidebar.html create mode 100644 themes/flamingo/layouts/partials/tagbar.html (limited to 'themes/flamingo/layouts/partials') diff --git a/themes/flamingo/layouts/partials/blog-list.html b/themes/flamingo/layouts/partials/blog-list.html new file mode 100644 index 0000000..59bad6e --- /dev/null +++ b/themes/flamingo/layouts/partials/blog-list.html @@ -0,0 +1,8 @@ +
+
+ {{ range .Paginator.Pages }} + {{ .Render "summary" }} + {{ end }} +
+ +
diff --git a/themes/flamingo/layouts/partials/comments.html b/themes/flamingo/layouts/partials/comments.html new file mode 100644 index 0000000..d58db9e --- /dev/null +++ b/themes/flamingo/layouts/partials/comments.html @@ -0,0 +1,2 @@ +
+
diff --git a/themes/flamingo/layouts/partials/footer.html b/themes/flamingo/layouts/partials/footer.html new file mode 100644 index 0000000..4476494 --- /dev/null +++ b/themes/flamingo/layouts/partials/footer.html @@ -0,0 +1,18 @@ + diff --git a/themes/flamingo/layouts/partials/header.html b/themes/flamingo/layouts/partials/header.html new file mode 100644 index 0000000..8f26fb4 --- /dev/null +++ b/themes/flamingo/layouts/partials/header.html @@ -0,0 +1,27 @@ +
+ + + + + {{ with .Site.Menus.main }} + + {{ end }} +
diff --git a/themes/flamingo/layouts/partials/log-description.html b/themes/flamingo/layouts/partials/log-description.html new file mode 100644 index 0000000..1a6e21a --- /dev/null +++ b/themes/flamingo/layouts/partials/log-description.html @@ -0,0 +1,3 @@ +
+

Unimportant, blunt and raw.

+
diff --git a/themes/flamingo/layouts/partials/meta.html b/themes/flamingo/layouts/partials/meta.html new file mode 100644 index 0000000..3f417af --- /dev/null +++ b/themes/flamingo/layouts/partials/meta.html @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +{{ range .AllTranslations }} + + {{ end }} + + + + + + + + +{{ with .OutputFormats.Get "RSS" }} + + +{{ end }} + + + + +{{ if eq .Section "posts" }} + + + + + + +{{ with .Site.Params.author }} + + + +{{ end }} + + +{{ with .Site.Params.category }} + + +{{ end }} + + +{{ end }} + + +{{ if eq .Section "about" }} + + + + +{{ end }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/flamingo/layouts/partials/pagination.html b/themes/flamingo/layouts/partials/pagination.html new file mode 100644 index 0000000..79f8053 --- /dev/null +++ b/themes/flamingo/layouts/partials/pagination.html @@ -0,0 +1,9 @@ +
+{{ if .Paginator.HasPrev }} + Previous Page +{{ end }} +{{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }} +{{ if .Paginator.HasNext }} + Next Page +{{ end }} +
diff --git a/themes/flamingo/layouts/partials/post-description.html b/themes/flamingo/layouts/partials/post-description.html new file mode 100644 index 0000000..d542877 --- /dev/null +++ b/themes/flamingo/layouts/partials/post-description.html @@ -0,0 +1,29 @@ + +
+

+ A gathering of information about some things I do on my spare time. You + can find me on + + + , + + + + and + + + + . +

+ +
diff --git a/themes/flamingo/layouts/partials/sidebar.html b/themes/flamingo/layouts/partials/sidebar.html new file mode 100644 index 0000000..92bbd80 --- /dev/null +++ b/themes/flamingo/layouts/partials/sidebar.html @@ -0,0 +1,14 @@ + diff --git a/themes/flamingo/layouts/partials/tagbar.html b/themes/flamingo/layouts/partials/tagbar.html new file mode 100644 index 0000000..aa0de7f --- /dev/null +++ b/themes/flamingo/layouts/partials/tagbar.html @@ -0,0 +1,10 @@ +{{ with .Params.tags }} +
+ +
+{{ end }} -- cgit v1.2.3