Skip to content

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.

A Google Doc with a frontmatter table and article content below it

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.

Extensions menu in Google Docs showing Tenwrite > Frontmatter > Insert Blogger Frontmatter

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.

Set status to one of:

ValueWhat it does
publishPublishes the post immediately
draftSaves as a draft
scheduleSchedules for the date in publish_date

To save a post as a draft while you’re still working on the content:

Frontmatter table with status set to draft

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

Frontmatter table with status set to schedule and a future publish date

FieldDescriptionExample
tenwrite_frontmatterVersion marker — do not change thisv1
titlePost titleMy Amazing Blog Post
labelsComma-separated labelstechnology, tutorial
statusPublish state (see above)draft
publish_dateScheduled publish time2026-04-15 14:30
reader_commentsComment visibilityAllow

Reader comments accepts exactly one of these values:

  • Allow
  • Do not allow; show existing
  • Do not allow; hide existing

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.

FieldValuesWhat it does
presetbalanced, or a saved preset nameApplies a preset group of formatting rules
demote_headingstrue / falseShifts H1→H2, H2→H3, etc.
responsive_imagestrue / falseAdds max-width: 100% to images
strip_empty_elementstrue / falseRemoves empty paragraphs and spans
embed_youtubetrue / falseConverts YouTube links to embeds
embed_twittertrue / falseConverts Twitter/X links to embeds
add_rel_nofollow_to_linkstrue / falseAdds rel="nofollow" to all links
add_target_blank_to_linkstrue / falseOpens all links in a new tab
increase_line_heighttrue / falseIncreases line spacing for readability
convert_pt_to_pxtrue / falseConverts 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

  • 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”
  • status must be exactly schedule (not scheduled).
  • publish_date must be a future date in YYYY-MM-DD HH:MM format.

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.

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.