{%- if page -%} {%- assign series_name = page.metadata | value: "series_name" -%} {%- if series_name == "-- series_name not found --" %}{% assign series_name = "" %}{% endif -%} {%- else -%} {%- assign series_name = "" -%} {%- endif -%} {%- capture extra_title %}{% if series_name == "" %}{% else %} {{ series_name }} »{% endif %}{% endcapture -%}