You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
765 B
HTML

2 years ago
{%- assign page_paths = site.header_pages | default: default_paths -%}
<header>
<div class="menu">
2 years ago
<ul>
{%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%}
2 years ago
{% if my_page.title == 'mainsite' %}
2 years ago
<li><a href="https://pickmy.org/">pickmy.org:~$ - </a></li>
2 years ago
{% elsif my_page.title == '/git' %}
2 years ago
<li><a href="https://git.pickmy.org">/git</a></li>
2 years ago
{% else %}
2 years ago
<li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
2 years ago
{% endif %}
2 years ago
{%- endfor -%}
<li> | <?php
$message_array = file("/var/www/pickmy/taglines.txt");
$message = array_rand($message_array);
echo "$message_array[$message]";
?>
</li>
</ul>
2 years ago
</div>
</header>