|
|
@ -1,7 +1,14 @@
|
|
|
|
{%- 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">
|
|
|
|
<ul>
|
|
|
|
<ul><li>
|
|
|
|
|
|
|
|
<? php
|
|
|
|
|
|
|
|
function randomtext() {
|
|
|
|
|
|
|
|
$lines = file("/var/www/pickmy/taglines.txt") ;
|
|
|
|
|
|
|
|
return $lines[array_rand($lines)] ;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
randomtext();
|
|
|
|
|
|
|
|
?></li>
|
|
|
|
{%- 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 -%}
|
|
|
|
{%- if my_page.title == '/git' -%}
|
|
|
|
{%- if my_page.title == '/git' -%}
|
|
|
|