Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/MakerTim/PHP-template
Browse files Browse the repository at this point in the history
  • Loading branch information
MakerTim committed Jun 12, 2015
2 parents 58268c4 + 1a36a18 commit 8efbe58
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CSS/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ body {
.Pagina .Menu ul li {
display: inline;
margin: 0;
padding: 15px;
padding: 7px;
padding-top: 18px;
border: 0px solid $Menu_Outline;
}
Expand Down
2 changes: 1 addition & 1 deletion Classes/Header.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function getMetaTags() {
$ret .= '<meta name="Slurp" content="noydir" />'. PHP_EOL;
}
$ret .= '<meta name="description" content=' . str_replace(array('\n.', '\n\n', '\n', ' '), ' ',
json_encode(strip_tags(implode(' ', array_slice(explode(' ', $GLOBALS['pageContent']->content), 0, 25))))) . ' />'. PHP_EOL;
json_encode(strip_tags(implode(' ', array_slice(explode(' ', $GLOBALS['pageContent']->content), 0, 20))))) . ' />'. PHP_EOL;
$builder = '';
foreach(MktConfig::$keys as $key) {
$builder .= $key . ', ';
Expand Down
13 changes: 13 additions & 0 deletions Content/Pages/contact.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Page>
<Menu>
<Index>Contact</Index>
<Banner>true</Banner>
<SideBar>true</SideBar>
<Sub>test</Sub>
</Menu>
<Md>
# Contact
---

</Md>
</Page>

0 comments on commit 8efbe58

Please sign in to comment.