diff --git a/_includes/release_data.html b/_includes/release_data.html new file mode 100644 index 00000000..bb6ad24b --- /dev/null +++ b/_includes/release_data.html @@ -0,0 +1,21 @@ +{{ +# We cannot use a data file for two reasons: +# 1. We'd need to escape every single '>' in the changelog +# 2. We cannot use Liquid tags to generate the post URL and therefore would be required to put in an absolute URL +# +# releaseChangelog should contain the release highlights of the latest NewPipe release +# releasePostUrl should contain the URL to the corresponding blog post. If there is no blog post for this release, +# leave the inner of the capture group empty. When accessing this field, ensure to check if +# releasePostUrl is empty: releasePostUrl != empty +}} +{%- capture releaseChangelog -%} +
- - +