-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit fc63bcf
Showing
60 changed files
with
2,476 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
_site/ | ||
.sass-cache/ | ||
.jekyll-metadata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Not Found | ||
description: This does not exist | ||
permalink: /404.html | ||
sitemap: false | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'jekyll', '3.7.2' | ||
|
||
group :jekyll_plugins do | ||
gem 'jekyll-archives', '2.1.1' | ||
gem 'jekyll-feed', '0.9.3' | ||
gem 'jekyll-paginate', '1.1.0' | ||
gem 'jekyll-seo-tag', '2.4.0' | ||
gem 'jekyll-sitemap', '1.2.0' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
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.5) | ||
ffi (1.9.18) | ||
forwardable-extended (2.6.0) | ||
http_parser.rb (0.6.0) | ||
i18n (0.9.3) | ||
concurrent-ruby (~> 1.0) | ||
jekyll (3.7.2) | ||
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-archives (2.1.1) | ||
jekyll (>= 2.4) | ||
jekyll-feed (0.9.3) | ||
jekyll (~> 3.3) | ||
jekyll-paginate (1.1.0) | ||
jekyll-sass-converter (1.5.2) | ||
sass (~> 3.4) | ||
jekyll-seo-tag (2.4.0) | ||
jekyll (~> 3.3) | ||
jekyll-sitemap (1.2.0) | ||
jekyll (~> 3.3) | ||
jekyll-watch (2.0.0) | ||
listen (~> 3.0) | ||
kramdown (1.16.2) | ||
liquid (4.0.0) | ||
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.1) | ||
rb-fsevent (0.10.2) | ||
rb-inotify (0.9.10) | ||
ffi (>= 0.5.0, < 2) | ||
rouge (3.1.1) | ||
ruby_dep (1.5.0) | ||
safe_yaml (1.0.4) | ||
sass (3.5.5) | ||
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 | ||
jekyll (= 3.7.2) | ||
jekyll-archives (= 2.1.1) | ||
jekyll-feed (= 0.9.3) | ||
jekyll-paginate (= 1.1.0) | ||
jekyll-seo-tag (= 2.4.0) | ||
jekyll-sitemap (= 1.2.0) | ||
|
||
BUNDLED WITH | ||
1.16.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2016 CloudCannon | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# Hydra | ||
|
||
Marketing site template for Jekyll. Browse through a [live demo](https://proud-alligator.cloudvent.net/). | ||
Increase the web presence of your brand with this configurable theme. | ||
|
||
 | ||
|
||
Hydra was made by [CloudCannon](http://cloudcannon.com/), the Cloud CMS for Jekyll. | ||
|
||
Find more templates, themes and step-by-step Jekyll tutorials at [CloudCannon Academy](https://learn.cloudcannon.com/). | ||
|
||
## Features | ||
|
||
* Contact form | ||
* Pre-built pages | ||
* Pre-styled components | ||
* Blog with pagination | ||
* Post category pages | ||
* Disqus comments for posts | ||
* Staff and author system | ||
* Configurable footer | ||
* Optimised for editing in [CloudCannon](http://cloudcannon.com/) | ||
* RSS/Atom feed | ||
* SEO tags | ||
* Google Analytics | ||
|
||
## Setup | ||
|
||
1. Add your site and author details in `_config.yml`. | ||
2. Add your Google Analytics and Disqus keys to `_config.yml`. | ||
3. Get a workflow going to see your site's output (with [CloudCannon](https://app.cloudcannon.com/) or Jekyll locally). | ||
|
||
## Develop | ||
|
||
Hydra 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 | ||
|
||
Hydra is already optimised for adding, updating and removing pages, staff, advice, company details and footer elements in CloudCannon. | ||
|
||
### Posts | ||
|
||
* Add, update or remove a post in the *Posts* collection. | ||
* The **Staff Author** field links to members in the **Staff** collection. | ||
* Documentation pages are organised in the navigation by category, with URLs based on the path inside the `_docs` folder. | ||
* Change the defaults when new posts are created in `_posts/_defaults.md`. | ||
|
||
### Contact Form | ||
|
||
* Preconfigured to work with CloudCannon, but easily changed to another provider (e.g. [FormSpree](https://formspree.io/)). | ||
* Sends email to the address listed in company details. | ||
|
||
### Staff | ||
|
||
* Reused around the site to save multiple editing locations. | ||
* Add `excluded_in_search: true` to any documentation page's front matter to exclude that page in the search results. | ||
|
||
### Navigation | ||
|
||
* Exposed as a data file to give clients better access. | ||
* Set in the *Data* / *Navigation* section. | ||
|
||
### Footer | ||
|
||
* Exposed as a data file to give clients better access. | ||
* Set in the *Data* / *Footer* section. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
# ---- | ||
# Site | ||
|
||
title: Hydra Template | ||
url: "https://proud-alligator.cloudvent.net" | ||
baseurl: | ||
google_analytics_key: | ||
google_maps_javascript_api_key: | ||
disqus_shortname: | ||
|
||
# Values for the jekyll-seo-tag gem (https://github.com/jekyll/jekyll-seo-tag) | ||
logo: /siteicon.png | ||
description: Product marketing template for Jekyll. | ||
author: | ||
name: | ||
email: | ||
twitter: # twitter username without the @ symbol | ||
social: | ||
name: Hydra Template | ||
links: | ||
- https://github.com/CloudCannon/hydra-jekyll-template | ||
|
||
# ----- | ||
# Build | ||
|
||
timezone: Etc/UTC | ||
|
||
collections: | ||
staff_members: | ||
_hide_content: true | ||
|
||
paginate: 10 | ||
paginate_path: "/blog/:num/" | ||
permalink: pretty | ||
|
||
defaults: | ||
- | ||
scope: | ||
path: "" | ||
type: "posts" | ||
values: | ||
layout: "post" | ||
_options: | ||
content: | ||
width: 1500 | ||
height: 2500 | ||
- | ||
scope: | ||
path: "" | ||
type: "staff_members" | ||
values: | ||
_options: | ||
image_path: | ||
width: 600 | ||
height: 600 | ||
- | ||
scope: | ||
path: "" | ||
values: | ||
layout: "page" | ||
- | ||
scope: | ||
path: "index.html" | ||
values: | ||
layout: "default" | ||
- | ||
scope: | ||
path: "contact.html" | ||
values: | ||
full_width: true | ||
|
||
jekyll-archives: | ||
enabled: | ||
- categories | ||
|
||
plugins: | ||
- jekyll-archives | ||
- jekyll-sitemap | ||
- jekyll-seo-tag | ||
- jekyll-feed | ||
- jekyll-paginate | ||
|
||
exclude: | ||
- Gemfile | ||
- Gemfile.lock | ||
- README.md | ||
- LICENCE | ||
|
||
# ----------- | ||
# CloudCannon | ||
|
||
social_icons: | ||
- Google Plus | ||
- Tumblr | ||
- YouTube | ||
- RSS | ||
|
||
_comments: | ||
map: Update the map location and display settings. | ||
latitude: Coordinates for the center marker on the map. | ||
longitude: Coordinates for the center marker on the map. | ||
zoom: The zoom level for the map. | ||
pricing_table: Update the information in the pricing tables. | ||
highlight: Emphasis the text | ||
color: The background colour used in the plan name and call to action. | ||
new_window: Open link in new window |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
- links: | ||
- name: Pricing | ||
link: /pricing/ | ||
- name: Blog | ||
link: /blog/ | ||
- name: About | ||
link: /about/ | ||
- name: Contact | ||
link: /contact/ | ||
- links: | ||
- name: Login | ||
link: / | ||
new_window: true | ||
- name: Sign Up | ||
link: / | ||
new_window: true | ||
- name: Docs | ||
link: / | ||
new_window: true | ||
- name: Status | ||
link: / | ||
new_window: true | ||
- links: | ||
- name: Facebook | ||
link: https://facebook.com | ||
new_window: true | ||
social_icon: Facebook | ||
- name: Twitter | ||
link: https://twitter.com | ||
social_icon: Twitter | ||
new_window: true | ||
- name: YouTube | ||
link: https://youtube.com | ||
social_icon: YouTube | ||
new_window: true | ||
- name: RSS | ||
link: /feed.xml | ||
social_icon: RSS | ||
new_window: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
- name: Pricing | ||
link: /pricing/ | ||
new_window: false | ||
highlight: false | ||
- name: Blog | ||
link: /blog/ | ||
new_window: false | ||
highlight: false | ||
- name: About | ||
link: /about/ | ||
new_window: false | ||
highlight: false | ||
- name: Contact | ||
link: /contact/ | ||
new_window: false | ||
highlight: false | ||
- name: Login | ||
link: / | ||
new_window: true | ||
highlight: false | ||
- name: Sign Up | ||
link: / | ||
new_window: true | ||
highlight: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{% for post in include.posts %} | ||
<li class="blog-post"> | ||
<h3><a href="{% include relative-src.html src=post.url %}">{{ post.title }}</a></h3> | ||
{% include post-title.html post=post %} | ||
<div class="post-content"> | ||
{{ post.excerpt }} | ||
<div class="button"><a href="{% include relative-src.html src=post.url %}">Read More</a></div> | ||
</div> | ||
</li> | ||
{% endfor %} |
Oops, something went wrong.