Posts
This page is work-in-progress.
Settings in front matter:
layout: posttitleheadlinedescriptionimagedateanddate-modifiedauthorcategoriestagsexcerpt_separator
Preview
The preview of the posts is generated like this, in priority order:
- if
post.descriptionis declared it is used - if the post contains the string “<!–more–>”, that is used as post excerpt terminator
- the first
site.post-excerpt-maxlenwords are taken from the post
Front matter
title, headline and description
Use title for search engines, use headline for humans.
If the option use-headline is false the headline variable is ignored globally.
titleis requiredheadlineis optionaldescriptionis optional
title usage:
- page title in HTML
- in the page header
- in
seo-ldjson-articleas theheadlinefield - in
og-articleas theog:titleproperty
headline usage:
- in the page header
- in
seo-ldjson-articleas the first part ofdescription, followed bypage.descriptionif there is one - in
og-articleas the first part ofog:description, followed bypage.descriptionif there is one
description usage:
- in page header
- in
tagsandcategoriespages - in
Postspage
image
The image is used in SEO. Options (with notes from A Guide to Sharing for Webmasters and The Open Graph protocol - Structured Properties) are:
- for Open Graph the properties used, if defined, are:
image, andimage-d,image-wandimage-h; -
for LD-JSON,
imagesif defined,imageotherwise. imageis the URL of the image associated with this post. The image type can be one ofimage/jpeg,image/giforimage/png;image-dis a description of what is in the image (not a caption). If the page specifies anog:imageit should specifyog:image:alt;image-wandimage-hare the width and height of image in pixels. Specify width and height for your image to ensure that the image loads properly the first time it’s shared.
Use images property, see below for Google’s recommendation, like this:
images:
- /assets/images/post-name-img-1x1.png
- /assets/images/post-name-img-3x4.png
- /assets/images/post-name-img-16x9.png
Google recommends for Articles an image with:
- type
.jpg,.png, or.gif; - minimum width of 1200px;
- for best results, multiple high-resolution images (minimum of 800,000 pixels
when multiplying width and height) with the following aspect ratios:
16x9,4x3, and1x1.
the minimum sizes are:
- 1200 x 1200 px;
- 1200 x 900 px;
- 1200 x 675 px.
According to Facebook’s Images in Link Shares, for image size the preferred sizes are:
- 1200 x 630 px;
- 600 x 315 px;
- at least, keep the 1.91:1 aspect ratio.
See also the SEO document.
Header
The header content is customized by theme’s settings. See the Settings page for more info.
Post information
To find the next and previous posts in the same category only the first category of current post is considered !
See the Settings page for more info.