From a510d7380b6ed9749da6ab4102db0cd3b2f27ba5 Mon Sep 17 00:00:00 2001 From: rzen Date: Thu, 26 Sep 2019 17:52:56 -0400 Subject: [PATCH 1/5] add dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..094c705 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM nginx:alpine +COPY _site /usr/share/nginx/html \ No newline at end of file From a84179eaf635588382aea6ac48b3071c2308c4d3 Mon Sep 17 00:00:00 2001 From: rzen Date: Thu, 26 Sep 2019 17:53:28 -0400 Subject: [PATCH 2/5] customize index.html for local vs prod environment --- index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index feb5450..fb3a770 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,11 @@ layout: base title: Home --- -{% assign all_entries = site.blog | concat: site.posts | concat: site.links | concat: site.private | sort: "date" %} +{% if jekyll.environment == "local" %} + {% assign all_entries = site.blog | concat: site.posts | concat: site.links | concat: site.private | sort: "date" %} +{% else %} + {% assign all_entries = site.blog | concat: site.posts | concat: site.links | sort: "date" %} +{% endif %}
{% include post_index.html posts=all_entries %} From 4a4ee3aa94efed37b6081c13e6b5b1c7f26477af Mon Sep 17 00:00:00 2001 From: rzen Date: Thu, 26 Sep 2019 17:54:15 -0400 Subject: [PATCH 3/5] tweak service name and container name for smoother development iterations --- docker-compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 686ebb9..b68d02e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,8 +3,8 @@ services: # serve - jekyll-serve: - container_name: jekyll-serve + serve: + container_name: isabelline-serve image: jekyll/jekyll:3.8 # command: bash -c "bundle update && bundle exec jekyll serve --host 0.0.0.0 --future --draft --force_polling --livereload" command: jekyll serve --host 0.0.0.0 --future --draft --force_polling --livereload From 126d18839d1aa3895a766ac6f4164708cebe2fa5 Mon Sep 17 00:00:00 2001 From: rzen Date: Sun, 20 Oct 2019 14:08:11 -0400 Subject: [PATCH 4/5] add ability to insert additional global nav --- _includes/additional_glboal_nav.html | 1 + _includes/header.html | 1 + 2 files changed, 2 insertions(+) create mode 100644 _includes/additional_glboal_nav.html diff --git a/_includes/additional_glboal_nav.html b/_includes/additional_glboal_nav.html new file mode 100644 index 0000000..86cb3bb --- /dev/null +++ b/_includes/additional_glboal_nav.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_includes/header.html b/_includes/header.html index 7f3caed..986ae2f 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -10,6 +10,7 @@
  • {{ page.title }} {% endif %} {% endfor %} + {% include additional_glboal_nav.html %} \ No newline at end of file From d5c8b08f605a5ff6455849e5bdb13d3a20a4b724 Mon Sep 17 00:00:00 2001 From: rzen Date: Sun, 20 Oct 2019 14:31:51 -0400 Subject: [PATCH 5/5] update version --- jekyll-theme-isabelline.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jekyll-theme-isabelline.gemspec b/jekyll-theme-isabelline.gemspec index 69cc873..e523719 100644 --- a/jekyll-theme-isabelline.gemspec +++ b/jekyll-theme-isabelline.gemspec @@ -1,7 +1,7 @@ # frozen_string_literal: true Gem::Specification.new do |spec| - spec.version = "0.1.12" + spec.version = "0.1.13" spec.name = "jekyll-theme-isabelline" spec.authors = ["Rouslan Zenetl"]