json-theme-even-fork/partials/link.hbs

1 line
142 B
Handlebars
Raw Normal View History

2021-07-18 15:21:43 +02:00
{{#if name}}{{#if url}}<a href="{{url}}">{{name}}</a>{{else}}{{name}}{{/if}}{{else}}{{#url}}<a href="{{.}}">{{formatURL .}}</a>{{/url}}{{/if}}