page {
  shortcutIcon = EXT:base_design/Resources/Public/Images/favicon.png
  includeCSS {
    zTheme = EXT:base_design/Resources/Public/Scss/main.scss
  }
  includeJSFooterlibs {
    ajaxnews = EXT:base_design/Resources/Public/JavaScript/newsAjaxPagination.js
    search = EXT:base_design/Resources/Public/JavaScript/search.js
    matomo = EXT:base_design/Resources/Public/JavaScript/matomo.js
  }
  10 {
    settings {
      pageIds {
        search = {$plugin.tx_indexedsearch.settings.targetPid}
      }
    }
  }
}

config {
  spamProtectEmailAddresses = 2
  spamProtectEmailAddresses_atSubst = @
}

plugin {
  tx_news {
    view {
      templateRootPaths {
        0 = EXT:news/Resources/Private/Templates/
        1 = EXT:base_design/Resources/Private/Templates/News
      }
      partialRootPaths {
        0 = EXT:news/Resources/Private/Partials/
        1 = EXT:base_design/Resources/Private/Partials/News
      }
    }
    settings {
      displayDummyIfNoMedia = 0
      cropMaxCharacters = 500
      responsiveimages {
        news {
          multiplier {
            default = 0.5
            large = 0.5
            medium = 0.5
          }
          gutters {
            default = 40
            large = 40
            medium = 40
          }
        }
        variants {
          default {
            breakpoint = 1400
            width = 1280
          }
          xlarge {
            breakpoint = 1200
            width = 1100
          }
          large {
            breakpoint = 992
            width = 920
          }
          medium {
            breakpoint = 768
            width = 680
          }
          small {
            breakpoint = 576
            width = 500
          }
          extrasmall {
            breakpoint = unset
            width = 374
          }
        }
      }
      list {
        media.image {
          maxWidth = 150c
          maxHeight = 150c
        }
        paginate.templatePath = EXT:news/Resources/Private/Templates/Styles/Twb/Templates/ViewHelpers/Widget/Paginate/IndexAjax.html
      }
      detail.media.image.lightbox {
        enabled = 1
        class = lightbox
        rel = lightbox-group-news
        width = 800
        height = 600
      }
      search {
        paginate {
          class = GeorgRinger\NumberedPagination\NumberedPagination
          itemsPerPage = 10
          insertAbove = 1
          insertBelow = 1
          maximumNumberOfLinks = 3
        }
      }
    }
  }
  tx_form.settings.yamlConfigurations {
    1681331285 = EXT:base_design/Configuration/Yaml/Finishers/GetResponse.yaml
  }
  tx_kesearch_pi1 {
    view {
      templateRootPaths {
          9 = EXT:base_design/Resources/Private/Templates/Search/
      }
      partialRootPaths {
          9 = EXT:base_design/Resources/Private/Partials/Search/
      }
    }
  }
  tx_kesearch_pi2.view < plugin.tx_kesearch_pi1.view
  tx_kesearch_pi3.view < plugin.tx_kesearch_pi1.view
}


############################
#### CONTENT ELEMENTS ######
############################
lib.contentElement {
    layoutRootPaths {
        15 = EXT:base_design/Resources/Private/Layouts/ContentElements/
    }
    templateRootPaths {
        15 = EXT:base_design/Resources/Private/Templates/ContentElements/
    }
    partialRootPaths {
        15 = EXT:base_design/Resources/Private/Partials/ContentElements/
    }
}
