latest 20 messages by keekz
+
[2016-11-21T20:51:10Z]
keekz
like 5 stars or whatever
+
[2016-11-21T20:51:06Z]
keekz
yeah except not comments, but ratings of items
+
[2016-11-21T20:21:54Z]
keekz
yeah i'm looking for a service... i googled for a while but couldn't find anything, just didn't know if there was a popular one that i just couldn't find
+
[2016-11-21T18:32:04Z]
keekz
like wordpress post ratings plugin
+
[2016-11-21T16:29:05Z]
keekz
anyone know of a service that lets you do ratings on posts etc for use with jekyll / static sites?
+
[2016-11-01T15:11:39Z]
keekz
{% assign featured_posts = site.posts | where:"featured", true %} ... super clean
+
[2016-11-01T15:11:25Z]
keekz
got it working with the where - thanks for that tip, i wasn't aware of that one
+
[2016-11-01T15:09:19Z]
keekz
like {% for post in site.posts %}{% if post.blah == true %} .. i don't know how many posts have blah=true at this point
+
[2016-11-01T15:08:42Z]
keekz
i can't limit the returned results because i haven't gotten the results yet ..
+
[2016-11-01T15:01:16Z]
keekz
is it possible to add posts that have blah: true to an array that i can use later? because i only want to display, say, max 2 posts that have blah:true
+
[2016-11-01T14:58:45Z]
keekz
i have a variable "blah: true" set in some of my posts, how can i get a list of posts that have this blah: true set ?
+
[2016-08-15T15:05:03Z]
keekz
post doesn't exist before loop
+
[2016-08-15T15:04:56Z]
keekz
because the for post is MAKING post var
+
[2016-08-15T15:04:49Z]
keekz
Dry_Lips: it has to be inside the loop
+
[2016-08-15T14:51:14Z]
keekz
because post doesn't exist yet.. for loop sets it
+
[2016-08-15T14:51:00Z]
keekz
oh i see, you need the post.highlight if inside of the for loop
+
[2016-08-15T14:42:16Z]
keekz
so that you can handle: if it has highlight vs if it does not have highlight
+
[2016-08-15T14:42:01Z]
keekz
why wouldn't you be able to? but you'd probably want an if / else. or you loop over everything then inside for loop have if highlight
+
[2016-08-15T14:28:59Z]
keekz
{% if whatever %}{% for post in whatever offset:1 %}{% endif %}
+
[2016-08-15T14:28:45Z]
keekz
put it inside an if statement