Beta custom module page type with optional alternate title
{% for item in module.modal_articles %}
{% set pageID = item.related_articles %}
{% set pageOutput = page_by_id(pageID) %}
{% if item.alternate_title %}
{% set finalTitle = item.alternate_title %}
{% else %}
{% set finalTitle = pageOutput.title %}
{% endif %}
<li><a href="{{ pageOutput.absolute_url }}">{{ finalTitle }}</a></li>
{% endfor %}