diff --git a/_includes/author-profile.html b/_includes/author-profile.html index b7d62149..5c730478 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -5,23 +5,12 @@ {% if author.avatar %}
{% endif %} @@ -208,7 +197,7 @@ YouTube - {% else author.youtube %} + {% elsif author.youtube %}" | remove: "
" }} -" | remove: "
" }}-
{%- for link in site.data.navigation.main -%}
- {%- if link.url contains '://' -%}
- {%- assign url = link.url -%}
- {%- else -%}
- {%- assign url = link.url | relative_url -%}
- {%- endif -%}
-
{% for child in nav.children %}
- {% comment %} internal/external URL check {% endcomment %}
- {% if child.url contains "://" %}
- {% assign child_url = child.url %}
- {% else %}
- {% assign child_url = child.url | relative_url %}
- {% endif %}
-
- {% comment %} set "active" class on current page {% endcomment %}
- {% if child.url == page.url %}
- {% assign active = "active" %}
- {% else %}
- {% assign active = "" %}
- {% endif %}
-
-
- {{ child.title }} +
- {{ child.title }} {% endfor %}
{% for action in page.header.actions %}
- {% if action.url contains "://" %}
- {% assign url = action.url %}
- {% else %}
- {% assign url = action.url | relative_url %}
- {% endif %}
- {{ action.label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}
+ {{ action.label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}
{% endfor %}
{% endif %}
{% else %}
- " | remove: "
+
{% endif %}
{% if page.header.caption %}
{{ page.header.caption | markdownify | remove: "
+
{% endif %}
{% if s.title %}