For now, this gives us more assurance that other sites will choose the
preview we want.
You can control the selection by adding data-ogpreview to image, video, and
source elements. data-ogpreview=0 excludes the element from being included
in the preview. Positive numbers set the preview priority. The lowest
value found is chosen first.
I noticed there is no link on the blog pages (other than on the front
page) to get the link to the blog post itself. This adds a permalink at
the end near the tags.
I considered making the title itself a link, which is what's done on the
frontpage, but I figured this might look nicer. Feel free to change
this if you're looking this commit message and feel I didn't DTRT
here. :)
This avoids a situation where multiple summaries have floats that stack on
top of each other vertically, which end up getting far away from the actual
text.
In order to make this work, we had to change the styling of #mainContent on
blog pages (and others with a sidebar). Otherwise, headlines with
class="clear" would clear the sidebar as well.
Earlier commit incorrectly implemented navigation link suppression when
only one page present, such that this was never shown. This is now
corrected herein.
The pagination support changed, and as was previously done a few commits
ago for news, I'm trying a similar solution for blogs.
In this case, I'm trying to use the existing custom_index() method we
have and adapt it to properly support pagination in the way we want.
I'm not completely sure this will work, but I think it's at least close.