Skip to content

Commit 9617e66

Browse files
authored
Initial commit
0 parents  commit 9617e66

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+2479
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
_site/
2+
.sass-cache/
3+
.jekyll-metadata/
4+
.jekyll-cache/

404.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Not Found
3+
description: This does not exist
4+
permalink: /404.html
5+
sitemap: false
6+
---

Gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'jekyll', '~> 4.2.0'
4+
5+
group :jekyll_plugins do
6+
gem 'jekyll-archives', '~> 2.2.1'
7+
gem 'jekyll-feed', '~> 0.15.1'
8+
gem 'jekyll-paginate', '~> 1.1.0'
9+
gem 'jekyll-seo-tag', '~> 2.7.1'
10+
gem 'jekyll-sitemap', '~> 1.4.0'
11+
end

Gemfile.lock

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.7.0)
5+
public_suffix (>= 2.0.2, < 5.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.1.9)
8+
em-websocket (0.5.2)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0.6.0)
11+
eventmachine (1.2.7)
12+
ffi (1.15.1)
13+
forwardable-extended (2.6.0)
14+
http_parser.rb (0.6.0)
15+
i18n (1.8.10)
16+
concurrent-ruby (~> 1.0)
17+
jekyll (4.2.0)
18+
addressable (~> 2.4)
19+
colorator (~> 1.0)
20+
em-websocket (~> 0.5)
21+
i18n (~> 1.0)
22+
jekyll-sass-converter (~> 2.0)
23+
jekyll-watch (~> 2.0)
24+
kramdown (~> 2.3)
25+
kramdown-parser-gfm (~> 1.0)
26+
liquid (~> 4.0)
27+
mercenary (~> 0.4.0)
28+
pathutil (~> 0.9)
29+
rouge (~> 3.0)
30+
safe_yaml (~> 1.0)
31+
terminal-table (~> 2.0)
32+
jekyll-archives (2.2.1)
33+
jekyll (>= 3.6, < 5.0)
34+
jekyll-feed (0.15.1)
35+
jekyll (>= 3.7, < 5.0)
36+
jekyll-paginate (1.1.0)
37+
jekyll-sass-converter (2.1.0)
38+
sassc (> 2.0.1, < 3.0)
39+
jekyll-seo-tag (2.7.1)
40+
jekyll (>= 3.8, < 5.0)
41+
jekyll-sitemap (1.4.0)
42+
jekyll (>= 3.7, < 5.0)
43+
jekyll-watch (2.2.1)
44+
listen (~> 3.0)
45+
kramdown (2.3.1)
46+
rexml
47+
kramdown-parser-gfm (1.1.0)
48+
kramdown (~> 2.0)
49+
liquid (4.0.3)
50+
listen (3.5.1)
51+
rb-fsevent (~> 0.10, >= 0.10.3)
52+
rb-inotify (~> 0.9, >= 0.9.10)
53+
mercenary (0.4.0)
54+
pathutil (0.16.2)
55+
forwardable-extended (~> 2.6)
56+
public_suffix (4.0.6)
57+
rb-fsevent (0.11.0)
58+
rb-inotify (0.10.1)
59+
ffi (~> 1.0)
60+
rexml (3.2.5)
61+
rouge (3.26.0)
62+
safe_yaml (1.0.5)
63+
sassc (2.4.0)
64+
ffi (~> 1.9)
65+
terminal-table (2.0.0)
66+
unicode-display_width (~> 1.1, >= 1.1.1)
67+
unicode-display_width (1.7.0)
68+
69+
PLATFORMS
70+
ruby
71+
72+
DEPENDENCIES
73+
jekyll (~> 4.2.0)
74+
jekyll-archives (~> 2.2.1)
75+
jekyll-feed (~> 0.15.1)
76+
jekyll-paginate (~> 1.1.0)
77+
jekyll-seo-tag (~> 2.7.1)
78+
jekyll-sitemap (~> 1.4.0)
79+
80+
BUNDLED WITH
81+
1.17.3

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2016-2020 CloudCannon
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Hydra [ LEGACY TEMPLATE NO LONGER MAINTAINED ]
2+
3+
Marketing site template for Jekyll. Browse through a [live demo](https://proud-alligator.cloudvent.net/).
4+
Increase the web presence of your brand with this configurable theme.
5+
6+
![Hydra template screenshot](images/_screenshot.png)
7+
8+
Hydra was made by [CloudCannon](http://cloudcannon.com/), the Cloud CMS for Jekyll.
9+
10+
Find more templates, themes and step-by-step Jekyll tutorials at [CloudCannon Academy](https://learn.cloudcannon.com/).
11+
12+
[![Deploy to CloudCannon](https://buttons.cloudcannon.com/deploy.svg)](https://app.cloudcannon.com/register#sites/connect/github/CloudCannon/hydra-jekyll-template)
13+
14+
## Features
15+
16+
* Contact form
17+
* Pre-built pages
18+
* Pre-styled components
19+
* Blog with pagination
20+
* Post category pages
21+
* Disqus comments for posts
22+
* Staff and author system
23+
* Configurable footer
24+
* Optimised for editing in [CloudCannon](http://cloudcannon.com/)
25+
* RSS/Atom feed
26+
* SEO tags
27+
* Google Analytics
28+
29+
## Setup
30+
31+
1. Add your site and author details in `_config.yml`.
32+
2. Add your Google Analytics and Disqus keys to `_config.yml`.
33+
3. Get a workflow going to see your site's output (with [CloudCannon](https://app.cloudcannon.com/) or Jekyll locally).
34+
35+
## Develop
36+
37+
Hydra was built with [Jekyll](http://jekyllrb.com/) version 3.3.1, but should support newer versions as well.
38+
39+
Install the dependencies with [Bundler](http://bundler.io/):
40+
41+
~~~bash
42+
$ bundle install
43+
~~~
44+
45+
Run `jekyll` commands through Bundler to ensure you're using the right versions:
46+
47+
~~~bash
48+
$ bundle exec jekyll serve
49+
~~~
50+
51+
## Editing
52+
53+
Hydra is already optimised for adding, updating and removing pages, staff, advice, company details and footer elements in CloudCannon.
54+
55+
### Posts
56+
57+
* Add, update or remove a post in the *Posts* collection.
58+
* The **Staff Author** field links to members in the **Staff** collection.
59+
* Documentation pages are organised in the navigation by category, with URLs based on the path inside the `_docs` folder.
60+
* Change the defaults when new posts are created in `_posts/_defaults.md`.
61+
62+
### Contact Form
63+
64+
* Preconfigured to work with CloudCannon, but easily changed to another provider (e.g. [FormSpree](https://formspree.io/)).
65+
* Sends email to the address listed in company details.
66+
67+
### Staff
68+
69+
* Reused around the site to save multiple editing locations.
70+
* Add `excluded_in_search: true` to any documentation page's front matter to exclude that page in the search results.
71+
72+
### Navigation
73+
74+
* Exposed as a data file to give clients better access.
75+
* Set in the *Data* / *Navigation* section.
76+
77+
### Footer
78+
79+
* Exposed as a data file to give clients better access.
80+
* Set in the *Data* / *Footer* section.

_config.yml

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# ----
2+
# Site
3+
4+
title: Hydra Template
5+
url: "https://proud-alligator.cloudvent.net"
6+
baseurl:
7+
google_analytics_key:
8+
google_maps_javascript_api_key:
9+
disqus_shortname:
10+
11+
# Values for the jekyll-seo-tag gem (https://github.com/jekyll/jekyll-seo-tag)
12+
logo: /siteicon.png
13+
description: Product marketing template for Jekyll.
14+
author:
15+
name:
16+
email:
17+
twitter: # twitter username without the @ symbol
18+
social:
19+
name: Hydra Template
20+
links:
21+
- https://github.com/CloudCannon/hydra-jekyll-template
22+
23+
# -----
24+
# Build
25+
26+
timezone: Etc/UTC
27+
28+
collections:
29+
staff_members:
30+
_hide_content: true
31+
32+
paginate: 10
33+
paginate_path: "/blog/:num/"
34+
permalink: pretty
35+
36+
defaults:
37+
- scope:
38+
path: ""
39+
type: "posts"
40+
values:
41+
layout: "post"
42+
_options:
43+
content:
44+
width: 1500
45+
height: 2500
46+
- scope:
47+
path: ""
48+
type: "staff_members"
49+
values:
50+
_options:
51+
image_path:
52+
width: 600
53+
height: 600
54+
- scope:
55+
path: ""
56+
values:
57+
layout: "page"
58+
- scope:
59+
path: "index.html"
60+
values:
61+
layout: "default"
62+
- scope:
63+
path: "contact.html"
64+
values:
65+
full_width: true
66+
67+
jekyll-archives:
68+
enabled:
69+
- categories
70+
71+
plugins:
72+
- jekyll-archives
73+
- jekyll-sitemap
74+
- jekyll-seo-tag
75+
- jekyll-feed
76+
- jekyll-paginate
77+
78+
exclude:
79+
- Gemfile
80+
- Gemfile.lock
81+
- README.md
82+
- LICENCE
83+
84+
# -----------
85+
# CloudCannon
86+
87+
_select_data:
88+
social_icons:
89+
- Facebook
90+
- Instagram
91+
- LinkedIn
92+
- Pinterest
93+
- Tumblr
94+
- Twitter
95+
- YouTube
96+
- RSS
97+
98+
_comments:
99+
map: Update the map location and display settings.
100+
latitude: Coordinates for the center marker on the map.
101+
longitude: Coordinates for the center marker on the map.
102+
zoom: The zoom level for the map.
103+
pricing_table: Update the information in the pricing tables.
104+
highlight: Emphasis the text
105+
color: The background colour used in the plan name and call to action.
106+
new_window: Open link in new window

_data/footer.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
- links:
2+
- name: Pricing
3+
link: /pricing/
4+
- name: Blog
5+
link: /blog/
6+
- name: About
7+
link: /about/
8+
- name: Contact
9+
link: /contact/
10+
- links:
11+
- name: Login
12+
link: /
13+
new_window: true
14+
- name: Sign Up
15+
link: /
16+
new_window: true
17+
- name: Docs
18+
link: /
19+
new_window: true
20+
- name: Status
21+
link: /
22+
new_window: true
23+
- links:
24+
- name: Facebook
25+
link: https://facebook.com/cloudcannon/
26+
new_window: true
27+
social_icon: Facebook
28+
- name: Twitter
29+
link: https://twitter.com/cloudcannon/
30+
social_icon: Twitter
31+
new_window: true
32+
- name: YouTube
33+
link: https://youtube.com/cloudcannon/
34+
social_icon: YouTube
35+
new_window: true
36+
- name: RSS
37+
link: /feed.xml
38+
social_icon: RSS
39+
new_window: false

_data/navigation.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
- name: Pricing
2+
link: /pricing/
3+
new_window: false
4+
highlight: false
5+
- name: Blog
6+
link: /blog/
7+
new_window: false
8+
highlight: false
9+
- name: About
10+
link: /about/
11+
new_window: false
12+
highlight: false
13+
- name: Contact
14+
link: /contact/
15+
new_window: false
16+
highlight: false
17+
- name: Login
18+
link: /
19+
new_window: true
20+
highlight: false
21+
- name: Sign Up
22+
link: /
23+
new_window: true
24+
highlight: true

_includes/list-posts.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{% for post in include.posts %}
2+
<li class="blog-post">
3+
<h3><a href="{% include relative-src.html src=post.url %}">{{ post.title }}</a></h3>
4+
{% include post-title.html post=post %}
5+
<div class="post-content">
6+
{{ post.excerpt }}
7+
<div class="button"><a href="{% include relative-src.html src=post.url %}">Read More</a></div>
8+
</div>
9+
</li>
10+
{% endfor %}

0 commit comments

Comments
 (0)