Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from Medium (https://medium.com/@etagwerker) to Jekyll 4 0 #1

Merged
merged 32 commits into from
Dec 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
d1f03a0
Remove fastruby.io/blog articles
etagwerker Nov 30, 2019
c390cef
Add posts from Medium
etagwerker Nov 30, 2019
5a719b2
Renamed files to work properly with Jekyll
etagwerker Nov 30, 2019
3519ab4
Remove fastruby specific code
etagwerker Nov 30, 2019
36cbd32
Remove unnecessary stuff
etagwerker Nov 30, 2019
b639616
Use `minima` as the theme
etagwerker Nov 30, 2019
c7b05dd
Correct expectations and sitemap generator
etagwerker Nov 30, 2019
802f41e
Correct details
etagwerker Nov 30, 2019
706b52c
Add `minima` as a dependency
etagwerker Nov 30, 2019
62a2902
Add hyde stylesheets
etagwerker Nov 30, 2019
b718788
Add <!--more--> to show excerpts in index page
etagwerker Dec 1, 2019
7e8360f
Make content CC content
etagwerker Dec 1, 2019
883fad6
Simplify layouts
etagwerker Dec 1, 2019
9379b02
Update dependencies
etagwerker Dec 1, 2019
bb44658
Update configuration to be Jekyll 4.0 compatible
etagwerker Dec 1, 2019
0d80484
Make it more fault-tolerant
etagwerker Dec 1, 2019
933baf9
Make sidebar and head @etagwerker specific
etagwerker Dec 1, 2019
492fff7
Update ignore files
etagwerker Dec 1, 2019
4965098
Simplify index
etagwerker Dec 1, 2019
861fd99
New 404 page
etagwerker Dec 1, 2019
9abaf36
etagwerker.com specific CSS
etagwerker Dec 1, 2019
5b7b34b
Initial stab at talks page
etagwerker Dec 1, 2019
fb4a788
Add defaults for articles
etagwerker Dec 1, 2019
ccd7372
More semantically accurate HTML elements
etagwerker Dec 1, 2019
e58d589
Have post extend default layout
etagwerker Dec 1, 2019
fdb6fd0
Refactor post_date out of post_excerpt
etagwerker Dec 2, 2019
f58b2d5
Slight improvements for mobile UI
etagwerker Dec 2, 2019
03d373d
Refactoring stuff for date displays and UX
etagwerker Dec 2, 2019
636b613
Add some of my last talks
etagwerker Dec 2, 2019
e4b06a6
Only display the last 3 posts
etagwerker Dec 2, 2019
73e5104
Add section for posts to make it easier to style a list of posts
etagwerker Dec 2, 2019
4d605fd
Add pages to talk about "now" and podcasts
etagwerker Dec 2, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.byebug_history
.ruby-version
.sass-cache
.bundle
.DS_Store
_site
.env
.sass-cache
.jekyll-cache
.jekyll-metadata
vendor

public
25 changes: 25 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
permalink: /404.html
layout: default
---

<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>

<div class="container">
<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
35 changes: 34 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
source 'https://rubygems.org'
source "https://rubygems.org"

gemspec

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.0.0"
# This is the default theme for new Jekyll sites. You may change this to anything you like.

# 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-categories"
gem "jekyll-authors"
gem "jekyll-titleize"
gem "jekyll-paginate"
gem "jekyll-feed"
end

group :development do
gem 'foreman'
gem 'rack-contrib'
Expand All @@ -12,6 +35,16 @@ group :development do
gem 'html-proofer'
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
gem "tzinfo", "~> 1.2"
gem "tzinfo-data"
end

group :test do
gem 'rspec'
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
99 changes: 59 additions & 40 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@ PATH
specs:
blog (1.0.0)
dotenv
jekyll (~> 3.7.4)
jekyll-authors
jekyll-categories
jekyll-feed
jekyll-paginate
jekyll-titleize
jekyll (~> 4.0.0)
minima
pygments.rb
rake (~> 12.3)
redcarpet
Expand All @@ -33,11 +29,10 @@ GEM
ethon (0.12.0)
ffi (>= 1.3.0)
eventmachine (1.2.7)
ffi (1.11.1)
foreman (0.85.0)
thor (~> 0.19.1)
ffi (1.11.3)
foreman (0.86.0)
forwardable-extended (2.6.0)
html-proofer (3.12.2)
html-proofer (3.14.1)
addressable (~> 2.3)
mercenary (~> 0.3)
nokogiri (~> 1.10)
Expand All @@ -46,46 +41,56 @@ GEM
typhoeus (~> 1.3)
yell (~> 2.0)
http_parser.rb (0.6.0)
i18n (0.9.5)
i18n (1.7.0)
concurrent-ruby (~> 1.0)
jekyll (3.7.4)
jekyll (4.0.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 0.7)
jekyll-sass-converter (~> 1.0)
i18n (>= 0.9.5, < 2)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 1.14)
kramdown (~> 2.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 1.8)
jekyll-authors (0.0.3)
jekyll (>= 0.10.0)
jekyll-categories (0.0.2)
jekyll (>= 0.10.0)
jekyll-feed (0.12.1)
jekyll-feed (0.13.0)
jekyll (>= 3.7, < 5.0)
jekyll-paginate (1.1.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-sass-converter (2.0.1)
sassc (> 2.0.1, < 3.0)
jekyll-seo-tag (2.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-titleize (0.1.0)
titleize (~> 1.3)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (1.17.0)
kramdown (2.1.0)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.2.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
method_source (0.9.2)
mini_portile2 (2.4.0)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
multi_json (1.14.1)
nokogiri (1.10.4)
nokogiri (1.10.5)
mini_portile2 (~> 2.4.0)
parallel (1.17.0)
parallel (1.19.1)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
pry (0.12.2)
Expand All @@ -108,32 +113,37 @@ GEM
rb-inotify (0.10.0)
ffi (~> 1.0)
redcarpet (3.5.0)
rouge (3.12.0)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
rspec-mocks (~> 3.8.0)
rspec-core (3.8.2)
rspec-support (~> 3.8.0)
rspec-expectations (3.8.4)
rouge (3.13.0)
rspec (3.9.0)
rspec-core (~> 3.9.0)
rspec-expectations (~> 3.9.0)
rspec-mocks (~> 3.9.0)
rspec-core (3.9.0)
rspec-support (~> 3.9.0)
rspec-expectations (3.9.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-mocks (3.8.1)
rspec-support (~> 3.9.0)
rspec-mocks (3.9.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.2)
rspec-support (~> 3.9.0)
rspec-support (3.9.0)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sassc (2.2.1)
ffi (~> 1.9)
sitemap_generator (6.0.2)
builder (~> 3.0)
thor (0.19.4)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
titleize (1.4.1)
typhoeus (1.3.1)
ethon (>= 0.9.0)
tzinfo (1.2.5)
thread_safe (~> 0.1)
tzinfo-data (1.2019.3)
tzinfo (>= 1.0.0)
unicode-display_width (1.6.0)
wdm (0.1.1)
yell (2.2.0)

PLATFORMS
Expand All @@ -144,11 +154,20 @@ DEPENDENCIES
byebug
foreman
html-proofer
jekyll (~> 4.0.0)
jekyll-authors
jekyll-categories
jekyll-feed
jekyll-paginate
jekyll-titleize
pry
pry-byebug
pry-nav
rack-contrib
rspec
tzinfo (~> 1.2)
tzinfo-data
wdm (~> 0.1.1)

BUNDLED WITH
1.17.3
72 changes: 15 additions & 57 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,81 +1,39 @@
name: Fast Ruby Blog
description: Ruby on Rails Upgrades
meta_description: "It's about time you upgrade your Rails version"

markdown: redcarpet
name: Pivot or Persevere
description: "@etagwerker blogs"
meta_description: "Random rants about random stuff"
destination: ./public
highlighter: pygments
logo: true
paginate: 15
baseurl: /blog
domain_name: 'https://fastruby.io'
paginate: 3
domain_name: 'https://etagwerker'
permalink: none
category_dir: 'tags'
excerpt_separator: "<!--more-->"
author_title_prefix: "Articles by "
timezone: America/New_York

# Details for the RSS feed generator
url: 'https://fastruby.io'
author: 'OmbuLabs'
url: 'https://etagwerker.com'
author: '@etagwerker'
feed:
path: rss.xml
defaults:
-
scope:
path: "" # an empty string here means all files in the project
values:
layout: "post"

exclude: [vendor]
plugins:
- jekyll-paginate
- jekyll-feed
plugins: ['jekyll-titleize', 'jekyll-paginate', 'jekyll-feed']

sass:
style: compressed

defaults:
-
scope:
path: ""
type: posts
values:
is_post: true

authors:
etagwerker:
display_name: Ernesto Tagwerker
gravatar: 9299203e7e9b9ae35e39eb66f3155f15
email: ernesto@ombulabs.com
twitter: etagwerker
github: etagwerker
mauro-oto:
display_name: Mauro Otonelli
gravatar: 350875eb8fce8553e12040c5a1f5d5d0
email: mauro@ombulabs.com
twitter: mauro_oto
github: mauro-oto
luciano:
display_name: Luciano Becerra
gravatar: 9219f1f8634fafcbed16e72a0bb5a414
email: luciano@ombulabs.com
twitter: lubc32
github: lubc
emily:
display_name: Emily Cohen
gravatar: 1abbc4d93954d2df607cc3ec7fa9f418
email: emily@ombulabs.com
twitter:
github: ercohen14
cleiviane:
display_name: Cleiviane Costa
gravatar: db42db5ca02074d39438c612433f2209
email: cleiviane@ombulabs.com
twitter:
github: cleivianecosta
bronzdoc:
display_name: "Luis Sagastume"
gravatar: a223b4e7d8ec959c9aa6668cddcfa605
email: luis@ombulabs.com
twitter: bronzdoc
github: bronzdoc
abizzinotto:
display_name: "Amanda Bizzinotto"
gravatar: 31e0846e316c552502506d6cc998fbd1
email: amanda@ombulabs.com
twitter: AmandaBizzinot2
github: ABizzinotto
30 changes: 30 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">

<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">

<title>
{% if page.title == "Home" %}
{{ site.title }} &middot; {{ site.tagline }}
{% else %}
{{ page.title }} &middot; {{ site.title }}
{% endif %}
</title>

<!-- CSS -->
<link rel="stylesheet" href="/assets/css/poole.css">
<link rel="stylesheet" href="/assets/css/syntax.css">
<link rel="stylesheet" href="/assets/css/hyde.css">
<link rel="stylesheet" href="/assets/css/etagwerker.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">

<!-- Icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.ico">

<!-- RSS -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
</head>
Loading