have random posts in the flame button
This commit is contained in:
parent
311ce9ddda
commit
22251d0729
4 changed files with 66 additions and 3 deletions
15
posts.json
Normal file
15
posts.json
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
layout: nil
|
||||
---
|
||||
[
|
||||
{% assign albums = site.categories.releases %}
|
||||
{% assign tracks = site.tracks %}
|
||||
|
||||
{% assign random = albums | concat: tracks %}
|
||||
{% for post in random %}
|
||||
{
|
||||
"title": "{{ post.title }}",
|
||||
"href": "{{ post.url }}"
|
||||
}{% unless forloop.last %},{% endunless %}
|
||||
{% endfor %}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue