update inbox list

This commit is contained in:
manhlab
2021-04-07 19:25:18 -04:00
parent fda7245f7c
commit 436de2efd6
8576 changed files with 1013325 additions and 3 deletions

View File

@@ -0,0 +1 @@
<span class="hljs-template-variable">{{ "string with spaces"|<span class="hljs-keyword">url_encode</span> }}</span>

View File

@@ -0,0 +1 @@
{{ "string with spaces"|url_encode }}

View File

@@ -0,0 +1,12 @@
<span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">if</span></span> posts|<span class="hljs-keyword">length</span> %}</span><span class="xml">
</span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">for</span></span> article in articles %}</span><span class="xml">
<span class="hljs-symbol">&amp;lt;</span>div<span class="hljs-symbol">&amp;gt;</span>
</span><span class="hljs-template-variable">{{ article.title|<span class="hljs-keyword">upper</span>() }}</span><span class="xml">
</span><span class="hljs-comment">{# outputs 'WELCOME' #}</span><span class="xml">
<span class="hljs-symbol">&amp;lt;</span>/div<span class="hljs-symbol">&amp;gt;</span>
</span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">endfor</span></span> %}</span><span class="xml">
</span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">endif</span></span> %}</span><span class="xml">
</span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">set</span></span> user = json_encode(user) %}</span><span class="xml">
</span>

View File

@@ -0,0 +1,11 @@
{% if posts|length %}
{% for article in articles %}
&lt;div&gt;
{{ article.title|upper() }}
{# outputs 'WELCOME' #}
&lt;/div&gt;
{% endfor %}
{% endif %}
{% set user = json_encode(user) %}