I hate web development

master
Jay 2 years ago
parent dda24e7083
commit 536af5ee3d

@ -3,7 +3,7 @@
#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

@ -1,7 +1,6 @@
{%- 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" style="text-decoration: none;">pickmy.org:~$</a>
<ul> <ul>
{%- for path in page_paths -%} {%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%} {%- assign my_page = site.pages | where: "path", path | first -%}
@ -11,7 +10,7 @@
<li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li> <li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
{%- endif -%} {%- endif -%}
{%- endfor -%} {%- endfor -%}
| <?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