-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# v0.1.0 ## 05/12/2019 * Initial Release
- Loading branch information
Showing
81 changed files
with
1,556 additions
and
2 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,7 @@ | ||
# v0.1.0 | ||
## 05/12/2019 | ||
|
||
1. [](#new) | ||
* Initial Release | ||
2. [](#improved) | ||
3. [](#bugfix) |
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
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,38 @@ | ||
# MDL Portfolio Theme | ||
|
||
The **Mdl Portfolio** Theme is for [Grav CMS](http://github.com/getgrav/grav). | ||
|
||
## Description | ||
|
||
Theme based on [MDL Template Portfolio](https://getmdl.io/templates/index.html) | ||
It looks close to Googles MDL Portfolio Template and has some elements from my own needs of a useful Theme. | ||
|
||
## Feature | ||
- Default Article Images changeable in Grav Admin | ||
- per Page Article Image through Frontmatter | ||
- Logo, Head Image, etc. changeable in Grav Admin | ||
- Selectable MDL Color Theme | ||
- Blog Page with 8 Portfolio Itemtypes, slectable over Frontmatter (easyly extendable) | ||
- Portfolio Page - Blog'a'like Collection | ||
- Blueprints for easy admin-based edits | ||
- Shortcodes for Article Layout (need grav-shotcodes-core) | ||
- Pagonation Plugin support | ||
- Language support EN, DE (Admin EN only) | ||
- Imports JS and CSS from CDN, Version 1.3.0 | ||
|
||
## Shortcodes | ||
- [mdl-headline]Text[/mdl-headline] | ||
- [mdl-text (width=8)]Text[/mdl-text] | ||
- [mdl-image (width=4) (alt=Image)]picture.jpg[/mdl-image] | ||
|
||
|
||
## ToDo | ||
- Support for | ||
- grav-admin-media-actions | ||
- grav-plugin-editor-buttons | ||
|
||
## License | ||
- Licensed under [MIT] | ||
- The Images provided with the Theme, are Images from the Material Design Light Template - Portfolio and licensed under [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) | ||
- The MDL Code and MDL Font is also licensed under [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) | ||
- Font Awesome licensed under [SIL OFL 1.1](http://scripts.sil.org/OFL) |
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,198 @@ | ||
name: MDL Portfolio | ||
version: 0.2.0 | ||
description: Theme based on MDL Portfolio Template | ||
icon: rebel | ||
author: | ||
name: Benny Stark | ||
email: [email protected] | ||
homepage: https://www.benjamin-stark.de | ||
demo: | ||
keywords: grav, theme, MDL, portfolio, blog, google, material desgin lite, | ||
bugs: https://github.com/diggen85/grav-theme-mdl-portfolio/ | ||
readme: https://github.com/diggen85/grav-theme-mdl-portfolio/blob/develop/README.md | ||
license: MIT (Theme provided Images - Copyright Google, 2015. Licensed under Apache-2 license) | ||
|
||
dependencies: | ||
- { name: shortcode-core} | ||
- { name: grav, version: '>=1.6.0' } | ||
|
||
|
||
form: | ||
validation: loose | ||
fields: | ||
user_images: | ||
type: file | ||
label: Theme User Images | ||
destination: 'theme@:/images' | ||
style: vertical | ||
random_name: false | ||
avoid_overwriting: true | ||
multiple: true | ||
accept: | ||
- .png | ||
- .jpg | ||
mdl_theme_css: | ||
type: text | ||
label: 'MDL Theme CSS - <a href="https://getmdl.io/customize/index.html" target="_blank">getMDL Custom CSS theme builder</a>' | ||
style: vertical | ||
default: material.grey-pink.min.css | ||
head: | ||
type: fieldset | ||
title: 'Head / Navigation Options' | ||
info: 'Info text' | ||
collapsible: true | ||
collapsed: true | ||
fields: | ||
head.logo: | ||
type: filepicker | ||
folder: 'theme@:/images' | ||
label: Page Logo | ||
preview_images: true | ||
accept: | ||
- .png | ||
- .jpg | ||
head.bg_image: | ||
type: filepicker | ||
folder: 'theme@:/images' | ||
label: Background Image | ||
preview_images: true | ||
accept: | ||
- .png | ||
- .jpg | ||
head.bg_color: | ||
type: colorpicker | ||
label: Background Color | ||
default: 'rgba(197, 197, 197, 0.44)' | ||
head.text_color: | ||
type: colorpicker | ||
label: Text Color | ||
default: 'rgb(66, 66, 66)' | ||
head.nav_bg_color: | ||
type: colorpicker | ||
label: Navigation Background Color | ||
default: 'rgb(0,0,0,0.08)' | ||
head.nav_text_color: | ||
type: colorpicker | ||
label: Navigation Text Color | ||
default: 'rgb(66, 66, 66)' | ||
default: | ||
type: fieldset | ||
title: 'Default Page Options' | ||
info: 'Info text' | ||
collapsible: true | ||
collapsed: true | ||
fields: | ||
default.image: | ||
type: filepicker | ||
folder: 'theme@:/images' | ||
label: Default Page Card Default Image | ||
preview_images: true | ||
- .png | ||
- .jpg | ||
portfolio: | ||
type: fieldset | ||
title: 'Portfolio Options' | ||
info: 'Info text' | ||
collapsible: true | ||
collapsed: true | ||
fields: | ||
portfolio.image: | ||
type: filepicker | ||
folder: 'theme@:/images' | ||
label: Portfolio Card Default Image | ||
preview_images: true | ||
- .png | ||
- .jpg | ||
blog: | ||
type: fieldset | ||
title: 'Blog Options' | ||
info: 'Info text' | ||
collapsible: true | ||
collapsed: true | ||
fields: | ||
blog.image01: | ||
type: filepicker | ||
folder: 'theme@:/images' | ||
label: Blog (Type 01) Card Default Image | ||
preview_images: true | ||
- .png | ||
- .jpg | ||
blog.image02: | ||
type: filepicker | ||
folder: 'theme@:/images' | ||
label: Blog (Type 02) Card Default Image | ||
preview_images: true | ||
- .png | ||
- .jpg | ||
blog.image03: | ||
type: filepicker | ||
folder: 'theme@:/images' | ||
label: Blog (Type 03) Card Default Image | ||
preview_images: true | ||
- .png | ||
- .jpg | ||
blog.image04: | ||
type: filepicker | ||
folder: 'theme@:/images' | ||
label: Blog (Type 04) Card Default Image | ||
preview_images: true | ||
- .png | ||
- .jpg | ||
blog.image05: | ||
type: filepicker | ||
folder: 'theme@:/images' | ||
label: Blog (Type 05) Card Default Image | ||
preview_images: true | ||
- .png | ||
- .jpg | ||
blog.image06: | ||
type: filepicker | ||
folder: 'theme@:/images' | ||
label: Blog (Type 06) Card Default Image | ||
preview_images: true | ||
- .png | ||
- .jpg | ||
blog.image07: | ||
type: filepicker | ||
folder: 'theme@:/images' | ||
label: Blog (Type 07) Card Default Image | ||
preview_images: true | ||
- .png | ||
- .jpg | ||
foot: | ||
type: fieldset | ||
title: 'Footer Options' | ||
info: 'Info text' | ||
collapsible: true | ||
collapsed: true | ||
fields: | ||
foot.text: | ||
type: text | ||
classes: fancy | ||
label: Text | ||
show_all: true | ||
foot.page1: | ||
type: pages | ||
label: Page 1 | ||
show_all: true | ||
show_modular: false | ||
show_root: false | ||
foot.page2: | ||
type: pages | ||
classes: fancy | ||
label: Page 2 | ||
show_all: true | ||
foot.bg_image: | ||
type: filepicker | ||
folder: 'theme@:/images' | ||
label: Background Image | ||
preview_images: true | ||
- .png | ||
- .jpg | ||
foot.text_color: | ||
type: colorpicker | ||
label: Text Color | ||
default: #D8D8D8 | ||
|
||
|
||
|
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,76 @@ | ||
title: blog | ||
'@extends': 'default' | ||
|
||
child_type: item | ||
|
||
form: | ||
fields: | ||
tabs: | ||
type: tabs | ||
active: 1 | ||
|
||
fields: | ||
options: | ||
fields: | ||
header.card: | ||
unset@: true | ||
advanced: | ||
fields: | ||
overrides: | ||
fields: | ||
header.child_type: | ||
default: item | ||
content: | ||
type: tab | ||
title: Blog | ||
|
||
fields: | ||
content: | ||
unset@: true | ||
|
||
header.media_order: | ||
unset@: true | ||
|
||
header.content.items: | ||
type: text | ||
label: Items | ||
style: vertical | ||
default: '@self.children' | ||
|
||
header.content.limit: | ||
type: text | ||
label: Max Displayed Items per Page | ||
style: vertical | ||
default: 6 | ||
|
||
header.content.order.by: | ||
type: select | ||
label: Order By | ||
style: vertical | ||
default: date | ||
options: | ||
folder: Folder | ||
title: Title | ||
date: Date | ||
default: Default | ||
|
||
header.content.order.dir: | ||
type: select | ||
label: Order | ||
style: vertical | ||
default: desc | ||
options: | ||
asc: Ascending | ||
desc: Descending | ||
|
||
header.content.pagination: | ||
type: toggle | ||
label: Pagination | ||
style: vertical | ||
highlight: 1 | ||
default: 1 | ||
options: | ||
1: PLUGIN_ADMIN.ENABLED | ||
0: PLUGIN_ADMIN.DISABLED | ||
validate: | ||
type: bool |
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,35 @@ | ||
'@extends': | ||
type: default | ||
context: blueprints://pages | ||
|
||
form: | ||
fields: | ||
tabs: | ||
type: tabs | ||
active: 1 | ||
|
||
fields: | ||
options: | ||
fields: | ||
header.card: | ||
type: section | ||
title: MDL Portfolio | ||
underline: true | ||
fields: | ||
header.card.image: | ||
type: filepicker | ||
folder: '@self' | ||
label: Card Image from Page Media | ||
help: preferred if both Images are set | ||
toggleable: true | ||
preview_images: true | ||
- .png | ||
- .jpg | ||
header.card.image_theme: | ||
type: filepicker | ||
folder: 'theme@:/images' | ||
label: Card Image from Theme Media | ||
toggleable: true | ||
preview_images: true | ||
- .png | ||
- .jpg |
Oops, something went wrong.