Skip to content

forestguild/affixes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WoW Mythic+ Affixes for Jekyll

Gem Version

Usage

Calculate

jekyll wowaffixess --region eu
# file '_data/affixes_eu.json' will be created

Render

<div class="row text-center">
    {% for id in site.data.affixes_eu['current'] %}
    {% assign affix = site.data.affixes.list | where: 'id', id %}
    <div class="col">
        <a href="https://ru.wowhead.com/affix={{ id }}" data-wh-rename-link="false">
            {% if affix[0].note %}
            <img src="/assets/img/roles/{{ affix[0].note.role }}.jpg" title="{{ affix[0].note.text }}" class="note" />
            {% endif %}
            <img src="/assets/img/affixes/{{ id }}.jpg" class="rounded-circle" width="36px"/><br />
            {{ affix[0].name }}
        </a>
    </div>
    {% endfor %}
</div>

Result

Result