From d1851cc82bda9669ceea22ea62dc645b848bde1f Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Tue, 9 Dec 2014 06:18:31 +0100 Subject: [PATCH] jekyll-sitemap gem added --- _config.yml | 13 ++++++++++++- banners.md | 1 + index.html | 1 + pages/Design-Patterns.md | 1 + pages/Functional-Programming.md | 1 + pages/The-Basics.md | 3 ++- sitemap.xml | 15 --------------- 7 files changed, 18 insertions(+), 17 deletions(-) delete mode 100644 sitemap.xml diff --git a/_config.yml b/_config.yml index caa75bc..fdadac1 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,3 @@ -safe: true baseurl: / url: http://localhost:4000 @@ -11,3 +10,15 @@ maruku: png_engine: blahtex png_dir: images/latex png_url: /images/latex + +gems: + - jekyll-sitemap + +defaults: + - + scope: + path: "" + values: + sitemap: false + +exclude: ['CNAME', 'CONTRIBUTING.md', 'LICENSE', 'README.md', 'pages/example.md'] diff --git a/banners.md b/banners.md index b4a06bb..c809b7f 100644 --- a/banners.md +++ b/banners.md @@ -2,6 +2,7 @@ layout: default title: Website Banners description: "Spread the word! Use these banner to let new PHP programmers know about PHP: The Right Way" +sitemap: true --- # Web Banners diff --git a/index.html b/index.html index 5fdb78f..7fd22cb 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,7 @@ --- layout: default description: "An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative PHP tutorials around the Web" +sitemap: true --- {% capture welcome_content %}{% include welcome.md %}{% endcapture %} diff --git a/pages/Design-Patterns.md b/pages/Design-Patterns.md index 7e57cb9..d659d66 100644 --- a/pages/Design-Patterns.md +++ b/pages/Design-Patterns.md @@ -1,6 +1,7 @@ --- layout: page title: Design Patterns +sitemap: true --- # Design Patterns diff --git a/pages/Functional-Programming.md b/pages/Functional-Programming.md index b625a84..85bb97f 100644 --- a/pages/Functional-Programming.md +++ b/pages/Functional-Programming.md @@ -1,6 +1,7 @@ --- layout: page title: Functional Programming in PHP +sitemap: true --- # Functional Programming in PHP diff --git a/pages/The-Basics.md b/pages/The-Basics.md index 75221e3..b98d542 100644 --- a/pages/The-Basics.md +++ b/pages/The-Basics.md @@ -1,6 +1,7 @@ --- layout: page title: The Basics +sitemap: true --- # The Basics @@ -283,7 +284,7 @@ EOD; // closing 'EOD' must be on it's own line, and to th * [Heredoc syntax](http://php.net/language.types.string#language.types.string.syntax.heredoc) -### Which is quicker? +### Which is quicker? There is a myth floating around that single quote strings are fractionally quicker than double quote strings. This is fundamentally not true. diff --git a/sitemap.xml b/sitemap.xml deleted file mode 100644 index ff86f72..0000000 --- a/sitemap.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - http://www.phptherightway.com/index.html - 2012-07-07T01:00:00-05:00 - daily - 1 - - - http://www.phptherightway.com/banners.html - 2012-07-08T14:11:00-05:00 - weekly - 0.5 - -