Use jekyll for index and redirect pages as well #7
This requires passing two additional variables, the canonical link and the meta refresh. They can't be passed in inline and aren't available in the front matter, so this uses a liquid capture block to assign them to variables. It does mean there are blank lines in all the other pages, but that is acceptable.
Jekyll creates excerpts from all the text up to the `excerpt_separator`, which defaults to two newlines. This means that any posts that I wrote in html without blank lines between paragraphs in the source have as their exceprt the entire post. This commit adds a blank line after first paragraph of the posts this affects. I don't intend to show more than 10 on the home page, but have done them all for consistency.
This changes some things; for example the excerpt is just the first paragraph whereas previously I wrote some excerpts differently. However, in general I write the first paragraph to be a trailer, and the ones that are not like this won't be on this page anyway as I intend to limit it. It also means that the links are to the post and from there to whatever it is if it's elsewhere; previously a post about, e.g. a talk, would have the link to the video from here. I don't think this is too problematic.
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments.