mirror of
https://github.com/status-im/nimbus-site.git
synced 2025-01-21 17:29:54 +00:00
Update fetch_blog_posts.js
This commit is contained in:
parent
e994897bd0
commit
2e3ade7a8f
@ -6,6 +6,7 @@ $(document).ready(function () {
|
|||||||
type: "get",
|
type: "get",
|
||||||
url: url,
|
url: url,
|
||||||
success: function (response) {
|
success: function (response) {
|
||||||
|
response.posts = response.posts.reverse();
|
||||||
$.each(response.posts, function (index, val) {
|
$.each(response.posts, function (index, val) {
|
||||||
var excerpt = '';
|
var excerpt = '';
|
||||||
if(val.custom_excerpt != null) {
|
if(val.custom_excerpt != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user