diff --git a/content/books/_index.md b/content/books/_index.md new file mode 100644 index 0000000..1a4b852 --- /dev/null +++ b/content/books/_index.md @@ -0,0 +1,6 @@ +--- +title: "Books" +description: "Books from Cate Conners." +--- + +Coming soon. diff --git a/hugo.toml b/hugo.toml index 6b7188c..d36c7be 100644 --- a/hugo.toml +++ b/hugo.toml @@ -13,6 +13,12 @@ disableKinds = ["taxonomy", "term"] description = "TODO: one-line author bio/description" author = "Cate Conners" eec_base_url = "https://eec.cateconners.com" + bookshop_base_url = "https://shop.cateconners.com" + +[[menu.main]] + name = "Books" + url = "/books/" + weight = 10 [[menu.footer]] name = "Contact" diff --git a/layouts/books/single.html b/layouts/books/single.html new file mode 100644 index 0000000..f6ad2bb --- /dev/null +++ b/layouts/books/single.html @@ -0,0 +1,11 @@ +{{ define "main" }} +
+

{{ .Title }}

+ {{ with .Params.cover_image }}{{ $.Title }} cover{{ end }} + {{ with .Params.hero_subhead }}

{{ . }}

{{ end }} + + {{ .Content }} + + {{ partial "arc-redeem-form.html" (dict "id" "top" "page" .) }} +
+{{ end }} diff --git a/layouts/partials/arc-redeem-form.html b/layouts/partials/arc-redeem-form.html new file mode 100644 index 0000000..2011ef2 --- /dev/null +++ b/layouts/partials/arc-redeem-form.html @@ -0,0 +1,61 @@ +{{ $id := .id }} +{{ $page := .page }} +
+ + + + + +

+ +

+ + +
+

+ +