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

Complete update for the newest Strata theme, with Jekyll enhancement. #13

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 18 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
layout: default
title: "Page not found"
sitemap: false
---
<div id="main">
<h1>Page not found</h1>

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

<ul>
<li>A mistyped URL, or a copy-and-paste mistakex</li>
<li>A broken link on a web pages or in an email</li>
<li>Moved or deleted content</li>
</ul>

<p>I suggest you head to my <a href="/">Home</a> page from here.</p>
</div>
10 changes: 10 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -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.1.0'
gem 'jekyll-paginate', '1.1.0'
gem 'jekyll-sitemap', '1.0.0'
end
57 changes: 57 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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
File renamed without changes.
58 changes: 58 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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).
34 changes: 0 additions & 34 deletions README.txt

This file was deleted.

99 changes: 93 additions & 6 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,112 @@
# Site settings
locale: "en-US"
title: Strata by HTML5 UP # Title of your site
url: "http://yourdomain.com" # the base hostname & protocol for your site
baseurl: "" # the subpath of your site, e.g. /blog/

title: Strata # Title of your site
email: [email protected] # Your contant email

# Default description default and enhanced SEO using optional 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

# Default contact information
email: [email protected] # Your main contact email
mailing_address: | # this means to preserve newlines
1234 Somewhere Rd.
Nashville, TN 000000
United States
phone_number: 555-555-5555

# If you use Google Analytics, add your account's API key here.
google_analytics_key: ""

# If using the the optional jekyll-seo-tag gem, set its author detail
author:
name: Your Name
email: [email protected]
twitter: # twitter username without the @ symbol

# If using the optional jekyll-seo-tag gem, enter Social details
social:
name: Strata Reloaded Template
links:
- https://github.com/comfusion/strata-reloaded-jekyll-template

permalink: pretty

# Choose which optional gems to install. Activate by uncommenting.
# Note that GitHub Pages deployments may not support all gems.
# For more info regarding which plugins are allowed on GitHub Pages:
#
# https://help.github.com/articles/adding-jekyll-plugins-to-a-github-pages-site/
gems:
- "jekyll-feed"
- "jekyll-seo-tag"
- "jekyll-paginate"
- "jekyll-sitemap"

# Jekyll SEO Tag
webmaster_verifications:
google: # 1234
bing: # 1234
alexa: # 1234
yandex: # 1234

# -----------
# CloudCannon

social_icons:
- Facebook
- Google Plus
- Instagram
- LinkedIn
- Pinterest
- Tumblr
- Twitter
- YouTube
- RSS

_comments:
description: Text shown when sharing on social media

# A path to a static front page. Leave blank to display your most
# recent post instead of a static home page.
front_page: "front_page.md"

# The path to your avatar or to your site's logo.
avatar_url: "/images/avatar.jpg"

# Custom copyright notice. Please retain the copyright statement for
# original authors, listed below.
copyright_notices:
- '&copy; Untitled' # Place your copyright statement here.
- 'Design: <a href="http://html5up.net">HTML5 UP</a>'
- 'Theme: <a href="https://comfusionllc.com/">Comfusion LLC</a>'

# 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

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

# Default layouts.
# See:https://jekyllrb.com/docs/configuration/#front-matter-defaults
defaults:
-
scope:
path: "" # an empty string here means all files in the project
values:
layout: default
-
scope:
type: "posts"
values:
layout: post

# Build settings
markdown: kramdown
8 changes: 8 additions & 0 deletions _data/social.yml
Original file line number Diff line number Diff line change
@@ -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
42 changes: 42 additions & 0 deletions _includes/get-in-touch.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<h2>{{ include.title | default: "Get In Touch" }}</h2>
<p>Accumsan pellentesque commodo blandit enim arcu non at amet id arcu magna. Accumsan orci faucibus id eu lorem semper nunc nisi lorem vulputate lorem neque lorem ipsum dolor.</p>
<div class="row">

<div class="8u 12u$(small)">
<form method="post" action="#">
<div class="row uniform 50%">
<div class="6u 12u$(xsmall)"><input type="text" name="name" id="name" placeholder="Name" /></div>
<div class="6u$ 12u$(xsmall)"><input type="email" name="email" id="email" placeholder="Email" /></div>
<div class="12u$"><textarea name="message" id="message" placeholder="Message" rows="4"></textarea></div>
</div>
</form>
<ul class="actions">
<li><input type="submit" value="Send Message" /></li>
</ul>
</div>

{% if site.mailing_address or site.phone_number or site.email %}
<div class="4u$ 12u$(small)">
<ul class="labeled-icons">
{% if site.mailing_address %}
<li>
<h3 class="icon fa-home"><span class="label">Address</span></h3>
<address>{{ site.mailing_address }}</address>
</li>
{% endif %}
{% if site.phone_number %}
<li>
<h3 class="icon fa-mobile"><span class="label">Phone</span></h3>
{{ site.phone_number }}
</li>
{% endif %}
{% if site.email %}
<li>
<h3 class="icon fa-envelope-o"><span class="label">Email</span></h3>
<a href="mailto:{{ site.email }}">{{ site.email }}</a>
</li>
{% endif %}
</ul>
</div>
{% endif %}
</div>
1 change: 1 addition & 0 deletions _includes/relative-src.html
Original file line number Diff line number Diff line change
@@ -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 }}
Loading