Open karthik opened 8 years ago
we can do
{% for post in site.categories.blog %}
<h3><a href="{{ site.dir }}{{ post.url }}">{{ post.title }}</a></h3>
{{ post.authors | map: "name" | join: ", " }} — <i>{{ post.date | date: "%B %e, %Y" }}</i><br>
{{ post.content | strip_html | truncatewords:75}}<br>
<hr class="gray-line">
{% endfor %}
instead of using paginator in https://github.com/ropensci/roweb/blob/master/blog/index.html#L27-L37
but then we don't have pagination.
apparently jekyll folks really don't want or can't support filtering by category when using pagination
tried various other things, none have worked
Now that the blog loop ignores
technotes
, the mainropensci.org/blog
page is empty for page 1 because it does nothing when there is just a tech note. Given that we have two consecutive tech notes now, one has to go to page 2 to see a post. This would confuse people and is also bad design.Instead of:
We need to do something better to prevent this. Not deploying this new post till we can fix this issue.