_layouts/person.html in jekyll-theme-pirati-8.0.0.pre.alpha6 vs _layouts/person.html in jekyll-theme-pirati-8.0.0.pre.beta1

- old
+ new

@@ -18,21 +18,30 @@ {% endif %} {% endif %} {% capture personName %}{% include people/fullname.html person=page %}{% endcapture %} -{% include hero/simple.html headline=personName description=page.description descriptionClass="max-w-xl" heroSpacing="pt-24 pb-24 lg:pt-32 pb-24" class="candidate-detail__hero" bgImg=imgPath %} +{% + include hero/simple.html + headline=personName + description=page.profession + headlineClass="text-center lg:text-left" + descriptionClass="max-w-xl text-center lg:text-left" + heroSpacing="pt-16 pb-24 lg:pt-32 pb-24" + class="candidate-detail__hero" + bgImg=imgPath +%} <div class="container container--default py-8 lg:pb-24"> <main> <div class="flex flex-col lg:flex-row lg:space-x-8 xl:space-x-16"> <section class="lg:w-3/5 xl:w-2/3"> <div class="content-block w-full"> {{ content }} </div> </section> <section class="lg:w-2/5 xl:w-1/3 pt-8 lg:pt-0 order-first lg:order-last candidate-detail__sidebar"> - {% include right-bar/rbar.html cardBodyClass="p-4 lg:p-8" %} + {% include right-bar/rbar.html %} <!-- Mobile divider --> <hr class="block lg:hidden" /> </section> </div> </main>