Spaces:
Running
Running
Download app/email_templates/digest.py from MonteeqOrg/backend: direct link, hf CLI and curl.
- Browser
- Download file 1.31 kB
-
https://huggingface.co/spaces/MonteeqOrg/backend/resolve/main/app/email_templates/digest.py
- Command line
-
hf download hf://spaces/MonteeqOrg/backend/app/email_templates/digest.py
-
curl -L -o digest.py https://huggingface.co/spaces/MonteeqOrg/backend/resolve/main/app/email_templates/digest.py
1.31 kB
| # Weekly digest uses no personal placeholders (batch send) | |
| WEEKLY_VARIANTS = [ | |
| { | |
| "subject": "This week on Monteeq", | |
| "heading": "This week on Monteeq", | |
| "body": "The top edits from the community this week. Watch, follow, get inspired.", | |
| }, | |
| { | |
| "subject": "Top videos this week", | |
| "heading": "What's trending this week", | |
| "body": "Here's what the community has been watching. Five edits worth your time.", | |
| }, | |
| { | |
| "subject": "What the community watched this week", | |
| "heading": "This week's top edits", | |
| "body": "Five videos from the Monteeq community that got the most attention this week.", | |
| }, | |
| ] | |
| # Monthly stats uses {username}, {month} | |
| MONTHLY_VARIANTS = [ | |
| { | |
| "subject": "Your {month} stats on Monteeq", | |
| "heading": "{username}'s {month} recap", | |
| "body": "Here's how your content performed last month.", | |
| }, | |
| { | |
| "subject": "{month} on Monteeq β your numbers", | |
| "heading": "Your {month} in numbers", | |
| "body": "A quick look at how your content did on Monteeq in {month}.", | |
| }, | |
| { | |
| "subject": "How you did in {month}", | |
| "heading": "{month} recap, {username}", | |
| "body": "Your Monteeq numbers for {month} are in. Here's the breakdown:", | |
| }, | |
| ] | |