{% liquid
  capture shx_current_page
    render "shx-get-current-page"
  endcapture

  assign shx_subtitle_color = "#AF9363"

  if shx_current_page contains "texte"
    assign shx_subtitle_color = settings.color_schemes["scheme-shx-texte"]["settings"]["button"] | default: "#AF9363"
  endif
%}

<div style="text-align: center; padding-left: 20px; padding-right: 20px">
  <span style="color: {{ shx_subtitle_color }}; font-size: 24px; hyphens: auto;">{{ subtitle }}</span>
  <h1 style="font-size: 38px; font-weight: bold; margin: 0; hyphens: auto;">{{ title }}</h1>
</div>