Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
液体テンプレートに次のコードがあります。
<a href="{{ sample.url }}">{{ sample.url }}</a>
jinja2から来て私はこのようなものを望んでいました:
{{ sample.url|urlize }}
これは液体に存在しますか?
私は液体のドキュメントを見ましたが、それへの参照を見つけることができませんでしたが、ドキュメントに記載されているように、それを行うための独自のフィルターを作成できます。
こちらをご覧ください。