diff --git a/content/_index.md b/content/_index.md index fe31299..6218fdb 100644 --- a/content/_index.md +++ b/content/_index.md @@ -5,5 +5,5 @@ description: "TODO: one-line description of Thistle & Moth" TODO: Thistle & Moth homepage copy goes here. -Get a free story: [download the reader magnet](/gift). Writers: see our +Get a free story: [download the reader magnet](/books/grinchmas/). Writers: see our [submission guidelines](/submissions). diff --git a/content/books/grinchmas.md b/content/books/grinchmas.md index d3712ac..bc0653b 100644 --- a/content/books/grinchmas.md +++ b/content/books/grinchmas.md @@ -3,5 +3,16 @@ title: "A Hallmark Grinchmas" author: "Marisol T. S. Kuhn" cover_image: "https://downloads.thistleandmoth.org/grinchmas/grinchmas-cover.png" description: "California native Bart Marley unexpectedly finds himself in the, to its mind perfect, midwestern town of Hallmark. One child refuses to give up on the stranger but is her innocence the Christmas miracle Bart needs?" -draft: true + +# Label on the signup form's submit button. +cta_text: "Send it to me" + +# Code of the bookshop ARC campaign this form redeems (see +# reground-tools/arc-campaign.sh) — thistleandmoth.org/shop/arc/. +arc_code: "grinchmas" --- +California native Bart Marley unexpectedly finds himself in the, to its +mind perfect, midwestern town of Hallmark. One child refuses to give up +on the stranger but is her innocence the Christmas miracle Bart needs? + +Get *A Hallmark Grinchmas* free — enter your email below. diff --git a/hugo.toml b/hugo.toml index 3ab89d0..c1e7637 100644 --- a/hugo.toml +++ b/hugo.toml @@ -32,7 +32,7 @@ disableKinds = ["taxonomy", "term"] [[menu.main]] name = "Free Book" - url = "/free-book/" + url = "/books/grinchmas/" weight = 30 [[menu.main]] 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..ba7a5a4 --- /dev/null +++ b/layouts/partials/arc-redeem-form.html @@ -0,0 +1,61 @@ +{{ $id := .id }} +{{ $page := .page }} +
+ + + + + +

+ +

+ + +
+

+ +