diff --git a/Gemfile b/Gemfile
index 890812ab..8d2c3fe9 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,13 +1,13 @@
-source 'https://rubygems.org'
+source "https://rubygems.org"
-# 'github-pages' includes 'jekyll' gem
-gem 'github-pages'
-gem 'bourbon'
-gem 'jemoji'
+gem "github-pages"
+gem "bourbon"
+gem "jemoji"
gem "jekyll-time-to-read"
-gem 'html-proofer'
+gem "html-proofer"
gem "jekyll-assets"
+gem "jekyll-archives"
group :jekyll_plugins do
- gem 'pagemaster'
+ gem "pagemaster"
end
\ No newline at end of file
diff --git a/Gemfile.lock b/Gemfile.lock
index 39174260..979ba283 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -113,6 +113,8 @@ GEM
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
+ jekyll-archives (2.2.1)
+ jekyll (>= 3.6, < 5.0)
jekyll-assets (2.4.0)
concurrent-ruby (~> 1.0)
extras (~> 0.2)
@@ -281,6 +283,7 @@ DEPENDENCIES
bourbon
github-pages
html-proofer
+ jekyll-archives
jekyll-assets
jekyll-time-to-read
jemoji
diff --git a/_config.yml b/_config.yml
index 2c42edef..a33d3bea 100644
--- a/_config.yml
+++ b/_config.yml
@@ -10,6 +10,7 @@ plugins:
- jekyll-time-to-read
- jekyll-sitemap
- pagemaster
+ - jekyll-archives
title: "Valentino Urbano"
description: >
@@ -86,3 +87,21 @@ assets:
path: ".jekyll-cache/assets"
type: file # Possible values: memory, file
enabled: true
+
+jekyll-archives:
+ enabled: [
+ year, month, day, categories #, tags
+ ]
+ layout: archive-tagcategory
+ layouts:
+ year: archive-year
+ month: archive-month
+ day: archive-day
+ category: archive-tagcategory
+ tag: archive-tagcategory
+ permalinks:
+ year: '/archive/:year/'
+ month: '/archive/:year/:month/'
+ day: '/archive/:year/:month/:day/'
+ tag: '/archive/tag/:name/'
+ category: '/archive/category/:name/'
\ No newline at end of file
diff --git a/_layouts/archive-day.html b/_layouts/archive-day.html
new file mode 100644
index 00000000..9cbed0ee
--- /dev/null
+++ b/_layouts/archive-day.html
@@ -0,0 +1,67 @@
+
+
+{% include head.html %}
+
+
+ {% include header.html %}
+
+
+ {% if page.image %}
+
+
+ Article Image
+
+
+
Archive of posts from {{ page.date | date: "%B %-d, %Y" }}
+
+
Blog Logo
+
+
{{ site.author }}
+
+
+
+
+ {% else %}
+
+
+
Archive of posts from {{ page.date | date: "%B %-d, %Y" }}
+
+
Blog Logo
+
{{ page.author }}
+
+
+
+
+
+
{% endif %}
+
+
+
+
+ {% for post in page.posts %}
+ -
+ {{ post.date | date: "%b %-d, %Y" }}
+ {{ post.title }}
+
+ {% endfor %}
+
+
+
+
+
+
+ {% include javascripts.html %}{% include footer.html %}
+
+
+
\ No newline at end of file
diff --git a/_layouts/archive-month.html b/_layouts/archive-month.html
new file mode 100644
index 00000000..7f08553c
--- /dev/null
+++ b/_layouts/archive-month.html
@@ -0,0 +1,67 @@
+
+
+{% include head.html %}
+
+
+ {% include header.html %}
+
+
+ {% if page.image %}
+
+
+ Article Image
+
+
+
Archive of posts from {{ page.date | date: "%B %Y" }}
+
+
Blog Logo
+
+
{{ site.author }}
+
+
+
+
+ {% else %}
+
+
+
Archive of posts from {{ page.date | date: "%B %Y" }}
+
+
Blog Logo
+
{{ page.author }}
+
+
+
+
+
+
{% endif %}
+
+
+
+
+ {% for post in page.posts %}
+ -
+ {{ post.date | date: "%b %-d, %Y" }}
+ {{ post.title }}
+
+ {% endfor %}
+
+
+
+
+
+
+ {% include javascripts.html %}{% include footer.html %}
+
+
+
\ No newline at end of file
diff --git a/_layouts/archive-tagcategory.html b/_layouts/archive-tagcategory.html
new file mode 100644
index 00000000..11aeaf56
--- /dev/null
+++ b/_layouts/archive-tagcategory.html
@@ -0,0 +1,67 @@
+
+
+{% include head.html %}
+
+
+ {% include header.html %}
+
+
+ {% if page.image %}
+
+
+ Article Image
+
+
+
Archive of posts with {{ page.type }} '{{ page.title }}'
+
+
Blog Logo
+
+
{{ site.author }}
+
+
+
+
+ {% else %}
+
+
+
Archive of posts with {{ page.type }} '{{ page.title }}'
+
+
Blog Logo
+
{{ page.author }}
+
+
+
+
+
+
{% endif %}
+
+
+
+
+ {% for post in page.posts %}
+ -
+ {{ post.date | date: "%b %-d, %Y" }}
+ {{ post.title }}
+
+ {% endfor %}
+
+
+
+
+
+
+ {% include javascripts.html %}{% include footer.html %}
+
+
+
\ No newline at end of file
diff --git a/_layouts/archive-year.html b/_layouts/archive-year.html
new file mode 100644
index 00000000..bf3dfdda
--- /dev/null
+++ b/_layouts/archive-year.html
@@ -0,0 +1,67 @@
+
+
+{% include head.html %}
+
+
+ {% include header.html %}
+
+
+ {% if page.image %}
+
+
+ Article Image
+
+
+
Archive of posts from {{ page.date | date: "%Y" }}
+
+
Blog Logo
+
+
{{ site.author }}
+
+
+
+
+ {% else %}
+
+
+
Archive of posts from {{ page.date | date: "%Y" }}
+
+
Blog Logo
+
{{ page.author }}
+
+
+
+
+
+
{% endif %}
+
+
+
+
+ {% for post in page.posts %}
+ -
+ {{ post.date | date: "%b %-d, %Y" }}
+ {{ post.title }}
+
+ {% endfor %}
+
+
+
+
+
+
+ {% include javascripts.html %}{% include footer.html %}
+
+
+
\ No newline at end of file