header.html issues

master
Jay 2 years ago
parent 6bb09f3edc
commit 9da0da8a75

@ -2,16 +2,14 @@
<header>
<div class="menu">
<ul>
{%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%}
{%- if my_page.title == '/git' -%}
<li><a href="https://git.pickmy.org">/git</a></li>
{%- else -%}
<li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
{%- endif -%}
{%- endfor -%}
<ul><li><a href="/index.php">pickmy.org:~$</a></li>
<li><a href="/blog">/blog</a></li>
<li><a href="/pbx">/pbx</a></li>
<li><a href="/dev">/dev</a></li>
<li><a href="https://git.pickmy.org">/git</a></li>
<li><a href="/about.php">/about</a></li><li>
<li>
&nbsp | <?php
| <?php
$message_array = file("/var/www/pickmy/taglines.txt");
$message = array_rand($message_array);
echo "$message_array[$message]";

Loading…
Cancel
Save