diff --git a/content/blog/2009-10-26-how-to-create-and-apply-a-patch-with-git.md b/content/blog/2009-10-26-how-to-create-and-apply-a-patch-with-git.md index db8ffb5..f178ce6 100644 --- a/content/blog/2009-10-26-how-to-create-and-apply-a-patch-with-git.md +++ b/content/blog/2009-10-26-how-to-create-and-apply-a-patch-with-git.md @@ -39,7 +39,7 @@ git log --pretty=oneline -3 In GitX it would look like this: -imdb_fix_empty_poster_01 +![gitx view](/img/imdb_fix_empty_poster_01.jpg) Okay, now it's time to go and make a patch! All we really want are the two latest commits, stuff them in a file and send them to someone to apply them. But, since we created a separate branch, we don't have to worry about commits at all! @@ -81,7 +81,7 @@ Okay, patches were applied cleanly and your master branch has been updated. Of c In you git log, you'll find that the commit messages contain a "Signed-off-by" tag. This tag will be read by Github and others to provide useful info about how the commit ended up in the code. -imdb_signed_off +![Signed off commit](/img/imdb_signed_off.jpg) That's all folks! diff --git a/static/img/imdb_fix_empty_poster_01.jpg b/static/img/imdb_fix_empty_poster_01.jpg new file mode 100644 index 0000000..5714c81 Binary files /dev/null and b/static/img/imdb_fix_empty_poster_01.jpg differ diff --git a/static/img/imdb_signed_off.jpg b/static/img/imdb_signed_off.jpg new file mode 100644 index 0000000..038289b Binary files /dev/null and b/static/img/imdb_signed_off.jpg differ diff --git a/themes/cocoa-eh/layouts/blog/single.html b/themes/cocoa-eh/layouts/blog/single.html index 638994d..530228c 100644 --- a/themes/cocoa-eh/layouts/blog/single.html +++ b/themes/cocoa-eh/layouts/blog/single.html @@ -19,7 +19,7 @@ @@ -39,7 +39,9 @@
{{ partial "content" . }} -
+ {{ if .Site.Params.book_recommendations }} + {{ partial "recommendations.html" . }} + {{ end }}
{{ if .Site.Params.share }}
@@ -48,10 +50,7 @@
- {{ end }} - {{ if .Site.Params.book_recommendations }} - {{ partial "recommendations.html" . }} - {{ end }} + {{ end }} {{ if .Site.Params.posts_navigation }} @@ -39,7 +39,9 @@
{{ partial "content" . }} -
+ {{ if .Site.Params.book_recommendations }} + {{ partial "recommendations.html" . }} + {{ end }}
{{ if .Site.Params.share }}
@@ -49,9 +51,6 @@
{{ end }} - {{ if .Site.Params.book_recommendations }} - {{ partial "recommendations.html" . }} - {{ end }} {{ if .Site.Params.posts_navigation }} +{{ else if in .Params.tags "vim" }} +
+

Learn more about Vim

+ +
+{{ else if in .Params.tags "tmux" }} +
+

Learn more about tmux!

+ +
+{{ else if or (in .Params.tags "electronics") (in .Params.tags "repair") }} +
+

Learn more about Electronics!

+ +
+{{ else if and (in .Params.tags "Linux") (in .Params.tags "debian") }} +
+

Learn more about Debian Linux!

+ +
+{{ else if and (in .Params.tags "linux") (in .Params.tags "ubuntu") }} +
+

Learn more about Ubuntu Linux!

+ +
+{{ else if in .Params.tags "linux" }} +
+

Learn more about Linux!

+ +
+{{ else if or (in .Params.tags "rails") (in .Params.tags "ruby") }} +
+

Learn more about Ruby on Rails!

+ +
+{{ else if in .Params.tags "bitcoin" }} +
+

Learn more about Bitcoin!

+ +
+{{ end }}