content*.mdをincludeする際の変なデータ渡しを修正
parent
7d2243bdbd
commit
ad320d0936
|
@ -1,5 +1,5 @@
|
|||
<!-- 渡されてきたデータ -->
|
||||
{% assign data = include.list[include.key] %}
|
||||
{% assign data = include.data %}
|
||||
|
||||
<!-- 空のリストを作成 -->
|
||||
{% assign details = "" | split: "|" %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!-- 渡されてきたデータ -->
|
||||
{% assign data = include.list[include.key] %}
|
||||
{% assign data = include.data %}
|
||||
|
||||
<!-- 空のリストを作成 -->
|
||||
{% assign details = "" | split: "|" %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!-- 渡されてきたデータ -->
|
||||
{% assign data = include.list[include.key] %}
|
||||
{% assign data = include.data %}
|
||||
|
||||
<!-- 空のリストを作成 -->
|
||||
{% assign details = "" | split: "|" %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!-- 渡されてきたデータ -->
|
||||
{% assign data = include.list[include.key] %}
|
||||
{% assign data = include.data %}
|
||||
|
||||
<!-- 空のリストを作成 -->
|
||||
{% assign details = "" | split: "|" %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!-- 渡されてきたデータ -->
|
||||
{% assign data = include.list[include.key] %}
|
||||
{% assign data = include.data %}
|
||||
|
||||
<!-- 空のリストを作成 -->
|
||||
{% assign details = "" | split: "|" %}
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
<!-- ソートしたアンカー順でリスト展開 -->
|
||||
<!-- NOTE: Markdownはインデントできないのでforの中身はインデントなし -->
|
||||
{% for anchor in sorted-anchors %}
|
||||
# {{ include.list[anchor].name }} {#{{ anchor }}}
|
||||
{% include {{ template-name }} list=include.list key=anchor %}
|
||||
{% assign content-data = include.list[anchor] %}
|
||||
# {{ content-data.name }} {#{{ anchor }}}
|
||||
{% include {{ template-name }} data=content-data %}
|
||||
{% endfor %}
|
||||
|
|
|
@ -10,7 +10,7 @@ date:
|
|||
|
||||
# Pipeworksとは
|
||||
|
||||
{% include content-mod.md list=site.data.mods-industry key=pipeworks %}
|
||||
{% include content-mod.md data=site.data.mods-industry.pipeworks %}
|
||||
|
||||
アイテムや水を輸送することを目的としたModです。また、輸送されたアイテムを使用する機械なども含まれています。
|
||||
MeseconsやTechnic等を組み合わせることにより様々なことが可能となるModです。
|
||||
|
|
|
@ -10,8 +10,7 @@ date:
|
|||
|
||||
# Technicとは?
|
||||
|
||||
{% assign data = site.data.mods-industry.technic %}
|
||||
{% include content-mod.md %}
|
||||
{% include content-mod.md data=site.data.mods-industry.technic %}
|
||||
|
||||
「Technic」はMinetestの工業化Modです。
|
||||
『電力(EU)』という新しい仕組みを使って、いろいろな作業を自動化したり、新しい道具や機械を開発したりできます。
|
||||
|
|
Loading…
Reference in New Issue