diff options
author | Ryan S. Arnold <ryan.arnold@linaro.org> | 2017-02-14 23:46:47 +0000 |
---|---|---|
committer | Ryan S. Arnold <ryan.arnold@linaro.org> | 2017-02-14 23:46:47 +0000 |
commit | f72d8b6bef0e82844b81fbd59d87e3ef1c22e81d (patch) | |
tree | 57a680fea1f48c85fd49dcf744bc63c17abaa9cc | |
parent | ef1205713a88407ce3bad70b9a22826541f415ed (diff) |
modified macrosreleases/linaro-6.3-2017.02-rc2
-rw-r--r-- | components/toolchain/binaries/macros | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/components/toolchain/binaries/macros b/components/toolchain/binaries/macros index 692aee4..004aa24 100644 --- a/components/toolchain/binaries/macros +++ b/components/toolchain/binaries/macros @@ -50,6 +50,20 @@ {%- endif -%} {% endmacro %} +{# An indented URL with a label (for text). #} +{% macro urlindlabel(ind,label,text) %} + {% if announce != "yes" -%} + p + {%- for i in range(0, ind // 2) -%} + ( + {%- endfor -%} + . ({{label}}) "{{ text }}":{{ text }} + {% else -%} + {% set labeltext=['(',label,') ',text] -%} + {{ labeltext|join|indent(ind, true) }} + {%- endif -%} +{% endmacro %} + {# Format a 'NEWS' section item. if it is news we use '* ' and don't indent the first line. if it is newscont we don't use '* ' and we do indent the first line. |