master
Jay 2 years ago
parent f984f35c32
commit dda24e7083

@ -2,13 +2,13 @@
#google_analytics: UA-NNNNNNNN-N
#header_pages:
header_pages:
# - index.md
# - blog.md
# - pbx.md
# - dev.md
# - git.md
# - about.md
- blog.md
- pbx.md
- dev.md
- git.md
- about.md
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>'

@ -1,12 +1,16 @@
{%- assign page_paths = site.header_pages | default: default_paths -%}
<header>
<div class="menu">
<a href="/index.php">pickmy.org:~$</a>
<a href="/blog">/blog</a>
<a href="/pbx">/pbx</a>
<a href="/dev">/dev</a>
<a href="https://git.pickmy.org">/git</a>
<a href="/about.php">/about</a>
<a href="/index.php" style="text-decoration: none;">pickmy.org:~$</a>
<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 -%}
| <?php
$message_array = file("/var/www/pickmy/taglines.txt");
$message = array_rand($message_array);

Loading…
Cancel
Save