Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix *potential* typo #180

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,14 @@ Once you've established your Listmonk instance, activate it by adding these line
[params]
listmonk = true
listmonk_host = "https://listmonk.your_domain.tld"
listmonk_subscription_list_uiid = "YOUR_NEWSLETTERS_LIST_UIID"
listmonk_subscription_list_uuid = "YOUR_NEWSLETTERS_LIST_UUID"
listmonk_subscription_form_text = "Subscribe to my newsletters" # default: Subscribe to my newsletters
listmonk_subscription_success_message = "Thanks for subscribing" # default: Thanks for subscribing
listmonk_subscription_error_message = "Something went wrong" # default: Sorry, something went wrong. Please, try again
```

This will insert a form at the bottom of each post's content.
The user will be subscribed to the newsletter specified in the ``listmonk_subscription_list_uiid`` parameter.
The user will be subscribed to the newsletter specified in the ``listmonk_subscription_list_uuid`` parameter.

### Series
Sensibly link and display content into "series" (i.e. *Tutorial One*, *Tutorial Two*, etc.).
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/post/listmonk_email_newsletters.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
const data = {
email: email,
list_uuids: [
{{ .Site.Params.listmonk_subscription_list_uiid }}
{{ .Site.Params.listmonk_subscription_list_uuid }}
]
};
fetch(`${listmonkHost}/api/public/subscription`, {
Expand All @@ -47,4 +47,4 @@
});
})
</script>
</div>
</div>