From ea85bcc4d5ce9df3b85ec885619d5f690317ed92 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 29 Apr 2018 18:55:03 +0300 Subject: [PATCH] General updates for theme Simple --- site/themes/simple/partials/head.php | 24 ---------------- site/themes/simple/partials/tail.php | 3 -- site/themes/simple/templates/default.php | 5 ++-- .../{ => templates}/partials/footer.php | 5 +++- .../themes/simple/templates/partials/head.php | 28 +++++++++++++++++++ .../{ => templates}/partials/navigation.php | 8 ++++-- .../themes/simple/templates/partials/tail.php | 7 +++++ site/themes/simple/templates/project.php | 3 -- site/themes/simple/templates/projects.php | 7 ----- 9 files changed, 48 insertions(+), 42 deletions(-) delete mode 100755 site/themes/simple/partials/head.php delete mode 100755 site/themes/simple/partials/tail.php rename site/themes/simple/{ => templates}/partials/footer.php (58%) create mode 100755 site/themes/simple/templates/partials/head.php rename site/themes/simple/{ => templates}/partials/navigation.php (57%) create mode 100755 site/themes/simple/templates/partials/tail.php delete mode 100755 site/themes/simple/templates/project.php delete mode 100755 site/themes/simple/templates/projects.php diff --git a/site/themes/simple/partials/head.php b/site/themes/simple/partials/head.php deleted file mode 100755 index f4ca2f53..00000000 --- a/site/themes/simple/partials/head.php +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - <?php echo $page['title']; ?> | <?php echo Flextype\Config::get('site.title'); ?> - - - - - - - - - - - - display(); ?> -
diff --git a/site/themes/simple/partials/tail.php b/site/themes/simple/partials/tail.php deleted file mode 100755 index 508f522b..00000000 --- a/site/themes/simple/partials/tail.php +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/site/themes/simple/templates/default.php b/site/themes/simple/templates/default.php index 31f6a485..bad96304 100755 --- a/site/themes/simple/templates/default.php +++ b/site/themes/simple/templates/default.php @@ -1,3 +1,4 @@ -display(); ?> + +display(); ?> -display(); ?> +display(); ?> diff --git a/site/themes/simple/partials/footer.php b/site/themes/simple/templates/partials/footer.php similarity index 58% rename from site/themes/simple/partials/footer.php rename to site/themes/simple/templates/partials/footer.php index 0a7b10e0..6f7084c5 100755 --- a/site/themes/simple/partials/footer.php +++ b/site/themes/simple/templates/partials/footer.php @@ -1,5 +1,8 @@ + - display(); ?> + display(); ?>
Powered by Flextype diff --git a/site/themes/simple/templates/partials/head.php b/site/themes/simple/templates/partials/head.php new file mode 100755 index 00000000..47b90c14 --- /dev/null +++ b/site/themes/simple/templates/partials/head.php @@ -0,0 +1,28 @@ + + + + + + + + + + + + <?php echo $page['title']; ?> | <?php echo Config::get('site.title'); ?> + + + + + + + + + + + + display(); ?> +
diff --git a/site/themes/simple/partials/navigation.php b/site/themes/simple/templates/partials/navigation.php similarity index 57% rename from site/themes/simple/partials/navigation.php rename to site/themes/simple/templates/partials/navigation.php index 804e5441..a3e01963 100755 --- a/site/themes/simple/partials/navigation.php +++ b/site/themes/simple/templates/partials/navigation.php @@ -1,13 +1,17 @@ +