The Update Metadata is a modal that you can use to specify the title, image, and description of the page. This feature is available for Pages, Custom Pages, and Changelogs.
You can update the page metadata using the Edit Metadata modal on Pages. By default, a title and description will be based on the page title and description. That can be overwritten, using the Update Metadata modal.
Here is how to access the Edit Metadata modal:
- Go to a page/custom page/changelog of your choosing.
- Click on the downward chevron next to the "Update Doc" button (on the top right).
- Click on Edit Metadata.
- Fill in the optional items and click on Save.
- Setting the metadata title will also set the tag of the page.
- Changing the "Posted Date" and "Author" of a post is only available to Changelogs.
Here are some examples of how they will look on Twitter, Slack, and LinkedIn
ReadMe automatically populates the meta title tag and meta description tag of each page with content from the Title and Description fields.
When the Description field is empty, ReadMe uses the first 300 characters of the body of your page as the Meta description instead.
Try viewing the source code for this page! This is what you'll see:
<meta property="og:title" content="Meta Tags">
<meta property="og:description" content="This description goes in the Meta description of the page">
The description that you provide under Configuration > Project Settings will populate the meta name tag on all pages in your ReadMe project.
<meta name="description" content="Beautiful documentation made easy.">
Updated about 1 month ago