fediglam/src/template/test.tmp.html

35 lines
681 B
HTML

<!DOCTYPE html>
<html>
<head>
<title> {= .community.name =} </title>
</head>
<body>
<h1> TITLE </h1>
<h2> {{ REAL BRACKETS }} </h2>
<section>
{#for .baz |$f| =}
{= #for $f |$b| =}
{$b}:
{= /for =}
{= /for}
{#if .qux=}
qux
{=#elif .quxx=}
quxx
{=#else=}
neither
{=/if}
{#if .maybe_foo |$v|}{$v}{#else}null{/if}
{#if .maybe_bar |$v|}{$v}{#else}null{/if}
{#if .maybe_foo |$_|}abcd{#else}null{/if}
<template>{#template test_tmpl .bar}</template>
<template>{#template test_tmpl .}</template>
{%context_foo}
</section>
</body>
</html>