Skip to content

Instantly share code, notes, and snippets.

@eivko
Created March 16, 2017 10:43
Show Gist options
  • Save eivko/35bd7caa8144a2d91394d0ee6787363f to your computer and use it in GitHub Desktop.
Save eivko/35bd7caa8144a2d91394d0ee6787363f to your computer and use it in GitHub Desktop.
Заголовок в MODX (если не пустой, вставляется longtitle
<title>[[*longtitle:isnot=``:then=`[[*longtitle]]`:else=`[[*pagetitle]]`]]</title>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment