-
Hello, First of all, Thank you for your awesome pages. I want to add pages for certain tag (e.g hacking), post format like in the home page but just for a certain tag my attempt was: <div id="full-tags-list">
{%- for tag in tags_list -%}
<div class="post-list">
{%- for post in site.tags[tag] -%}
<article class="post-preview">
.
.
.
</article>
{%- endfor -%}
</div>
{%- endfor -%}
</div> i think I should change this loop, but I can't understand the syntax when I want e.g from all tags to hacking tag only. Thank you |
Beta Was this translation helpful? Give feedback.
Answered by
YuraveON
Jan 15, 2021
Replies: 1 comment
-
i solve it just with this:
and it solves. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
YuraveON
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i solve it just with this:
{%- for post in site.tags.THE-TAG-WHAT-I-WANT -%}
and it solves.