rustango-cms 0.4.0

A page-tree content management system for Rust, built on rustango
Documentation
1
2
3
4
5
{%- set label = value.label | default(value="") | trim -%}
{#- safe_href is the URL with a script scheme dropped (#724). -#}
{%- if safe_href -%}
<a class="rcms-block-url" href="{{ safe_href }}">{{ label | default(value=safe_href) }}</a>
{%- endif -%}