details.md: クリーンアップ
parent
da7ff83823
commit
85e32a6b6f
|
@ -6,29 +6,23 @@
|
|||
値: <dd>に表示される説明
|
||||
{% endcomment %}
|
||||
|
||||
{% assign IMAGE_DIR = site.github.url | append: "/images" %}
|
||||
{% assign IMAGE_ALT = "スクリーンショット" %}
|
||||
|
||||
<p>
|
||||
{% comment %}
|
||||
スクリーンショット
|
||||
{% endcomment %}
|
||||
{% if include.screenshot %}
|
||||
{% comment %}
|
||||
スクリーンショット画像のパス
|
||||
{% endcomment %}
|
||||
{% assign screenshot = (site.github.url | append: "/images" | append: include.screenshot) %}
|
||||
{% assign screenshot = IMAGE_DIR | append: include.screenshot %}
|
||||
<amp-img
|
||||
class = "screenshot"
|
||||
layout = "responsive"
|
||||
height = "1"
|
||||
width = "2"
|
||||
alt = "スクリーンショット"
|
||||
alt = "{{ IMAGE_ALT }}"
|
||||
src = "{{ screenshot }}"
|
||||
tabindex>
|
||||
</amp-img>
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
詳細情報
|
||||
{% endcomment %}
|
||||
<dl>
|
||||
{% for detail in include.details %}
|
||||
<dt>{{ detail[0] }}</dt>
|
||||
|
|
Loading…
Reference in New Issue