Permalink
Browse files

modify: 「ワークス」インデックステンプレート:「大見出し」と「本文」がセットされていれば出力

  • Loading branch information...
dreamseeker committed Dec 29, 2018
1 parent 763d38f commit b329a17e153719bf893205169f966ad9844edf00
Showing with 8 additions and 5 deletions.
  1. +8 −5 templates/work/_index.html
@@ -29,11 +29,14 @@ <h1 class="alpha center reverse">What’s On Tap</h1>
<section class="alt">
<div class="flex">
<div class="g1-flex4 g2-flex6 g3-flex8 g3-offset2">
<h1 class="delta center subfont">Every digital product has a story to tell. It’s our job to find it and tell it
well.</h1>
<div class="epsilon center"><p>While we were not meaning to rhyme, this statement holds true. The end goal is to
connect with humans, and we use the basic principles of story to do just that. Browse our work, enjoy the
visuals and discover what it takes to create something great.</p></div>
{# 「大見出し」がセットされている場合のみ出力 #}
{% if entry.heading %}
<h1 class="delta center subfont">{{ entry.heading }}</h1>
{% endif %}
{# 「本文」がセットされている場合のみ出力 #}
{% if entry.body %}
<div class="epsilon center">{{ entry.body }}</div>
{% endif %}
</div>
</div><!-- /.flex -->
</section><!-- /.alt -->

0 comments on commit b329a17

Please sign in to comment.