<p>{% assign series_pages = site.tags.series_customizing %}
    {% for p in pages %}
    {% if p.series == "Customizing PMD" %}
    {% assign nextTopic = page.weight | plus: "1"  %}
    {% if p.weight == nextTopic  %}
    <a href="{{p.url | remove: "/"}}"><button type="button" class="btn btn-primary">Next: {{p.weight}}  {{p.short_title}}</button></a>
    {% endif %}
    {% endif %}
    {% endfor %}
</p>
