<layout
  th:replace="~{views/layout :: layout (
  page = 'index',
  title = ${site.title +  (#strings.isEmpty(site.subtitle) ? '' : ' - ' + site.subtitle )},
  pin = ~{::pin},
  header = ~{::header},
  main = ~{::main}
  )}"
>


  <!--/* pin */-->
  <th:block th:fragment="pin">
    <script id="pageScript" th:inline="javascript">
      Object.assign(window.MainApp.conf, {
        //第一屏
        enable_above: /*[[${theme.config.index.enable_above}]]*/ '',
        above_background: /*[[${theme.config.ind