Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add <link rel="next"> (and "prev") tags. #12

Merged
merged 1 commit into from
Feb 28, 2014

Conversation

jameysharp
Copy link
Contributor

These are handy for programmatic tools indexing the comic. Like, say, Comic Rocket :-) or Google (http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html).

Note that I have not tested this patch. I think it should be pretty hard to get wrong, though? :-) But then, I haven't used Flask before so I could be missing something important.

These are handy for programmatic tools indexing the comic. Like, say, Comic Rocket :-) or Google (http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html).
@MostAwesomeDude
Copy link
Owner

Hm. I'll have to double-check that that this actually works right; chrono might not be in scope. Our comics templates are kind of a mess. Also chrono might not always be filled in; we probably only want to set these for comics which aren't the first or last in the archive. As http://www.newrem.com/flavor-text/comics/21/kids says, those comics at the back and front aren't likely to change, at least for heavily-anachronistic series like Flavor Text.

MostAwesomeDude added a commit that referenced this pull request Feb 28, 2014
Add <link rel="next"> (and "prev") tags.

I'm merging this anyway; there are some planned changes for templates which should incorporate this fix. Thanks!
@MostAwesomeDude MostAwesomeDude merged commit 433de16 into MostAwesomeDude:master Feb 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants