Tom Troughton wrote
The blog _template.txt looks like this: <snipped>
Thanks. Unfortunately I've never used the blog plugin so I can't comment on how it should work.
When I create a new blog entry, the substitutions are made. However when I copy this into a template in the namespace, it appears exactly as written - there is no substitution.
That makes sense if the blog plugin doesn't enhance the standard namespace template abilities.
Likewise when I write:
Creation time %a %d-%m-%y %k:%M:%S
into the blog _template.txt, it appears exactly as written - there is no substitution.
(again) it appears that the blog plugin doesn't enhance the stock namespace template abilities - it just replaces them with it's own variable replacement patterns.
It also (seems) to demonstrate that only one
*_template.txt can be in effect at a time in a given namespace.
However if I put it into an i_template in the namespace, it is substituted. Unfortunately, the blog _template.txt is ignored.
I don't know what an
i_template.txt is....
While I can think of several way to achieve what you want: they may not suit your usecase; I'd prefer to try blog plugin before creating an x-y problem/making the job harder than it has to be.
The string I posted earlier definitely does work in a stock
DokuWiki namespace template (
_template.txt or
__template.txt).
I suspect your best bet at this juncture is to wait until you get advice from someone who knows the blog plugin.
As a side note, I see two exclamation points in your example, but not in the blog template. Can you tell me what difference they make?
It capitalise the first letters of each word in the variable replacement string (title cases).
I don't know it that is supported in the blog (plugin) template.