Portfolio
* Added lektor htmlmin plugin * Improved sass grid * Little update in contact page * Added featherlight lightbox for project details screenshots * Only loading lightbox libraries if needed * Portfolio content review from migration
This commit is contained in:
parent
ea7ea8cc69
commit
a3262ea645
149 changed files with 987 additions and 22 deletions
16
models/portfolio.ini
Normal file
16
models/portfolio.ini
Normal file
|
@ -0,0 +1,16 @@
|
|||
[model]
|
||||
name = Portfolio
|
||||
label = Porfolio
|
||||
hidden = no
|
||||
|
||||
[fields.content]
|
||||
label = Content
|
||||
type = markdown
|
||||
|
||||
[children]
|
||||
model = portfolio_category
|
||||
order_by = name
|
||||
slug_format = {{ this.slug }}
|
||||
|
||||
[pagination]
|
||||
enabled = no
|
23
models/portfolio_category.ini
Normal file
23
models/portfolio_category.ini
Normal file
|
@ -0,0 +1,23 @@
|
|||
[model]
|
||||
name = Project Category
|
||||
label = {{ this.name }}
|
||||
hidden = no
|
||||
|
||||
[fields.name]
|
||||
label = Name
|
||||
type = string
|
||||
size = 1/2
|
||||
|
||||
[fields.slug]
|
||||
label = Slug
|
||||
type = string
|
||||
size = 1/4
|
||||
|
||||
[fields.show_images]
|
||||
label = Show images
|
||||
type = boolean
|
||||
size = 1/4
|
||||
|
||||
[children]
|
||||
model = project
|
||||
order_by = -date, name
|
55
models/project.ini
Normal file
55
models/project.ini
Normal file
|
@ -0,0 +1,55 @@
|
|||
[model]
|
||||
name = Project
|
||||
label = {{ this.name }}
|
||||
hidden = yes
|
||||
|
||||
[fields.name]
|
||||
label = Name
|
||||
type = string
|
||||
size = 1/4
|
||||
|
||||
[fields.slug]
|
||||
label = Slug
|
||||
type = string
|
||||
size = 1/4
|
||||
|
||||
[fields.role]
|
||||
label = Role
|
||||
type = string
|
||||
size = 1/4
|
||||
|
||||
[fields.date]
|
||||
label = Date
|
||||
type = date
|
||||
size = 1/4
|
||||
|
||||
[fields.stack]
|
||||
label = Stack
|
||||
type = string
|
||||
size = large
|
||||
|
||||
[fields.company]
|
||||
label = Company
|
||||
type = string
|
||||
size = 1/4
|
||||
|
||||
[fields.url]
|
||||
label = URL
|
||||
type = string
|
||||
size = 1/4
|
||||
|
||||
[fields.url_in_list]
|
||||
label = Use URL in the list
|
||||
type = boolean
|
||||
default = false
|
||||
size = 1/4
|
||||
|
||||
[fields.description_in_list]
|
||||
label = Show description in the list
|
||||
type = boolean
|
||||
default = false
|
||||
size = 1/4
|
||||
|
||||
[fields.description]
|
||||
label = Description
|
||||
type = markdown
|
Loading…
Add table
Add a link
Reference in a new issue