latest 10 messages by spinningarrow
+
[2016-09-16T10:03:26Z]
spinningarrow
Odd, I just tried that and it seems to be fine. Are you using the default theme or a custom one? And are you on the latest version of Jekyll?
+
[2016-09-16T09:51:58Z]
spinningarrow
so it doesn't really matter
+
[2016-09-16T09:51:52Z]
spinningarrow
all the urls to posts etc are relative URLs
+
[2016-09-16T09:23:43Z]
spinningarrow
Hmm, I didn't put the url parameter at all - seems to work just fine
+
[2016-09-13T02:39:46Z]
spinningarrow
jaybe: Yep, I ended up using `date: %s` to convert to unix timestamps and then compared those. Thanks to StackOverflow :)
+
[2016-09-12T17:46:13Z]
spinningarrow
Okay thanks. A bit odd I must say, but I suppose that could work
+
[2016-09-12T17:45:01Z]
spinningarrow
So what I'm comparing is going to be the string representation of a date - is that right?
+
[2016-09-12T17:39:22Z]
spinningarrow
What I want is to create a new date and compare against that. Something like if post.date > '2016-01-01' in my example above. How do I create a new date such as that one?
+
[2016-09-12T17:34:17Z]
spinningarrow
jaybe: Thanks. I already checked those out before posting here; couldn't find what I was looking for on any of those pages.
+
[2016-09-12T17:24:55Z]
spinningarrow
How can I compare a post's date with a specific date? Something like {% if post.date > Date.parse('2016-05-05') %} but that doesn't build :(