I hate web development

master
Jay 2 years ago
parent dda24e7083
commit 536af5ee3d

@ -3,7 +3,7 @@
#google_analytics: UA-NNNNNNNN-N
header_pages:
# - index.md
- index.md
- blog.md
- pbx.md
- dev.md

@ -1,7 +1,6 @@
{%- assign page_paths = site.header_pages | default: default_paths -%}
<header>
<div class="menu">
<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 -%}
@ -11,7 +10,7 @@
<li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
{%- endif -%}
{%- endfor -%}
| <?php
| <?php
$message_array = file("/var/www/pickmy/taglines.txt");
$message = array_rand($message_array);
echo "$message_array[$message]";

Loading…
Cancel
Save