[ 
https://issues.apache.org/jira/browse/TAMAYA-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15819155#comment-15819155
 ] 

ASF subversion and git services commented on TAMAYA-220:
--------------------------------------------------------

Commit ca2b478edf51713c542ea87f6b545899a69df2a4 in incubator-tamaya-site's 
branch refs/heads/master from [~hugo.hirsch]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-tamaya-site.git;h=ca2b478 
]

TAMAYA-220: Markdown injection still not functional

* Experimenting ....


> Bug: unable to inject custom variable in Thymeleaf and markdown templates
> -------------------------------------------------------------------------
>
>                 Key: TAMAYA-220
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-220
>             Project: Tamaya
>          Issue Type: Sub-task
>          Components: Website
>            Reporter: Philipp Ottlinger
>            Assignee: Philipp Ottlinger
>             Fix For: 0.3-incubating
>
>
> The template `templates/menu.thyme` contains a reference to the generated 
> javadoc and relies on the variable:
> {code}
> tamaya_version=0.3-incubating-SNAPSHOT
> {code}
> At the moment the variable is available in markdown/asciidoc pages, but not 
> in Thymeleaf:
> https://github.com/jbake-org/jbake/issues/326
> Working:
> * (/) Asciidoc
> {code}
> jbake.properties:
> asciidoctor.attributes.export=true
> foo_version=0.1.2-SNAPSHOT
> example in adoc:
> <version>{foo_version}</version>
> {code}
> * (/) Thymeleaf
> {code}
> jbake.properties:
> foo_version=0.1.2-SNAPSHOT
> need to use Thymeleaf directives, a direct input into tags is not supported:
> th:text="'Javadoc '+ ${config.foo_version} +' (external)'"
> {code}
> * (x) Markdown



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to