diff --git a/Dockerfile b/Dockerfile index 2f93372..6043c3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM docker-registry1.in.thelinuxpro.net:5000/tlp/tlp_jekyll:0.0.1 -LABEL version="0.0.2" +LABEL version="0.0.3" LABEL image.author.name="Kameron Kenny" LABEL image.author.email="kameron@localhost" LABEL description="A Jekyll site for kameronkenny.com." diff --git a/Gemfile b/Gemfile index 849f0b2..9f6773f 100644 --- a/Gemfile +++ b/Gemfile @@ -1,12 +1,14 @@ -# frozen_string_literal: true - source "https://rubygems.org" -#git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } -#gem "github-pages", group: :jekyll_plugins - gem "bundler" gem "jekyll", ">= 3.8.4" -gem "jekyll-theme-slate" gem "jekyll-paginate" gem "jekyll-sitemap" + + +# Windows does not include zoneinfo files, so bundle the tzinfo-data gem +gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby] + +# Performance-booster for watching directories on Windows +gem "wdm", "~> 0.1.0" if Gem.win_platform? + diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..087b3ea --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,70 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.5.2) + public_suffix (>= 2.0.2, < 4.0) + colorator (1.1.0) + concurrent-ruby (1.0.5) + em-websocket (0.5.1) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0.6.0) + eventmachine (1.2.7) + ffi (1.9.25) + forwardable-extended (2.6.0) + http_parser.rb (0.6.0) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + jekyll (3.8.4) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 0.7) + jekyll-sass-converter (~> 1.0) + jekyll-watch (~> 2.0) + kramdown (~> 1.14) + liquid (~> 4.0) + mercenary (~> 0.3.3) + pathutil (~> 0.9) + rouge (>= 1.7, < 4) + safe_yaml (~> 1.0) + jekyll-paginate (1.1.0) + jekyll-sass-converter (1.5.2) + sass (~> 3.4) + jekyll-sitemap (1.1.1) + jekyll (~> 3.3) + jekyll-watch (2.1.2) + listen (~> 3.0) + kramdown (1.17.0) + liquid (4.0.1) + listen (3.1.5) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) + mercenary (0.3.6) + pathutil (0.16.1) + forwardable-extended (~> 2.6) + public_suffix (3.0.3) + rb-fsevent (0.10.3) + rb-inotify (0.9.10) + ffi (>= 0.5.0, < 2) + rouge (3.3.0) + ruby_dep (1.5.0) + safe_yaml (1.0.4) + sass (3.6.0) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + +PLATFORMS + ruby + +DEPENDENCIES + bundler + jekyll (>= 3.8.4) + jekyll-paginate + jekyll-sitemap + tzinfo-data + +BUNDLED WITH + 1.16.4 \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index 41f0e54..28b50d5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ pipeline { stage("Build Containers and push to registry") { steps { script { - sh 'docker build -t docker-registry1.in.thelinuxpro.net:5000/sites/kameronkenny.com:0.0.2 . --push' + sh 'docker build -t docker-registry1.in.thelinuxpro.net:5000/sites/kameronkenny.com:0.0.3 . --push' } } } @@ -25,7 +25,7 @@ pipeline { stage("Tag image as latest") { steps { script { - sh 'docker tag docker-registry1.in.thelinuxpro.net:5000/sites/kameronkenny.com:0.0.2 docker-registry1.in.thelinuxpro.net:5000/sites/kameronkenny.com:latest' + sh 'docker tag docker-registry1.in.thelinuxpro.net:5000/sites/kameronkenny.com:0.0.3 docker-registry1.in.thelinuxpro.net:5000/sites/kameronkenny.com:latest' } } } diff --git a/README.md b/README.md index 1111d62..700e94f 100644 --- a/README.md +++ b/README.md @@ -1 +1,171 @@ -#kameronkenny_com +Galada - Easy & Simple Theme for Personal Blog +====== +Galada is an easy and simple theme for Jekyll. Dark colors, give it a special exquisite look. A careful approach to design and features make it an ideal solution for a personal blog. + +* * * + +Table of Contents +----------------- +* [Features](#features) +* [Demo](#demo) +* [Deployment](#deployment) +* [Posts](#posts) +* [Disqus Comments](#DisqusComments) +* [Instagram](#instagram) +* [Google Analytics](#GoogleAnalytics) +* [Update favicon](#UpdateFavicon) +* [Credits](#Credits) +* [Support](#Support) + +* * * + +### Features + +* 100% responsive and clean theme + +* Optimized for mobile devices + +* Minimal design + +* Valid HTML5 code + +* Post sharing + +* Subscription form + +* Supports Disqus Comments + +* Instagram Feed + +* Ionicons Icons + +* Google Fonts + + +* * * + +### Demo + +Check the theme in action [Demo](https://artemsheludko.github.io/galada/) + + + +The post page would look like this: + + + +* * * + +### Deployment + +To run the theme locally, navigate to the theme directory and run `bundle install` to install the dependencies, then run `jekyll serve` or `bundle exec jekyll serve` to start the Jekyll server. + +I would recommend checking the [Deployment Methods](https://jekyllrb.com/docs/deployment-methods/) page on Jekyll website. + +* * * + +### Posts + +To create a new post, you can create a new markdown file inside the \_posts directory by following the [recommended file structure](https://jekyllrb.com/docs/posts/#creating-post-files). + + --- + layout: post + title: Premiere on Broadway + date: 2018-08-23 16:04:00 +0300 + image: 03.jpg + tags: [Rest] + --- + + +You can set the tags and the post image. + +Add post images to **/img/** directory. + +For tags, try to not add space between two words, for example, `Ruby on Rails`, could be something like (`ruby-on-rails`, `Ruby_on_Rails`, or `Ruby-on-Rails`). + +* * * + +### Disqus Comments + +Galada Theme comes with Disqus comments enabled. + +Open `_config.yml` file, and change the `mr-brown` value on line 26 with your [Disqus account shortname](https://help.disqus.com/customer/portal/articles/466208). + + Comment Section (Disqus) + disqus-identifier: mr-brown \# Add your shortname for Disqus Comment. For example mr-brown + + +That’s all you need to setup Disqus from the theme side. If you get any issue regarding that comments are unable to load. First, make sure you have [registered your website with Disqus (Step 1)](https://help.disqus.com/customer/portal/articles/466182-publisher-quick-start-guide). + +And also check [Disqus troubleshooting guide](https://help.disqus.com/customer/portal/articles/472007-i-m-receiving-the-message-%22we-were-unable-to-load-disqus-%22) if you still have issues. + +* * * + +### Instagram + +The Instagram feed is working using [Instafeed.js](http://instafeedjs.com/) to show the photos. + +First, you will need to get your account `userId` and `accessToken` from the following URLs: + +* userId: [smashballoon.com/instagram-feed/find-instagram-user-id](https://smashballoon.com/instagram-feed/find-instagram-user-id/) +* accessToken: [instagram.pixelunion.net](http://instagram.pixelunion.net/) + +Second, open the `js/common.js` file and replace the `userId` and `accessToken` values. + + var instagramFeed = new Instafeed({ + get: 'user', + limit: 6, + resolution: 'standard_resolution', + userId: '8987997106', + accessToken: '8987997106.924f677.8555ecbd52584f41b9b22ec1a16dafb9', + template: '' + }); + + +Third, open the `_config.yml` file and replace the `instafeed: false` on `instafeed: true` value. + + \# Instagram Feed + instafeed: false \# To enable the instafeed, use the value true. To turn off use the value false. + + +* * * + +### Google Analytics + +To integrate Google Analytics, open `_config.yml`, and add your Google Analytics identifier. + + \# Google Analytics + google-analytics: \# Add your identifier. For example UA-99631805-1 + + +* * * + +### Update favicon + +You can find the current favicon (favicon.ico) inside the theme root directory, just replace it with your new favicon. + +* * * + +### Credits + +I have used the following scripts, fonts or other files as listed. + +* [Google Fonts](https://fonts.google.com/specimen/Nunito) (Nunito, Sans Serif). +* [Ionicons Icons](https://ionicons.com/) +* [FitVids.js](http://fitvidsjs.com/) +* [Instafeed.js](http://instafeedjs.com/) +* [jQuery.com](https://jquery.com/) +* [Wait For Images](https://github.com/alexanderdickson/waitForImages) +* Preview Images form [unsplash.com](https://unsplash.com/), [pexels.com](https://www.pexels.com/) + +* * * +### License + +Mit License + +* * * + +### Support + +
If you like the themes that I create you can become my sponsor on Patreon. +
Thank you for your support ❤️
diff --git a/_config.yml b/_config.yml index 7792dd4..b1ca9b3 100644 --- a/_config.yml +++ b/_config.yml @@ -1,30 +1,79 @@ -# Welcome to Jekyll! -# -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely need to edit after that. -# For technical reasons, this file is *NOT* reloaded automatically when you use -# 'jekyll serve'. If you change this file, please restart the server process. +#------------------------------- +# General Site Settings -# Site settings -title: kameronkenny.com -email: "thiswillnotwork@thelinux.pro" -description: kameronkenny.com +title: Kam's Blog +description: Images and articulation of cycling, food, tech, and other things I care about at the moment. baseurl: "" # the subpath of your site, e.g. /blog -url: "https://kameronkenny.com" # the base hostname & protocol for your site - -author-name: Kameron Kenny -twitter_username: kameronkenny -github_username: kkenny -linkedin_username: kameronkenny - -currently_reading_title: "The Captain Class" -currently_reading_author: "Sam Walker" -currently_reading_image: "https://books.google.com/books/content?id=pKD4DAAAQBAJ&printsec=frontcover&img=1&zoom=1&imgtk=AFLRE73Q5Qh8WByqrMkpgV4NydjjFJOBiu2ZBHQxeck_eir_ntGJgu1v6QsL5GDDfxoSGb4kxC1AD2Mul1vhITZ-VZc79SX7IW_OSF0ZRAizgTZhoD-gynzlFE24Dig7PJUbHERALEUI" +url: "https://kameronkenny.com" # the base hostname & protocol for your site, e.g. http://example.com +#------------------------------- +# About Section +author-name: Kameron Kenny +author-avatar: 09.jpg + + +#------------------------------- +# Contact links +#facebook: https://facebook.com/ # Add your Facebook handle +#twitter: https://twitter.com/ # Add your Facebook handle +#instagram: https://www.instagram.com/ # Add your Facebook handle +#pinterest: https://www.pinterest.com/ # Add your Facebook handle +# +strava: + latest-rides: + url: https://www.strava.com/athletes/30509534/latest-rides/df309ed4d8ee2aef0cabb44d018f31d494f71462 + enabled: true + activity-summary: + url: https://www.strava.com/athletes/30509534/activity-summary/df309ed4d8ee2aef0cabb44d018f31d494f71462 + enabled: false + +#------------------------------- +# Comment Section (Disqus) +#disqus-identifier: mr-brown # Add your shortname for Disqus Comment. For example mr-brown + + +#------------------------------- +# Instagram Feed +instafeed: false # To enable the instafeed, use the value true. To turn off use the value false. + + +#------------------------------- +# Google Analytics +google-analytics: # Add your identifier. For example UA-99631805-1. + + +#------------------------------- +# Newsletter +#mailchimp: # Add your MailChimp form identifier. For example - blogenjoyfreedom.us16.list-manage.com/subscribe/post?u=cd56155d76ddeeb4c0bc4d080&id=7a526cd13e + + +#------------------------------- # Build settings markdown: kramdown permalink: ':title/' plugins: - jekyll-paginate - jekyll-sitemap + +paginate: 7 +paginate_path: "/page/:num" + +include: + - _pages + +sass: + sass_dir: _sass + style: compressed + + +#------------------------------- +# Exclude from processing. +# exclude: +# - Gemfile +# - Gemfile.lock +# - node_modules +# - vendor/bundle/ +# - vendor/cache/ +# - vendor/gems/ +# - vendor/ruby/ diff --git a/_includes/footer.html b/_includes/footer.html index 78b68b3..97a2db4 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -4,13 +4,14 @@