Adding Description metadata to your Backlight stand-alone pages

NOTE: Backlight 3 makes this post unnecessary. Backlight 3 pages now have a field for Description. This post only applies to Backlight 1 and 2.

When you create an album or album set for your Backlight site, the text you enter in the album or album set's Description field (in Lightroom's Publisher) is added to the page's description metadata fields. Specifically the Open Graph Protocol fields of:

meta property="og:description" 
meta name="twitter:description"

as well as the standard field:

meta name="description"

This can be important for SEO.

However, if you create a regular page (requires Pages module), there is currently no direct provision for adding a page description to those metadata fields.

But there's an easy work around to this. If you insert an album or album set in a page, the description you entered when creating that set or album will be added to the page's head tag.
But what if you didn't need an album or set on that page? No problem, just embed an empty album in the page.

To do this, first create an album in Lightroom. Name it whatever you want, but I suggest giving it a name that makes sense, like "contact page description." Make sure there are no images in the album. Then add your description in the "Album Description" field. Under the Features tab, check the "Hide from Album Set" and "Hide from Search" boxes. Click Create.

In Backlight > Designer > Pages, go to the page that needs the description metadata. Click on Insert Album and choose the album you just created. Save.

Now you can take a look at the page in a browser. Right-click on the page and choose "View Page Source" (or words to that effect). Scroll down to the <head> area and you should see the metadata fields outlined above. They should have the wording of your description. If they don't, you may need to clear the template cache (Designer > Templates > Clear Template Cache).
Refresh your page and view the source code again.

Part of the page's source code.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About this site

This site is: a repository of time-savers and best practices from a user's perspective, picked up from several years of using TTG plugins.
This site is not: a support site.
Read more here.

Subscribe to new posts

Tip Jar

If this site has saved you some time, kept your hair attached, or otherwise prevented you from tossing the mouse through the monitor, feel free to donate.

Categories


Highly recommended. This is my go-to Lightroom book. Click on the book image. (affiliate link)

Affiliate link!

Current TTG versions

Backlight  4 & 5

See the Backlight Modules page on your site for latest Backlight and module versions and changelogs.

You’ll also find the latest version number and download link for the Lightroom Publisher plugin.
(BL 3 and later)

 

Backlight 1 Versions

Backlight 1.2.4
Pages module 1.2.4
Cart Add-on 4.1.7
Client Response Add-on 7.1.3
Theater Add-on 1.2.6
Galleria Add-on 1.0.0
WordPress Add-on 1.2.6
Publisher 3.2.3

Backlight 1 has seen its end of life. See this post.

CE4 Versions

note: CE4 is no longer being developed or sold. See this post.

TTG-BE: 2.0.5a
Autoindex: 7.0.8
Cart: 3.1.4a
CRG: 6.1.3a
Gallery: 6.1.10
Pages: 7.0.15
Publisher: 2.3.3
Stage: 6.1.6
Theme for WordPress: 3.1.2