Skip to content

Commit

Permalink
Initial commit for one-page 'modular' site skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Aug 21, 2014
1 parent bff8e3f commit 31419ac
Show file tree
Hide file tree
Showing 18 changed files with 235 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
git:
error:
url: https://github.com/getgrav/grav-plugin-error
path: user/plugins/error
branch: develop
problems:
url: https://github.com/getgrav/grav-plugin-problems
path: user/plugins/problems
branch: develop
antimatter:
url: https://github.com/getgrav/grav-theme-antimatter
path: user/themes/antimatter
branch: develop
links:
error:
src: grav-plugin-error
path: user/plugins/error
scm: github
problems:
src: grav-plugin-problems
path: user/plugins/problems
scm: github
antimatter:
src: grav-theme-antimatter
path: user/themes/antimatter
scm: github
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Sass
.sass-cache

# Grav Specific
data/*
!data/.*
plugins/*
!plugins/.*
themes/*
!themes/.*

# OS Generated
.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
*.swp

# phpstorm
.idea/*
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2014 Grav

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.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.8.1
Empty file added accounts/.gitkeep
Empty file.
6 changes: 6 additions & 0 deletions config/site.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
title: Grav
author:
name: Joe Bloggs
email: 'joe@test.com'
description: 'Grav is an easy to use, yet powerful, open source flat-file CMS'

40 changes: 40 additions & 0 deletions config/system.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
home:
alias: '/home'

pages:
theme: antimatter
markdown_extra: true
process:
markdown: true
twig: false
events:
page: false
twig: true

cache:
enabled: true
check:
pages: true
driver: auto
prefix: 'g'

twig:
cache: true
debug: true
auto_reload: true
autoescape: false

assets:
css_pipeline: false
css_minify: true
css_rewrite: true
js_pipeline: false
js_minify: true

debugger:
enabled: true
strict: false
max_depth: 10
log:
enabled: false
timing: false
Empty file added data/.gitkeep
Empty file.
24 changes: 24 additions & 0 deletions hebe.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"project":"grav-skeleton-onepage-site",
"platforms":{
"grav":{
"nodes":{
"skeleton":[
{
"source":"/",
"destination":"/user"
}
],
"error plugin":[{
"project":"grav-plugin-error"
}],
"problems plugin":[{
"project":"grav-plugin-problems"
}],
"antimatter theme":[{
"project":"grav-theme-antimatter"
}]
}
}
}
}
9 changes: 9 additions & 0 deletions pages/01.home/_callout/text.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Homepage Callout
menu: Easy Content
image_align: right
---

## Content Unchained

No longer are you a _slave to your CMS_. Grav **empowers** you to create anything from a [simple one-page site](#), a [beautiful blog](#), a powerful and feature-rich [product site](#), or pretty much anything you can dream up!
Binary file added pages/01.home/_callout/twig.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions pages/01.home/_features/features.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: Homepage Features
menu: Features
class: small
features:
- header: Markdown Syntax
icon: text-height
- header: Twig Templating
icon: code
- header: Smart Caching
icon: rocket
- header: Flexible Taxonomies
icon: tags
- header: Simple Install
icon: cloud-download
- header: Powerful Plugins
icon: cogs
- header: Intuitive UI
icon: dashboard
- header: File-Based
icon: file-text
- header: Documentation
icon: bookmark
- header: On Github
icon: github
- header: Responsive Design
icon: html5
- header: Awesomazing
icon: heart
---

## Stuffed full of Amazing Features
### This is a non-inclusive smattering of them
23 changes: 23 additions & 0 deletions pages/01.home/_highlights/features.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Homepage Highlights
menu: Highlights
class: big
features:
- header: Crazy Fast
text: "Performance is not just an after thought, we baked it in from the start!"
icon: fighter-jet
- header: Easy to build
text: "Simple text files means Grav is trivial to install, and easy to maintain."
icon: database
- header: Awesome Technology
text: "Grav employees best-in-class technologies such as Twig, Markdown & Yaml"
icon: cubes
- header: Super Flexible
text: "From the ground up, with many plugin hooks, Grav is extremely extensible"
icon: puzzle-piece
---

## Built on top of Greatness
### Four core tenants keep Grav focused

We believe the best recipe to make something great, is to bake with of [quality ingredients](#) and add dollops of [cool stuff](#).
Binary file added pages/01.home/_showcase/showcase.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions pages/01.home/_showcase/showcase.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Homepage Showcase
menu: Top
buttons:
- text: Read the Documentation
url: http://learn.getgrav.org
primary: true
---

# Welcome to Grav
## Crazy **Fast**, Ridiculously **Easy**, Amazingly **Powerful**...



18 changes: 18 additions & 0 deletions pages/01.home/modular.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: One Page Demo Site
menu: Home
body_classes: "modular header-image fullwidth"

content:
items: @self.modular
order:
by: default
dir: asc
custom:
- _showcase
- _highlights
- _callout
- _features
---


Empty file added plugins/.gitkeep
Empty file.
Empty file added themes/.gitkeep
Empty file.

0 comments on commit 31419ac

Please sign in to comment.