[pmwiki-users] Need to fix the spacing on an Include...

Mike Bishop mbishop at mtaonline.net
Fri Oct 12 21:32:12 CDT 2007


On Fri, Oct 12, 2007 at 08:38:57PM -0400, Ben Wilson wrote:
> I am supporting a friend's wedding planner web site. In her blog,[2]
> she wants the (read more...) tag to be at the end of the last
> paragraph. The following is the page template code. Would somebody
> mind suggesting how I can satisfy her request?
> 
> [[#teasers]]
> !!! {=$Titlespaced}
> 
> (:include {=$FullName} para=2:)([[{=$FullName}|read more]]...)
> 
> (:if equal {>$Group}:)
> (:if:)
> [[#teasersend]]
> 
> 
> [1]: http://www.weddingsinvieques.com/SandysBlog/SandysBlog
> 

The only way I found to do this (easily) was to add

%right% [-[[{=$FullName}|Read More]]-]

after the include statement.  This will, however, add a
blank line after the last paragraph, before the "read more".
Perhaps this is good enough ...

Rgds,
--
Mike Bishop 
Willow, Alaska



More information about the pmwiki-users mailing list