wiki/_includes/details.md

764 B

{% comment %} 引数: screenshot: スクリーンショット画像名 details: 情報のリスト キー:

に表示される見出し 値:
に表示される説明 {% endcomment %}

{% capture IMAGE_DIR %}{{ site.url }}/{{ site.wiki.img_dir }}{% endcapture %} {% assign IMAGE_ALT = "スクリーンショット" %}

{% if include.screenshot %} {% assign screenshot = IMAGE_DIR | append: include.screenshot %} {% endif %}

{% for detail in include.details %}
{{ detail[0] }}
{{ detail[1] }}
{% endfor %}