Skip to content

Commit

Permalink
Animate the page section. (#2512)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellr authored Apr 12, 2023
1 parent 9631ef7 commit 109c485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sections/page.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@

<div class="color-{{ section.settings.color_scheme }} gradient">
<div class="page-width page-width--narrow section-{{ section.id }}-padding">
<h2 class="page-title {{ section.settings.heading_size }}">
<h2 class="page-title {{ section.settings.heading_size }}{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--slide-in{% endif %}">
{%- if section.settings.page.title != blank -%}
{{ section.settings.page.title | escape }}
{%- else -%}
{{ 'sections.page.title' | t }}
{%- endif -%}
</h2>
<div class="rte">
<div class="rte{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--slide-in{% endif %}">
{%- if section.settings.page.content != blank -%}
{{ section.settings.page.content }}
{%- else -%}
Expand Down

0 comments on commit 109c485

Please sign in to comment.