diff --git a/Gemfile b/Gemfile index 0e6f09e..f5918d0 100644 --- a/Gemfile +++ b/Gemfile @@ -9,13 +9,15 @@ source "https://rubygems.org" # Happy Jekylling! gem "jekyll", "~> 4.2.2" # This is the default theme for new Jekyll sites. You may change this to anything you like. -gem "minima", "~> 2.5" +gem "minima" # If you want to use GitHub Pages, remove the "gem "jekyll"" above and # uncomment the line below. To upgrade, run `bundle update github-pages`. # gem "github-pages", group: :jekyll_plugins # If you have any plugins, put them here! group :jekyll_plugins do gem "jekyll-feed", "~> 0.12" + gem "jekyll-sitemap" + gem "jekyll-seo-tag" end # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/Gemfile.lock b/Gemfile.lock index 923dccd..7f1ea4a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -35,6 +35,8 @@ GEM sassc (> 2.0.1, < 3.0) jekyll-seo-tag (2.8.0) jekyll (>= 3.8, < 5.0) + jekyll-sitemap (1.4.0) + jekyll (>= 3.7, < 5.0) jekyll-watch (2.2.1) listen (~> 3.0) kramdown (2.4.0) @@ -73,7 +75,9 @@ DEPENDENCIES http_parser.rb (~> 0.6.0) jekyll (~> 4.2.2) jekyll-feed (~> 0.12) - minima (~> 2.5) + jekyll-seo-tag + jekyll-sitemap + minima tzinfo (~> 1.2) tzinfo-data wdm (~> 0.1.1) diff --git a/_config.yml b/_config.yml index 7a2a0bd..cc924a1 100644 --- a/_config.yml +++ b/_config.yml @@ -24,11 +24,14 @@ description: >- # this means to ignore newlines until "baseurl:" baseurl: "/" # the subpath of your site, e.g. /blog url: "https://reyvababtista.github.io" # the base hostname & protocol for your site, e.g. http://example.com github_username: reyvababtista +google_analytics: G-YGXBT00Y16 # Build settings theme: minima plugins: - jekyll-feed + - jekyll-sitemap + - jekyll-seo-tag # Exclude from processing. # The following items will not be processed, by default. diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..9277a1b --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,35 @@ + diff --git a/_includes/google-analytics.html b/_includes/google-analytics.html new file mode 100644 index 0000000..e9afb20 --- /dev/null +++ b/_includes/google-analytics.html @@ -0,0 +1,12 @@ + + diff --git a/_includes/head.html b/_includes/head.html new file mode 100644 index 0000000..899e96e --- /dev/null +++ b/_includes/head.html @@ -0,0 +1,11 @@ +
+ + + + {%- seo -%} + + {%- feed_meta -%} + {%- if jekyll.environment == 'production' and site.google_analytics -%} + {%- include google-analytics.html -%} + {%- endif -%} + diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..658531d --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,30 @@ +