What is merge tags?

With merge tags, you can easily reference your database property by surrounding it with braces. For example, {%description%} will be replaced by the Description from the database.

This makes it easy to display your data as you want, and with the help of synced blocks from Notion, you can replicate this across all your pages without having to manually duplicate it every time.

Database content as a website element

Primary objective of liquid syntax is to convert the basic database content into beautiful elements for your website. You get to choose the position of every content according to your brand.

This is how it works: Database → Liquid syntax → Website

With a simple placement of database elements within braces, you get a beautiful website just the way you wish.

How to use Merge Tags

To interpolate database properties as merge tags, use the

  • Lowercase name of the database property and replace spaces with underscores _
  • surround it with {%%}
  • enclose it with backquote ` to mark it as an inline code block.

Examples

Below are examples of how to use Database properties.

  1. Twitter URL = {% twitter_url %}
  2. Data Description = {% data_description %}
  3. URL = {% url %}

Additional Notion Properties

In addition to database properties, you can also use additional notion’s properties. Those are

  1. {% page_title %}
  2. {% page_cover %}
  3. {% page_icon %}