Blogger - Document Frontmatter
Frontmatter lets you set post metadata — title, labels, publish status, schedule date — directly inside a Google Doc, without filling in any forms. Add a small table at the top of your document, fill in what you need, and Tenwrite reads it automatically at export time.
This is especially useful with Drive Automation and Sheet Automation, where there’s no export form at all. Frontmatter is how you control individual posts when publishing is fully automated.

Insert the Table
Section titled “Insert the Table”You don’t need to create the table by hand. Open your Google Doc, go to Extensions > Tenwrite > Frontmatter > Insert Blogger Frontmatter, and a ready-to-use table is inserted at the top of your document.

The table has two columns: field name on the left, value on the right. Fill in what you need and leave the rest blank — empty rows are ignored.
When Tenwrite processes the document, it reads the table, applies the values to the post, and removes the table from the published content. Your readers never see it.
Post Settings
Section titled “Post Settings”Status
Section titled “Status”Set status to one of:
| Value | What it does |
|---|---|
publish | Publishes the post immediately |
draft | Saves as a draft |
schedule | Schedules for the date in publish_date |
To save a post as a draft while you’re still working on the content:

To schedule a post for a future date, set status to schedule and add a publish_date:

All Available Fields
Section titled “All Available Fields”| Field | Description | Example |
|---|---|---|
tenwrite_frontmatter | Version marker — do not change this | v1 |
title | Post title | My Amazing Blog Post |
labels | Comma-separated labels | technology, tutorial |
status | Publish state (see above) | draft |
publish_date | Scheduled publish time | 2026-04-15 14:30 |
reader_comments | Comment visibility | Allow |
Reader comments accepts exactly one of these values:
AllowDo not allow; show existingDo not allow; hide existing
Formatting Fields
Section titled “Formatting Fields”You can optionally control how Tenwrite processes the document’s HTML on export. For most users, setting preset to balanced is all you need — it applies a sensible set of cleanup rules automatically.
| Field | Values | What it does |
|---|---|---|
preset | balanced, or a saved preset name | Applies a preset group of formatting rules |
demote_headings | true / false | Shifts H1→H2, H2→H3, etc. |
responsive_images | true / false | Adds max-width: 100% to images |
strip_empty_elements | true / false | Removes empty paragraphs and spans |
embed_youtube | true / false | Converts YouTube links to embeds |
embed_twitter | true / false | Converts Twitter/X links to embeds |
add_rel_nofollow_to_links | true / false | Adds rel="nofollow" to all links |
add_target_blank_to_links | true / false | Opens all links in a new tab |
increase_line_height | true / false | Increases line spacing for readability |
convert_pt_to_px | true / false | Converts pt font sizes to px |
CSS cleanup fields (all accept true / false):
remove_inline_styles, remove_font_family, remove_font_size, remove_color, remove_text_decoration, remove_background, remove_padding, remove_margin, remove_width, remove_height, remove_line_height, remove_border, remove_letter_spacing, remove_text_transform, remove_max_width, remove_max_height
Troubleshooting
Section titled “Troubleshooting”Frontmatter isn’t being applied
Section titled “Frontmatter isn’t being applied”- The table must be the very first element in the document. Even a blank paragraph above it will cause the table to be ignored.
- Don’t rename or change the first row (
tenwrite_frontmatter/v1) — it’s how Tenwrite identifies the table. - Re-insert using Extensions > Tenwrite > Frontmatter if you’re not sure the structure is correct.
Post isn’t publishing at the scheduled time
Section titled “Post isn’t publishing at the scheduled time”statusmust be exactlyschedule(notscheduled).publish_datemust be a future date inYYYY-MM-DD HH:MMformat.
Labels or reader comments aren’t applying
Section titled “Labels or reader comments aren’t applying”- Labels are comma-separated:
label1, label2, label3. - Reader comments values must match exactly — spacing and semicolons included.
Related Guides
Section titled “Related Guides”Need help? Contact support@tenwrite.com.
Tenwrite is an independent product not affiliated with or endorsed by Google LLC, Blogger, or WordPress Foundation. Google Docs, Gmail, Google Workspace are trademarks of Google LLC. WordPress is a trademark of the WordPress Foundation.