Closed zhonger closed 3 months ago
The logic of template files in _layouts
:
Make all things as small as possible with capture
like below:
{% capture download_note %}
The latest version of {{ site.product_name }} is now available.
{% endcapture %}
{% include note.html content=download_note %}
98f71b95286e401b7a0b4278f909f2c0ebdcb55c
Purpose
Make the structure of files more readable and easily maintained or updated.
Possible Solution
Here is one image in my mind: