Permalink
Browse files

Update default.twig

  • Loading branch information...
davidhellmann committed Dec 6, 2018
1 parent 08ef8ed commit 21db24a4d4e5b0f1500062f595474fd39ae37d30
Showing with 2 additions and 2 deletions.
  1. +2 −2 generators/app/templates/___src/templates/craftcms/entry/pages/default.twig
@@ -16,9 +16,9 @@
{# -- App Content -- #}
{% block appContent %}
{# -- Cache -- #}
{% cache using key _self.getTemplateName() ~ "-page-" ~ craft.app.request.pathInfo %}
{% cache using key _self ~ "-page-" ~ craft.app.request.pathInfo %}
{# If you have a Template with Pagination use this: #}
{# {% cache using key _self.getTemplateName() ~ '-archive-' ~ craft.app.request.pathInfo ~ (craft.app.request.pageNum ? '/p' ~ craft.app.request.pageNum : '') %} #}
{# {% cache using key _self ~ '-archive-' ~ craft.app.request.pathInfo ~ (craft.app.request.pageNum ? '/p' ~ craft.app.request.pageNum : '') %} #}
{% embed '_embeds/oneColumn/_template.twig' with {
opt: {

0 comments on commit 21db24a

Please sign in to comment.