changes working

This commit is contained in:
akilan
2020-05-10 20:47:17 +04:00
parent 8c14650b51
commit 2fca76e753
154 changed files with 6271 additions and 1 deletions

View File

@@ -0,0 +1,45 @@
---
label: Author
hide_body: true
fields:
- name: title
type: text
config:
required: false
label: Name
- name: bio
type: textarea
default: ''
config:
required: false
wysiwyg: false
schema:
format: markdown
label: Bio
- name: avatar
type: file
config:
maxSize: 250
label: Avatar Image
- name: social
type: field_group_list
fields:
- name: title
type: text
config:
required: false
label: Title
- name: url
type: text
config:
required: false
label: URL
config:
min:
max:
labelField:
label: Social Media
- name: featured
type: boolean
label: Featured Author
description: Feature this author on the home page

View File

@@ -0,0 +1,20 @@
---
label: Home Hero
hide_body: true
fields:
- name: heading
type: text
config:
required: false
label: Heading
description: The text displayed in the hero
- name: maxWidthPX
type: number
label: Max Width
description: The maximum possible width of the hero (in pixels)
default: '652'
config:
required: true
min:
max:
step:

View File

@@ -0,0 +1,9 @@
---
label: Home
hide_body: true
fields:
- name: hero
type: include
config: {}
template: home-hero
label: Hero

View File

@@ -0,0 +1,42 @@
---
label: Post
hide_body: false
fields:
- name: title
type: text
config:
required: false
label: Title
- name: excerpt
type: text
config:
required: false
label: Excerpt
- name: date
type: datetime
label: Date
description: ''
config:
required: false
date_format:
time_format:
display_utc: false
- name: timeToRead
type: number
label: Read Time
description: The time it takes to read the post (in minutes)
default: 0
config:
required: true
min:
max:
step:
- name: hero
type: file
config:
maxSize: 250
label: Hero Image
- name: authors
type: tag_list
default: []
label: Authors

View File

@@ -0,0 +1,49 @@
---
new_page_extension: md
auto_deploy: false
admin_path: ''
webhook_url:
sections:
- type: heading
label: Content
- type: document
path: content/_index.md
label: Home
- type: directory
path: content/post
label: Posts
create: all
match: "**/*"
templates:
- post
- type: heading
label: Data
- type: directory
path: content/authors
label: Authors
create: all
match: "**/_index.md"
templates:
- author
- type: directory
path: config/_default
label: Config
create: all
match: "**/*"
new_doc_ext: yaml
upload_dir: static/uploads
public_path: "/static/images"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_env:
- HUGO_ENV=staging
- HUGO_VERSION=0.60.1
preview_output_directory: public
preview_docker_image: forestryio/hugo:latest
mount_path: "/srv"
working_dir: "/srv"
instant_preview_command: hugo server -D -E -F --port 8080 --bind 0.0.0.0 --renderToDisk
-d public
version: 0.58.2