# Weekly digest OG image template

An issue number in a coloured block next to three numbered headlines from this week's issue.

- Slug: `weekly-digest`
- Preview (real render): https://shareglint.com/img/templates/weekly-digest.jpg
- Page: https://shareglint.com/en/templates/weekly-digest

For link roundups and weekly newsletters: the reader sees what is inside before clicking. The issue number fills a block in your accent colour, and the three stories sit in a numbered list beside it — or under it in square and vertical formats.

## Fields

Every field is optional. Long text shrinks to fit instead of overflowing; an image field takes a public URL that we fetch on our side.

| Field | Type | Description | Example |
|---|---|---|---|
| `issue` | text | Issue number, shown large, e.g. #87. (default: #1) | #87 |
| `newsletter` | text | Newsletter name for the masthead. | Frontend Weekly |
| `date` | text | Date as you want it printed. | Oct 24, 2026 |
| `title` | text | Heading above the list, e.g. This week. (default: This week) | This week |
| `item_1` | text | First headline. | Container queries are finally boring — and that is great news |
| `item_2` | text | Second headline. | A practical guide to view transitions across pages |
| `item_3` | text | Third headline. | We measured 40 font-loading strategies so you do not have to |
| `site` | text | Your domain or a short URL. | frontendweekly.dev |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #0891b2) | #0891b2 |
| `theme` | dark | light | Colour scheme: dark or light. | — |

## Render it with one request

```bash
curl -X POST "https://shareglint.com/v1/images?wait=true" \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "weekly-digest",
    "modifications": {
        "issue": "#87",
        "newsletter": "Frontend Weekly",
        "date": "Oct 24, 2026",
        "title": "This week",
        "item_1": "Container queries are finally boring — and that is great news",
        "item_2": "A practical guide to view transitions across pages",
        "item_3": "We measured 40 font-loading strategies so you do not have to",
        "site": "frontendweekly.dev"
    }
}'
```

## Make it yours

accent and theme change per request. For anything more, copy the template into your account: you get an ordinary HTML template with the same fields that you can edit in the dashboard or through the API. If the slug is free on your account, the copy takes it — your integrations switch to your version without changing a line.

```bash
curl -X POST "https://shareglint.com/v1/templates/library/weekly-digest/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
