From d4924544e7d6c572a67c33fad1eea2441555acbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20DECOOL?= Date: Wed, 27 Feb 2019 08:05:36 +0100 Subject: [PATCH 01/12] Clean Jekyll configuration --- _config.yml | 34 +++++++++------------------------- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/_config.yml b/_config.yml index f91333e..ee3b04d 100644 --- a/_config.yml +++ b/_config.yml @@ -1,30 +1,14 @@ -# Welcome to Jekyll! -# -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely edit after that. If you find -# yourself editing this file very often, consider using Jekyll's data files -# feature for the data you need to update frequently. -# -# For technical reasons, this file is *NOT* reloaded automatically when you use -# 'bundle exec jekyll serve'. If you change this file, please restart the server process. - -# Site settings -# These are used to personalize your new site. If you look in the HTML files, -# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. -# You can create any custom variable you would like, and they will be accessible -# in the templates via {{ site.myvariable }}. -title: Your awesome title -email: your-email@example.com +title: phpdaily - Unofficial Docker image packing nightly builds +email: contact@jdecool.fr description: >- # this means to ignore newlines until "baseurl:" - Write an awesome description for your new site here. You can edit this - line in _config.yml. It will appear in your document head meta (for - Google search results) and in your feed.xml site description. -baseurl: "" # the subpath of your site, e.g. /blog -url: "" # the base hostname & protocol for your site, e.g. http://example.com -twitter_username: jekyllrb -github_username: jekyll + phpdaily/php is a collection of the daily updated Docker images for a variety of PHP versions. + These include even the most recent development versions. +baseurl: "" +url: "https://phpdaily.github.io" +permalink: /blog/:year/:month/:day/:title.html +twitter_username: phpdaily +github_username: phpdaily -# Build settings markdown: kramdown theme: minima plugins: From c3f7eeec506130bed65fa6533bbd52800484149f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20DECOOL?= Date: Wed, 27 Feb 2019 08:05:55 +0100 Subject: [PATCH 02/12] Remove `about.md` page --- about.md | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 about.md diff --git a/about.md b/about.md deleted file mode 100644 index 8b4e0b2..0000000 --- a/about.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: page -title: About -permalink: /about/ ---- - -This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/) - -You can find the source code for Minima at GitHub: -[jekyll][jekyll-organization] / -[minima](https://github.com/jekyll/minima) - -You can find the source code for Jekyll at GitHub: -[jekyll][jekyll-organization] / -[jekyll](https://github.com/jekyll/jekyll) - - -[jekyll-organization]: https://github.com/jekyll From b8b64b9cd91664d0c42484a341f74cfd40f38302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20DECOOL?= Date: Wed, 27 Feb 2019 08:06:25 +0100 Subject: [PATCH 03/12] Create blog post layout --- _layouts/default.html | 6 ++++++ _layouts/post.html | 13 +++++++++++++ blog.md | 16 ++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 _layouts/post.html create mode 100644 blog.md diff --git a/_layouts/default.html b/_layouts/default.html index 79e319f..4715a3e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -16,6 +16,12 @@ +
+
+ Home + Blog +
+
{{ content }} diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..4a252f4 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,13 @@ +--- +layout: default +--- + +
+
+
+

{{ page.title }}

+

{{ page.date | date: "%-d %B %Y" }} - {{ page.author }}

+ {{ page.content}} +
+
+
diff --git a/blog.md b/blog.md new file mode 100644 index 0000000..59704df --- /dev/null +++ b/blog.md @@ -0,0 +1,16 @@ +--- +layout: default +--- + +{% for post in site.posts %} +
+
+
+

+ {{ post.title }} +

+

{{ post.date | date: "%-d %B %Y" }} - {{ post.author }}

+

{{ post.excerpt|strip_html }}

+
+
+{% endfor %} From 3f41a413c39efbb213745182015edafc4e6ff17a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20DECOOL?= Date: Thu, 28 Feb 2019 07:27:07 +0100 Subject: [PATCH 04/12] Add bloging microformat tags --- _layouts/post.html | 8 ++++---- blog.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 4a252f4..fdd8034 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,12 +2,12 @@ layout: default --- -
+

-

{{ page.title }}

-

{{ page.date | date: "%-d %B %Y" }} - {{ page.author }}

- {{ page.content}} +

{{ page.title }}

+

-

+
{{ page.content}}

diff --git a/blog.md b/blog.md index 59704df..9969077 100644 --- a/blog.md +++ b/blog.md @@ -3,14 +3,14 @@ layout: default --- {% for post in site.posts %} -
+

-

+

{{ post.title }}

-

{{ post.date | date: "%-d %B %Y" }} - {{ post.author }}

-

{{ post.excerpt|strip_html }}

+

-

+

{{ post.excerpt|strip_html }}

{% endfor %} From f33ee50f3da815868185e9da96874022b026f0ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20DECOOL?= Date: Thu, 28 Feb 2019 07:37:39 +0100 Subject: [PATCH 05/12] Add socials information tags --- _layouts/default.html | 22 +++++++++++++++++++++- blog.md | 1 + index.md | 1 + 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index 4715a3e..271b0f7 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,8 +1,28 @@ + - PHP Daily - PHP development branches nightly build + {{ page.title }} + + + + + + + + + + {% if page.excerpt %}{% endif %} + + + + {% if page.excerpt %}{% endif %} + + {% if page.date %} + + + {% endif %}