diff --git a/_includes/header.html b/_includes/header.html index ab7cb0f..0c49bde 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,7 +1,14 @@ {%- assign page_paths = site.header_pages | default: default_paths -%} - + + php + function randomtext() { + $lines = file("/var/www/pickmy/taglines.txt") ; + return $lines[array_rand($lines)] ; + } + randomtext(); +?> {%- for path in page_paths -%} {%- assign my_page = site.pages | where: "path", path | first -%} {%- if my_page.title == '/git' -%} diff --git a/pbx/index.md b/pbx/index.md index ebc25cf..a4be64a 100644 --- a/pbx/index.md +++ b/pbx/index.md @@ -1,7 +1,7 @@ --- title: pickmy.org:~/pbx$ layout: default -permalink: /pbx/index.html +permalink: /pbx/index.php list: bullet ---