Login
·
Signup
Home
»
XtGem
»
Coding help
»
Ask About Xtblog Twig
» View post
Graham
AH-SID
Part one is fairly easy
<div class="box1"> {% set url_no_query=entry.url|split('?') %} <h2 class="title"><a href="{{ url_no_query[0] }}">{{ entry.title }}</a></h2> </div>
twig split filter
http://twig.sensiolabs.org/doc/filters/split.html
part 2 is trickier as that requires splitting up the description so soon (maybe tomorrow)
#
2014-06-16 12:35 (edited 2014-06-16 12:57 by
Graham
) ·
(1)
Home
»
XtGem
»
Coding help
»
Ask About Xtblog Twig
» View post
Online: Guests: 1
Log in