just-a-blog

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit 0516833cefe294f517ee3e25d2a73410f287c238
parent c8ae75ea6921a099ab85a1111a288d4ee16eb60c
Author: Robert D Herb <github@robertdherb.com>
Date:   Tue, 23 Feb 2016 22:05:11 -0600

Fixed .htaccess, general updates.

Diffstat:
.htaccess | 1+
blogdir.txt | 2+-
header.php | 2+-
html/header.html | 3++-
html/style/default.css | 59+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 64 insertions(+), 3 deletions(-)

diff --git a/.htaccess b/.htaccess @@ -1,4 +1,5 @@ DirectoryIndex index.php RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)/(.*)$ index.php?$1=$2 [NC,L] diff --git a/blogdir.txt b/blogdir.txt @@ -1 +1 @@ -blog +overseer/blog diff --git a/header.php b/header.php @@ -11,5 +11,5 @@ if( isset( $_GET['page'] ) ) { $title .= " - " . format_name( $thisPage ); } -write_html( file_get_contents( "html/header.html" ), $title, $nav ); +write_html( file_get_contents( "html/header.html" ), $title, $blogDir, $nav ); ?> diff --git a/html/header.html b/html/header.html @@ -2,7 +2,8 @@ <html> <head> <title>{0}</title> + <link rel="stylesheet" href="/{1}/html/style/default.css" type="text/css"> </head> <body> - {1} + {2} diff --git a/html/style/default.css b/html/style/default.css @@ -0,0 +1,59 @@ + /* Just a Blog default CSS + * + * It's only supposed to be marginally pretty. Sorry. + */ + +body { + padding-left: 10%; + padding-right: 10%; +} + + +a { + +} + + +h1 { + +} + + +h2 { + +} + + +h3 { + +} + + +ul { + +} + + +ol { + +} + + +li { + +} + + +p { + +} + + +code { + +} + + +div { + +}