From 7f987f04ed588a2ff87f47a3b1aca1816dc97794 Mon Sep 17 00:00:00 2001 From: Campbell Alden Date: Wed, 17 Aug 2022 17:55:15 +0900 Subject: [PATCH] Initial commit with bare bones layout and a single post --- .envrc | 1 + .gitignore | 1 + archetypes/default.md | 6 ++++++ archetypes/reviews.md | 7 +++++++ config.toml | 3 +++ content/_index.md | 1 + content/reviews/the-french-dispatch.md | 24 ++++++++++++++++++++++++ layouts/404.html | 0 layouts/_default/baseof.html | 11 +++++++++++ layouts/_default/list.html | 17 +++++++++++++++++ layouts/_default/single.html | 10 ++++++++++ layouts/_default/summary.html | 12 ++++++++++++ layouts/_default/taxonomy.html | 0 layouts/index.html | 10 ++++++++++ layouts/partials/footer.html | 2 ++ layouts/partials/head.html | 5 +++++ layouts/partials/header.html | 3 +++ shell.nix | 7 +++++++ 18 files changed, 120 insertions(+) create mode 100644 .envrc create mode 100644 .gitignore create mode 100644 archetypes/default.md create mode 100644 archetypes/reviews.md create mode 100644 config.toml create mode 100644 content/_index.md create mode 100644 content/reviews/the-french-dispatch.md create mode 100644 layouts/404.html create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html create mode 100644 layouts/_default/summary.html create mode 100644 layouts/_default/taxonomy.html create mode 100644 layouts/index.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html create mode 100644 shell.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..051d09d --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +eval "$(lorri direnv)" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2a8645f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.hugo_build.lock diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/archetypes/reviews.md b/archetypes/reviews.md new file mode 100644 index 0000000..57fe09d --- /dev/null +++ b/archetypes/reviews.md @@ -0,0 +1,7 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +rating: 5 +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..90f0915 --- /dev/null +++ b/config.toml @@ -0,0 +1,3 @@ +baseURL = 'http://example.org/' +languageCode = 'en-us' +title = 'CaAlden: Films' diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..49a864b --- /dev/null +++ b/content/_index.md @@ -0,0 +1 @@ +This site is under construction but will eventually host my movie comments and reviews! diff --git a/content/reviews/the-french-dispatch.md b/content/reviews/the-french-dispatch.md new file mode 100644 index 0000000..9351e74 --- /dev/null +++ b/content/reviews/the-french-dispatch.md @@ -0,0 +1,24 @@ +--- +title: "The French Dispatch" +date: 2022-08-17T17:18:04+09:00 +draft: false +rating: 5 +summary: "A new film from Wes Anderson styled after a magazine" +--- + +### Synopsis +The french dispatch follows several different stories and perspectives surrounding the authors of a magazine based in kansas, but about +a small town in France. The film is framed in sections similar to how a magazine like The New Yorker is divided and each section is +stylistically different from the last to reflect the style of the author. + +### Review +I found this movie very charming. I am a sucker for Wes Anderson films and this, like The Grand Budapest Hotel, strikes a perfect cord with +me both stylistically and substantively. The movie is very funny without many outright spoken jokes. It is visually pleasing in the standard +Wes Anderson way. Each individual story is also engaging and the binding narrative about the death of the magazine's editor pulls things +together just well enough that the movie as a whole feels coherent. + +### Recommendation +I would recommend this to anyone who is already a Wes Anderson fan, but I wouldn't necessarily suggest this if you are new to Wes Anderson. +It is _very_ stylized and if you don't like the style you would hate the film. It also has a lot of absurdist humor which is not for everyone. +As my rating reflects, I really enjoyed this film so it gets a general recommendation from me as long as you consider my hesitations about +style. I think I might recommend watching another Wes Anderson film first and then, if you liked that, watch this one next! diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..d663ad3 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..9de393d --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,17 @@ +{{ define "main" }} +
+
+

{{.Title}}

+
+ + {{.Content}} +
+ +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..f93f35a --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,10 @@ +{{ define "main" }} +
+
+

{{- .Title -}}

+
+
+ {{- .Content -}} +
+
+{{ end }} diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html new file mode 100644 index 0000000..bfc259d --- /dev/null +++ b/layouts/_default/summary.html @@ -0,0 +1,12 @@ +
+
+

+ + {{ .Title }} + +

+
+ {{ .Summary }} +
+
+
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..a38c1d0 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,10 @@ +{{ define "main" }} +
+ {{ .Content }} +
+
+ {{ range first 10 .Site.RegularPages }} + {{ .Render "summary"}} + {{ end }} +
+{{end}} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..5e0ea02 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,2 @@ + diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..0ebc616 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,5 @@ + + {{ .Title }} + + + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..c8c8945 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,3 @@ +
+

CaAlden: Films

+
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..9caeac4 --- /dev/null +++ b/shell.nix @@ -0,0 +1,7 @@ +{ pkgs ? import {} }: +with pkgs; +mkShell { + buildInputs = [ + hugo + ]; +}