master
Jay 2 years ago
parent f984f35c32
commit dda24e7083

@ -2,13 +2,13 @@
#google_analytics: UA-NNNNNNNN-N #google_analytics: UA-NNNNNNNN-N
#header_pages: header_pages:
# - index.md # - index.md
# - blog.md - blog.md
# - pbx.md - pbx.md
# - dev.md - dev.md
# - git.md - git.md
# - about.md - about.md
footer: '<?php footer: '<?php
$message_array = file("/var/www/pickmy/tails.txt"); $message = array_rand($message_array); echo "$message_array[$message]"; ?> | <a href="https://git.pickmy.org/dewdude/pickmy-dot-org-jekyll-site">site source</a> | powered by xcp-ng | twitter: <a href="https://twitter.com/music_onhold">@Music_OnHold</a>' $message_array = file("/var/www/pickmy/tails.txt"); $message = array_rand($message_array); echo "$message_array[$message]"; ?> | <a href="https://git.pickmy.org/dewdude/pickmy-dot-org-jekyll-site">site source</a> | powered by xcp-ng | twitter: <a href="https://twitter.com/music_onhold">@Music_OnHold</a>'

@ -1,13 +1,17 @@
{%- assign page_paths = site.header_pages | default: default_paths -%} {%- assign page_paths = site.header_pages | default: default_paths -%}
<header> <header>
<div class="menu"> <div class="menu">
<a href="/index.php">pickmy.org:~$</a> <a href="/index.php" style="text-decoration: none;">pickmy.org:~$</a>
<a href="/blog">/blog</a> <ul>
<a href="/pbx">/pbx</a> {%- for path in page_paths -%}
<a href="/dev">/dev</a> {%- assign my_page = site.pages | where: "path", path | first -%}
<a href="https://git.pickmy.org">/git</a> {%- if my_page.title == '/git' -%}
<a href="/about.php">/about</a> <li><a href="https://git.pickmy.org">/git</a></li>
| <?php {%- else -%}
<li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
{%- endif -%}
{%- endfor -%}
| <?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