header.html issues

master
Jay 2 years ago
parent 6bb09f3edc
commit 9da0da8a75

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

Loading…
Cancel
Save