This seems closer, but the {{!!$:/SiteTitle}} is the part that doesn't 
work. Trying to mix too many markups. I am guessing the answer is with 
dollar signs...

<a href="../folder/{{!!$:/SiteTitle}}.html"><$view tiddler="$:/SiteTitle" 
field="text"/></a>

Dave

On Thursday, December 31, 2015 at 8:04:06 AM UTC-10, David Gifford wrote:
>
> Greetings from TiddlyWaikiki!
>
> Heading back to Mexico today, but I got an idea and am wondering how to do 
> it.
>
> I would like to have a viewtemplate item that is basically this:  wrap 
> with CSS [[insert contents of sitetitle here|../folder/insert contents of 
> sitetitle here.html]].
>
> So a tiddler whose $:/SiteTitle is hawaii.vacation would automatically 
> render the following: [[hawaii.vacation|../folder/hawaii.vacation.html]]. 
> And I could give it a class. (the relative path to the folder is something 
> I would manually add)
>
> This would go in a template tiddler in a template TW file. This way, when 
> I export any tiddler to html from any file, the tiddler will already have a 
> relative link to the source file. If I upload to my site, I will make sure 
> the folders match with what I have on my hard drive.
>
> Any ideas how I would do this? I tried this
>
> [[<$view tiddler="$:/SiteTitle" field="title"/>|
> http://recursos.giffmex.org.{{!!SiteTitle}}.html]]
>
> But it doesn't work. Anyway, any help would be appreciated, and I will 
> share here the final results, in case anyone wants to use the idea.
>
> Dave
>
> Dave
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/325a6ab8-2647-4b49-8078-53480f02a04a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to