{% include [
  'pages/' ~ craft.app.request.getSegment(1) ~ '/' ~ entry.slug,
  'pages/' ~ craft.app.request.getSegment(1) ~ '/' ~ entry.type.handle,
  'pages/' ~ craft.app.request.getSegment(1) ~ '/' ~ entry.section.handle,
  'pages/' ~ craft.app.request.getSegment(1) ~ '/default',
  'pages/' ~ entry.section.handle ~ '/' ~ entry.slug,
  'pages/' ~ entry.section.handle ~ '/' ~ entry.type.handle,
  'pages/' ~ entry.section.handle ~ '/default',
  'pages/' ~ entry.slug,
  'pages/' ~ entry.type.handle,
  'pages/' ~ entry.section.handle,
  'pages/default'
] %}
