master
Jay 2 years ago
parent ff4babb65e
commit 9b5327d3e5

@ -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' -%}

@ -1,7 +1,7 @@
--- ---
title: pickmy.org:~/pbx$ title: pickmy.org:~/pbx$
layout: default layout: default
permalink: /pbx/index.html permalink: /pbx/index.php
list: bullet list: bullet
--- ---

Loading…
Cancel
Save