From 81b82289d064bb7750701ac6cca416e3143f5288 Mon Sep 17 00:00:00 2001 From: Josh Habdas Date: Thu, 12 Jan 2017 13:23:40 +0800 Subject: [PATCH 1/7] Reload by Comfusion --- 404.html | 18 + Gemfile | 10 + Gemfile.lock | 57 + LICENSE.txt => LICENSE | 0 README.md | 58 + README.txt | 34 - _config.yml | 57 +- _data/social.yml | 8 + _includes/relative-src.html | 1 + _layouts/default.html | 153 +- _layouts/post.html | 90 +- _posts/_defaults.md | 5 + css/font-awesome.min.css | 4 +- css/{ie/v8.css => ie8.css} | 18 +- css/main.css | 3166 ++++++++++++++++++++++ css/skel.css | 247 -- css/style-large.css | 44 - css/style-medium.css | 80 - css/style-small.css | 77 - css/style-xlarge.css | 11 - css/style-xsmall.css | 59 - css/style.css | 1264 --------- fonts/FontAwesome.otf | Bin 85908 -> 93888 bytes fonts/fontawesome-webfont.eot | Bin 56006 -> 60767 bytes fonts/fontawesome-webfont.svg | 61 +- fonts/fontawesome-webfont.ttf | Bin 112160 -> 0 bytes fonts/fontawesome-webfont.ttf.crdownload | 0 fonts/fontawesome-webfont.woff | Bin 65452 -> 71508 bytes fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes images/_screenshot.png | Bin 0 -> 1559614 bytes images/avatar.jpg | Bin 3843 -> 78873 bytes images/favicon.png | Bin 0 -> 1299 bytes index.html | 67 +- {css => js}/ie/PIE.htc | 0 {css => js}/ie/backgroundsize.min.htc | 14 +- {css => js}/ie/html5shiv.js | 0 js/ie/respond.min.js | 6 + js/init.js | 125 - js/jquery.min.js | 9 +- js/jquery.poptrox.min.js | 4 +- js/main.js | 114 + js/skel.min.js | 4 +- js/util.js | 587 ++++ robots.txt | 8 + sass/_mixins.scss | 41 - sass/_vars.scss | 41 - sass/ie/v8.scss | 85 - sass/style-large.scss | 52 - sass/style-medium.scss | 93 - sass/style-small.scss | 94 - sass/style-xlarge.scss | 14 - sass/style-xsmall.scss | 76 - sass/style.scss | 1143 -------- siteicon.png | Bin 0 -> 148592 bytes touch-icon.png | Bin 0 -> 23906 bytes 55 files changed, 4297 insertions(+), 3802 deletions(-) create mode 100644 404.html create mode 100644 Gemfile create mode 100644 Gemfile.lock rename LICENSE.txt => LICENSE (100%) create mode 100644 README.md delete mode 100644 README.txt create mode 100644 _data/social.yml create mode 100644 _includes/relative-src.html create mode 100644 _posts/_defaults.md rename css/{ie/v8.css => ie8.css} (71%) create mode 100644 css/main.css delete mode 100644 css/skel.css delete mode 100644 css/style-large.css delete mode 100644 css/style-medium.css delete mode 100644 css/style-small.css delete mode 100644 css/style-xlarge.css delete mode 100644 css/style-xsmall.css delete mode 100644 css/style.css delete mode 100644 fonts/fontawesome-webfont.ttf create mode 100644 fonts/fontawesome-webfont.ttf.crdownload create mode 100644 fonts/fontawesome-webfont.woff2 create mode 100644 images/_screenshot.png create mode 100644 images/favicon.png rename {css => js}/ie/PIE.htc (100%) rename {css => js}/ie/backgroundsize.min.htc (99%) rename {css => js}/ie/html5shiv.js (100%) create mode 100644 js/ie/respond.min.js delete mode 100644 js/init.js create mode 100644 js/main.js create mode 100644 js/util.js create mode 100644 robots.txt delete mode 100644 sass/_mixins.scss delete mode 100644 sass/_vars.scss delete mode 100644 sass/ie/v8.scss delete mode 100644 sass/style-large.scss delete mode 100644 sass/style-medium.scss delete mode 100644 sass/style-small.scss delete mode 100644 sass/style-xlarge.scss delete mode 100644 sass/style-xsmall.scss delete mode 100644 sass/style.scss create mode 100644 siteicon.png create mode 100644 touch-icon.png diff --git a/404.html b/404.html new file mode 100644 index 00000000..fbf5d8eb --- /dev/null +++ b/404.html @@ -0,0 +1,18 @@ +--- +layout: default +title: "Page not found" +sitemap: false +--- +
+

