let's try that

master
Jay 2 years ago
parent 24448fcce2
commit ec60d32acd

@ -4,7 +4,9 @@
<ul> <ul>
{%- for path in page_paths -%} {%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%} {%- assign my_page = site.pages | where: "path", path | first -%}
{%- if my_page.title == '/git' -%} {%- if my_page.title == 'mainsite' -%
<li><a href="https://pickmy.org/">pickmy.org:~$ - </a></li>
{%- elseif my_page.title == '/git' -%}
<li><a href="https://git.pickmy.org">/git</a></li> <li><a href="https://git.pickmy.org">/git</a></li>
{%- else -%} {%- else -%}
<li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li> <li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>

@ -1,6 +1,6 @@
--- ---
title: pickmy.org:~$ - title: mainsite
layout: default layout: default
permalink: https://pickmy.org permalink:
--- ---

Loading…
Cancel
Save