Hi all
I want to create a pretty link in an index where the link is to the URL of an external page (preferably relative path, but I could live with absolute path), but the text shown refers to a field of a tiddler within the tiddlywiki file.
Use case: I use a standalone TiddlyWiki to generate static pages, and a static index. I use the title fields of the tiddlers for the filename of the static pages, and a separate field called 'showname' to display the viewable title of the article in the tiddler. Since I plan to change shownames often (eg, from '8 things about this topic' to '10 things about this topic'), I want the index to automatically update so I don't have to hand enter each change in the index. That way, when I generate the static index, the showname titles will be baked in, but the links will be to web pages relative to the location of the index.
I tried the following but they didn't work. I realize the problem is that I am mixing html tags with TiddlyWiki widgets. What could I do to get this?
*<a href="./presentaciones.html"><$view tiddler="presentaciones" field="showname"/></a>
*<$link to="./presentaciones.html"><$view tiddler="presentaciones" field="showname"/></$link>