You can now customize the default message
This commit is contained in:
parent
904e4955a8
commit
b2ab72d4b0
5 changed files with 76 additions and 20 deletions
|
|
@ -202,7 +202,7 @@
|
|||
<li>
|
||||
<code>
|
||||
{% raw %}
|
||||
Hello {{ entry_author }}\n{{ feed_title }}\n{{ entry_read }}
|
||||
Hello {{ entry_author }}\n{{ feed_title }}\n{{ entry_read -}}
|
||||
{% endraw %}
|
||||
</code>
|
||||
</li>
|
||||
|
|
@ -213,7 +213,7 @@
|
|||
<pre>
|
||||
Hello {{ entry.author }}
|
||||
{{ feed.title }}
|
||||
{{ entry.read }}
|
||||
{{ entry.read -}}
|
||||
</pre>
|
||||
</code>
|
||||
</li>
|
||||
|
|
@ -227,7 +227,8 @@ Hello {{ entry.author }}
|
|||
type="text"
|
||||
class="form-control bg-dark border-dark text-muted"
|
||||
id="custom_message"
|
||||
value="{% if custom_message %} {{ custom_message }}{% endif %}"/>
|
||||
value="{% if custom_message -%}
|
||||
{{ custom_message }}{%- endif %}"/>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Add a hidden feed_url field to the form -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue