Need help? You’ve come to the right place

What’s New Getting Started Building Integrating Publishing Glorify HTMLPub New Leadpages

[HTMLPub] Using Blogs

Last Updated

HTMLPub Blogs is a built-in blogging platform that lets you write, publish, and manage posts — all from your dashboard, without any extra tools. Posts are written in Markdown, rendered via HTML templates you control, and published to a public URL instantly.

Plan requirements

PlanBlogs
FreeNot available
Starter1 blog
ProUp to 3 blogs

Creating a blog

  1. Go to Dashboard → Blog in the sidebar.
  2. Click + Create Blog.
  3. Enter a Title (required) — the slug is auto-generated but can be edited.
  4. Optionally add a Description and Author Name (used as the default for all posts).
  5. Click Create Blog.

Your blog is immediately live at /b/{slug}. For example, a blog with slug my-thoughts is accessible at https://htmlpub.com/b/my-thoughts.

Blog dashboard showing the Create Your First Blog empty state and Create Blog button

Writing and publishing posts

Creating a post

  1. Open your blog from the dashboard.
  2. Click New Post.
  3. A draft post titled "Untitled Post" opens in the editor.

The editor

The post editor has two modes:

  • Visual editor — a rich-text WYSIWYG view
  • Markdown editor — raw Markdown with a live preview pane

Use the toolbar at the top to switch between modes, upload images, and manage post settings.

Post fields

  • Title — the post headline (also sets the URL slug)
  • Slug — the URL path within your blog (auto-generated, editable)
  • Content — your post body in Markdown
  • Excerpt — a short summary shown in post listings (optional)
  • Cover Image — featured image for the post (optional)
  • Author — overrides the blog-level default (optional)
  • Tags — comma-separated tags for categorization (optional)
  • Template — the HTML template used to render this post

Publishing

Posts start as Drafts and are only visible to you. When you're ready to go live, change the status to Published using the status dropdown in the editor toolbar. Published posts appear on your blog immediately.

Post URLs

Each post is available at:

https://htmlpub.com/b/{blog-slug}/{post-slug}

For example: https://htmlpub.com/b/my-thoughts/hello-world

Templates

Templates are HTML files that wrap your Markdown content. They control the visual design and layout of every post on your blog.

Post Templates page showing the templates table with Name, Status, and Created columns

Template variables

Use these placeholders in your template HTML — they're replaced automatically when a post is rendered:

PlaceholderReplaced with
<!--POST_TITLE-->Post title
<!--POST_CONTENT-->Post body (rendered HTML)
<!--POST_DATE-->Publication date
<!--POST_AUTHOR-->Author name
<!--POST_TAGS-->Tag list

Creating a template

  1. From your blog, click Templates.
  2. Click + New Template and give it a name.
  3. The template opens in the editor with a starter HTML scaffold — customize it with your own styles and layout.
  4. Mark a template as Default to apply it automatically to all new posts.

Posts can switch templates at any time from the editor toolbar.

AI-generated templates

The templates page includes an LLM prompt you can copy and paste into ChatGPT, Claude, or any AI assistant. The prompt produces a ready-to-use template with all the correct placeholder markers already in place.

Custom landing page

By default, your blog root URL (/b/{slug}) shows an automatically generated post listing. You can replace this with a fully custom HTML page — useful for styled homepages, email capture, or branded layouts.

  1. From your blog dashboard, click Edit Landing Page (or Create Landing Page if none exists).
  2. Drop an HTML file, paste HTML directly, or use AI to generate a page.
  3. Save — your custom page now serves as the blog's homepage.

Individual post URLs are unaffected by a custom landing page.

RSS feed

Every blog automatically publishes an RSS feed at:

https://htmlpub.com/b/{slug}/rss.xml

The feed includes all published posts with titles, excerpts, authors, and publication dates.

Blog settings

Go to Blog → Settings to:

  • Edit the blog title, slug, description, or default author
  • Delete the blog (this permanently removes all posts and templates)

Note: Changing a blog's slug will break any existing links to your blog or posts. Update any shared links after a slug change.


Need more help?

You can always get in touch with our support team—just click Support in your Leadpages navigation menu, or submit a ticket ↗

Was this article helpful?
Powered by Zendesk