Page not found

+ +

Uh-oh, you seem to have taken a wrong turn! It looks like this was the result of either:

+ + + +

I suggest you head to my Home page from here.

+
diff --git a/Gemfile b/Gemfile new file mode 100644 index 00000000..07db22a6 --- /dev/null +++ b/Gemfile @@ -0,0 +1,10 @@ +source 'https://rubygems.org' + +gem 'jekyll', '3.3.1' + +group :jekyll_plugins do + gem 'jekyll-feed', '0.6.0' + gem 'jekyll-seo-tag', '2.0.0' + gem 'jekyll-paginate', '1.1.0' + gem 'jekyll-sitemap', '1.0.0' +end diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 00000000..95047d40 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,57 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.5.0) + public_suffix (~> 2.0, >= 2.0.2) + colorator (1.1.0) + ffi (1.9.14) + forwardable-extended (2.6.0) + jekyll (3.3.1) + addressable (~> 2.4) + colorator (~> 1.0) + jekyll-sass-converter (~> 1.0) + jekyll-watch (~> 1.1) + kramdown (~> 1.3) + liquid (~> 3.0) + mercenary (~> 0.3.3) + pathutil (~> 0.9) + rouge (~> 1.7) + safe_yaml (~> 1.0) + jekyll-feed (0.6.0) + jekyll-paginate (1.1.0) + jekyll-sass-converter (1.5.0) + sass (~> 3.4) + jekyll-seo-tag (2.0.0) + jekyll (~> 3.1) + jekyll-sitemap (1.0.0) + jekyll (~> 3.3) + jekyll-watch (1.5.0) + listen (~> 3.0, < 3.1) + kramdown (1.13.2) + liquid (3.0.6) + listen (3.0.8) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + mercenary (0.3.6) + pathutil (0.14.0) + forwardable-extended (~> 2.6) + public_suffix (2.0.5) + rb-fsevent (0.9.8) + rb-inotify (0.9.7) + ffi (>= 0.5.0) + rouge (1.11.1) + safe_yaml (1.0.4) + sass (3.4.23) + +PLATFORMS + ruby + +DEPENDENCIES + jekyll (= 3.3.1) + jekyll-feed (= 0.6.0) + jekyll-paginate (= 1.1.0) + jekyll-seo-tag (= 2.0.0) + jekyll-sitemap (= 1.0.0) + +BUNDLED WITH + 1.12.5 diff --git a/LICENSE.txt b/LICENSE similarity index 100% rename from LICENSE.txt rename to LICENSE diff --git a/README.md b/README.md new file mode 100644 index 00000000..0573098e --- /dev/null +++ b/README.md @@ -0,0 +1,58 @@ +# Strata Reloaded + +Simple, clean personal blogging template for Jekyll based on Strata by HTML5 UP. + +![Strata Reloaded template screenshot](images/_screenshot.png) + +## Features + +* Parallax background effect +* Lightbox gallery +* Pre-styled components +* Blog with pagination +* Configurable footer +* Optimized for editing in [CloudCannon](http://cloudcannon.com/) +* RSS/Atom feed +* SEO tags +* Google Analytics +* Webmaster Verification + +## Develop + +1. Add your site and author details in `_config.yml`. +2. Add your Google Analytics key to `_config.yml`. +3. Get a workflow going to see your site's output (with [CloudCannon](https://app.cloudcannon.com/) or Jekyll locally). + +## Develop + +Urban was built with [Jekyll](http://jekyllrb.com/) version 3.3.1, but should support newer versions as well. + +Install the dependencies with [Bundler](http://bundler.io/): + +~~~bash +$ bundle install +~~~ + +Run `jekyll` commands through Bundler to ensure you're using the right versions: + +~~~bash +$ bundle exec jekyll serve +~~~ + +## Editing + +Strata Reloaded is already optimized for adding, updating and removing posts and footer elements in [CloudCannon](https://app.cloudcannon.com/). + +### Posts + +* Add, update or remove a post in the *Posts* collection. +* Change the defaults when new posts are created in `_posts/_defaults.md`. + +### Footer + +* Exposed as a data file to give clients better access. +* Set in the *Data* / *Footer* section. + +## License + +Free for personal and commercial use under the CCA 3.0 license. See LICENSE file for additional information and terms of use. This theme was adapted from Strata by HTML5 UP for use with [CloudCannon](http://cloudcannon.com) by [Comfusion LLC](http://comfusionllc.com). diff --git a/README.txt b/README.txt deleted file mode 100644 index a82aa5ce..00000000 --- a/README.txt +++ /dev/null @@ -1,34 +0,0 @@ -Strata by HTML5 UP -html5up.net | @n33co -Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) - - -A simple, minimalist template that actually began life as an unused redesign of n33.co -(my personal site). Includes a (configurable) parallax background effect, Poptrox-powered -lightbox gallery, a bunch of pre-styled elements, and Sass sources for the Sass-inclined. - -Demo images* courtesy of Unsplash, a radtastic collection of CC0 (public domain) images -you can use for pretty much whatever. - -(* = Not included) - -Feedback, bug reports, and comments are not only welcome, but strongly encouraged :) - -AJ -n33.co @n33co dribbble.com/n33 - - -Credits: - - Demo Images: - Unsplash (unsplash.com) - - Icons: - Font Awesome (fortawesome.github.com/Font-Awesome) - - Other: - jQuery (jquery.com) - html5shiv.js (@afarkas @jdalton @jon_neal @rem) - CSS3 Pie (css3pie.com) - background-size polyfill (github.com/louisremi) - skel (getskel.com) \ No newline at end of file diff --git a/_config.yml b/_config.yml index 6c835930..42047d69 100644 --- a/_config.yml +++ b/_config.yml @@ -1,25 +1,50 @@ -# Site settings - +locale: "en-US" title: Strata # Title of your site -email: your-email@domain.com # Your contant email +url: "http://yourdomain.com" # the base hostname & protocol for your site +baseurl: "" # the subpath of your site, e.g. /blog/ +google_analytics_key: +# Default description in social shares for the jekyll-seo-tag gem description: > # this means to ignore newlines until "baseurl:" Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description. -baseurl: "" # the subpath of your site, e.g. /blog/ -url: "http://yourdomain.com" # the base hostname & protocol for your site -# Social links. -# Replace the word 'example' with your username if you want to include the icon in the left sidebar -# Delete the word 'example' if you don't want to include the icon in the left sidebar +# Author details for the jekyll-seo-tag gem +author: + name: Your Name + email: your-email@domain.com + twitter: # twitter username without the @ symbol + +# Social details for the jekyll-seo-tag gem +social: + name: Strata Reloaded Template + links: + - https://github.com/comfusion/strata-reloaded-jekyll-template + +permalink: pretty + +gems: + - "jekyll-feed" + - "jekyll-seo-tag" + - "jekyll-paginate" + - "jekyll-sitemap" + +# Jekyll SEO Tag +google_site_verification: +bing_site_verification: # requires https://github.com/jekyll/jekyll-seo-tag/pull/148/ +yandex_site_verification: # requires https://github.com/jekyll/jekyll-seo-tag/pull/148/ -twitter_username: example # Replace this with your Twitter username -github_username: example # Replace this with your GitHub username -linkedin_username: example # Replace this with your LinkedIn username -google_plus_username: example # Replace this with your Google+ username -facebook_username: example # Replace this with your Facebook username -dribbble_username: example # Replace this with your Dribbble username +# ----------- +# CloudCannon -# Build settings -markdown: kramdown +social_icons: + - Facebook + - Google Plus + - Instagram + - LinkedIn + - Pinterest + - Tumblr + - Twitter + - YouTube + - RSS diff --git a/_data/social.yml b/_data/social.yml new file mode 100644 index 00000000..813d7c68 --- /dev/null +++ b/_data/social.yml @@ -0,0 +1,8 @@ +- name: Facebook + link: 'https://www.facebook.com/comfusionllc' + social_icon: Facebook + new_window: true +- name: RSS + link: '/feed.xml' + social_icon: RSS + new_window: true diff --git a/_includes/relative-src.html b/_includes/relative-src.html new file mode 100644 index 00000000..45354481 --- /dev/null +++ b/_includes/relative-src.html @@ -0,0 +1 @@ +{% assign prefix = include.src | slice: 0, 2 %}{% assign protocol = include.src | slice: 0, 4 %}{% unless protocol == 'http' or prefix == "//" %}{{ site.baseurl }}{% endunless %}{{ include.src }} \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index e0f4215d..c580f063 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,102 +1,81 @@ - - Strata by HTML5 UP - - - - - - - - - - - + + {{ site.title }} + + + + + + - - - + + + + + + + - {{ content }} + {% seo %} + {% feed_meta %} - -