Init
This commit is contained in:
@ -0,0 +1,26 @@
|
||||
---
|
||||
label: Author
|
||||
hide_body: false
|
||||
fields:
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- name: image
|
||||
type: file
|
||||
config:
|
||||
maxSize: 250
|
||||
label: image
|
||||
- type: text
|
||||
name: email
|
||||
label: email
|
||||
- type: field_group_list
|
||||
name: social
|
||||
label: social
|
||||
fields:
|
||||
- type: text
|
||||
name: icon
|
||||
label: icon
|
||||
description: https://themify.me/themify-icons
|
||||
- type: text
|
||||
name: link
|
||||
label: link
|
@ -0,0 +1,49 @@
|
||||
---
|
||||
label: Course
|
||||
hide_body: false
|
||||
fields:
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: datetime
|
||||
name: date
|
||||
label: date
|
||||
- type: file
|
||||
name: bg_image
|
||||
label: bg image
|
||||
description: Page header background image
|
||||
- type: textarea
|
||||
name: description
|
||||
label: description
|
||||
description: meta description
|
||||
- type: file
|
||||
name: image
|
||||
label: image
|
||||
- type: text
|
||||
name: category
|
||||
label: category
|
||||
description: course category
|
||||
- type: text
|
||||
name: teacher
|
||||
label: teacher
|
||||
description: 'Ex: John Doe'
|
||||
- type: text
|
||||
name: duration
|
||||
label: duration
|
||||
description: Course Duration
|
||||
- type: text
|
||||
name: weekly
|
||||
label: weekly
|
||||
description: Course time per week
|
||||
- type: text
|
||||
name: fee
|
||||
label: fee
|
||||
description: Course fee
|
||||
- type: text
|
||||
name: apply_url
|
||||
label: apply_url
|
||||
description: Application submit link
|
||||
- type: text
|
||||
name: type
|
||||
label: type
|
||||
default: course
|
@ -0,0 +1,49 @@
|
||||
---
|
||||
label: Event
|
||||
hide_body: false
|
||||
fields:
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: datetime
|
||||
name: date
|
||||
label: date
|
||||
- type: file
|
||||
name: bg_image
|
||||
label: bg image
|
||||
description: Page header background image
|
||||
- type: textarea
|
||||
name: description
|
||||
label: description
|
||||
description: meta description
|
||||
- type: file
|
||||
name: image
|
||||
label: image
|
||||
- type: text
|
||||
name: location
|
||||
label: location
|
||||
- type: text
|
||||
name: fee
|
||||
label: fee
|
||||
description: Event fee
|
||||
- type: text
|
||||
name: apply_url
|
||||
label: apply_url
|
||||
description: Application submit link
|
||||
- type: field_group_list
|
||||
name: speaker
|
||||
label: speaker
|
||||
fields:
|
||||
- type: text
|
||||
name: name
|
||||
label: name
|
||||
- type: file
|
||||
name: image
|
||||
label: image
|
||||
- type: text
|
||||
name: designation
|
||||
label: designation
|
||||
- type: text
|
||||
name: type
|
||||
label: type
|
||||
default: event
|
@ -0,0 +1,16 @@
|
||||
---
|
||||
label: New Page
|
||||
hide_body: false
|
||||
fields:
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: text
|
||||
name: description
|
||||
label: description
|
||||
- name: bg_image
|
||||
type: file
|
||||
config:
|
||||
maxSize: 250
|
||||
label: bg image
|
||||
description: page header background image
|
@ -0,0 +1,26 @@
|
||||
---
|
||||
label: Notice
|
||||
hide_body: false
|
||||
fields:
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: datetime
|
||||
name: date
|
||||
label: date
|
||||
- type: file
|
||||
name: bg_image
|
||||
label: bg image
|
||||
description: Page header background image
|
||||
- type: textarea
|
||||
name: description
|
||||
label: description
|
||||
description: meta description
|
||||
- type: text
|
||||
name: download_link
|
||||
label: download_link
|
||||
description: Notice download link
|
||||
- type: text
|
||||
name: type
|
||||
label: type
|
||||
default: notice
|
@ -0,0 +1,34 @@
|
||||
---
|
||||
label: Post
|
||||
hide_body: false
|
||||
fields:
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: datetime
|
||||
name: date
|
||||
label: date
|
||||
- type: file
|
||||
name: bg_image
|
||||
label: bg image
|
||||
description: page header background image
|
||||
- type: file
|
||||
name: image
|
||||
label: image
|
||||
- type: text
|
||||
name: author
|
||||
label: author
|
||||
- type: text
|
||||
name: description
|
||||
label: description
|
||||
description: this is meta description
|
||||
- type: list
|
||||
name: categories
|
||||
label: categories
|
||||
- type: list
|
||||
name: tags
|
||||
label: tags
|
||||
- type: text
|
||||
name: type
|
||||
label: type
|
||||
default: post
|
@ -0,0 +1,25 @@
|
||||
---
|
||||
label: Research
|
||||
hide_body: false
|
||||
fields:
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: datetime
|
||||
name: date
|
||||
label: date
|
||||
- type: file
|
||||
name: bg_image
|
||||
label: bg image
|
||||
description: Page header background image
|
||||
- type: textarea
|
||||
name: description
|
||||
label: description
|
||||
description: meta description
|
||||
- type: file
|
||||
name: image
|
||||
label: image
|
||||
- type: text
|
||||
name: type
|
||||
label: type
|
||||
default: research
|
@ -0,0 +1,18 @@
|
||||
---
|
||||
label: Scholarship
|
||||
hide_body: false
|
||||
fields:
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: file
|
||||
name: bg_image
|
||||
label: bg image
|
||||
description: Page header background image
|
||||
- type: file
|
||||
name: image
|
||||
label: image
|
||||
- type: textarea
|
||||
name: description
|
||||
label: description
|
||||
description: meta description
|
@ -0,0 +1,48 @@
|
||||
---
|
||||
label: Teacher
|
||||
hide_body: false
|
||||
fields:
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: file
|
||||
name: bg_image
|
||||
label: bg image
|
||||
description: Page header background image
|
||||
- type: textarea
|
||||
name: description
|
||||
label: description
|
||||
description: meta description
|
||||
- type: file
|
||||
name: image
|
||||
label: image
|
||||
description: portrait
|
||||
- type: text
|
||||
name: course
|
||||
label: course
|
||||
description: course taken by him
|
||||
- type: textarea
|
||||
name: bio
|
||||
label: bio
|
||||
description: biography
|
||||
- type: list
|
||||
name: interest
|
||||
label: interest
|
||||
- type: field_group_list
|
||||
name: contact
|
||||
label: contact
|
||||
fields:
|
||||
- type: text
|
||||
name: name
|
||||
label: name
|
||||
- type: text
|
||||
name: icon
|
||||
label: icon
|
||||
description: 'themify icon : https://themify.me/themify-icons'
|
||||
- type: text
|
||||
name: link
|
||||
label: link
|
||||
- type: text
|
||||
name: type
|
||||
label: type
|
||||
default: teacher
|
225
themes/educenter-hugo/exampleSite/.forestry/settings.yml
Normal file
225
themes/educenter-hugo/exampleSite/.forestry/settings.yml
Normal file
@ -0,0 +1,225 @@
|
||||
---
|
||||
new_page_extension: md
|
||||
auto_deploy: false
|
||||
admin_path: ''
|
||||
webhook_url:
|
||||
sections:
|
||||
- type: heading
|
||||
label: Blog Post
|
||||
- type: directory
|
||||
path: exampleSite/content/english/blog
|
||||
label: Post (en)
|
||||
create: documents
|
||||
match: "**/*"
|
||||
templates:
|
||||
- post
|
||||
- type: directory
|
||||
path: exampleSite/content/french/blog
|
||||
label: Post (fr)
|
||||
create: documents
|
||||
match: "**/*"
|
||||
templates:
|
||||
- post
|
||||
- type: heading
|
||||
label: Author
|
||||
- type: directory
|
||||
path: exampleSite/content/english/author
|
||||
label: Author (en)
|
||||
create: documents
|
||||
match: "**/*"
|
||||
templates:
|
||||
- author
|
||||
- type: directory
|
||||
path: exampleSite/content/french/author
|
||||
label: Author (fr)
|
||||
create: documents
|
||||
match: "**/*"
|
||||
templates:
|
||||
- author
|
||||
- type: heading
|
||||
label: Course
|
||||
- type: directory
|
||||
path: exampleSite/content/english/course
|
||||
label: Course (en)
|
||||
create: documents
|
||||
match: "**/*"
|
||||
templates:
|
||||
- course
|
||||
- type: directory
|
||||
path: exampleSite/content/french/course
|
||||
label: Course (fr)
|
||||
create: documents
|
||||
match: "**/*"
|
||||
templates:
|
||||
- course
|
||||
- type: heading
|
||||
label: Notice
|
||||
- type: directory
|
||||
path: exampleSite/content/english/notice
|
||||
label: Notice (en)
|
||||
create: all
|
||||
match: "**/*"
|
||||
templates:
|
||||
- notice
|
||||
- type: directory
|
||||
path: exampleSite/content/french/notice
|
||||
label: Notice (fr)
|
||||
create: all
|
||||
match: "**/*"
|
||||
templates:
|
||||
- notice
|
||||
- type: heading
|
||||
label: Teacher
|
||||
- type: directory
|
||||
path: exampleSite/content/english/teacher
|
||||
label: Teacher (en)
|
||||
create: all
|
||||
match: "**/*"
|
||||
templates:
|
||||
- teacher
|
||||
- type: directory
|
||||
path: exampleSite/content/french/teacher
|
||||
label: Teacher (fr)
|
||||
create: all
|
||||
match: "**/*"
|
||||
templates:
|
||||
- teacher
|
||||
- type: heading
|
||||
label: Event
|
||||
- type: directory
|
||||
path: exampleSite/content/english/event
|
||||
label: Event (en)
|
||||
create: all
|
||||
match: "**/*"
|
||||
templates:
|
||||
- event
|
||||
- type: directory
|
||||
path: exampleSite/content/french/event
|
||||
label: Event (fr)
|
||||
create: all
|
||||
match: "**/*"
|
||||
templates:
|
||||
- event
|
||||
- type: heading
|
||||
label: Research
|
||||
- type: directory
|
||||
path: exampleSite/content/english/research
|
||||
label: Research (en)
|
||||
create: all
|
||||
match: "**/*"
|
||||
templates:
|
||||
- research
|
||||
- type: directory
|
||||
path: exampleSite/content/french/research
|
||||
label: Research (fr)
|
||||
create: all
|
||||
match: "**/*"
|
||||
templates:
|
||||
- research
|
||||
- type: heading
|
||||
label: Scholarship
|
||||
- type: directory
|
||||
path: exampleSite/content/english/scholarship
|
||||
label: Scholarship (en)
|
||||
create: all
|
||||
match: "**/*"
|
||||
templates:
|
||||
- scholarship
|
||||
- type: directory
|
||||
path: exampleSite/content/french/scholarship
|
||||
label: Scholarship (fr)
|
||||
create: all
|
||||
match: "**/*"
|
||||
templates:
|
||||
- scholarship
|
||||
- type: heading
|
||||
label: Others Pages
|
||||
- type: directory
|
||||
path: exampleSite/content/english/about
|
||||
label: About (en)
|
||||
create: none
|
||||
match: "*"
|
||||
- type: directory
|
||||
path: exampleSite/content/french/about
|
||||
label: About (fr)
|
||||
create: none
|
||||
match: "*"
|
||||
- type: directory
|
||||
path: exampleSite/content/english/contact
|
||||
label: Contact (en)
|
||||
create: none
|
||||
match: "*"
|
||||
- type: directory
|
||||
path: exampleSite/content/french/contact
|
||||
label: Contact (fr)
|
||||
create: none
|
||||
match: "*"
|
||||
- type: directory
|
||||
path: exampleSite/content/english/pages
|
||||
label: Created Pages (en)
|
||||
create: documents
|
||||
match: "**/*"
|
||||
templates:
|
||||
- new-page
|
||||
- type: directory
|
||||
path: exampleSite/content/french/pages
|
||||
label: Created Pages (fr)
|
||||
create: all
|
||||
match: "**/*"
|
||||
templates:
|
||||
- new-page
|
||||
- type: directory
|
||||
path: exampleSite/content/english
|
||||
label: All Pages (en)
|
||||
create: all
|
||||
match: "**/*"
|
||||
templates:
|
||||
- new-page
|
||||
- type: directory
|
||||
path: exampleSite/content/french
|
||||
label: All Pages (fr)
|
||||
create: all
|
||||
match: "**/*"
|
||||
templates:
|
||||
- new-page
|
||||
- type: heading
|
||||
label: Data
|
||||
- type: directory
|
||||
path: exampleSite/data/en
|
||||
label: Data (en)
|
||||
create: all
|
||||
match: "**/*"
|
||||
- type: directory
|
||||
path: exampleSite/data/fr
|
||||
label: Data (fr)
|
||||
create: all
|
||||
match: "**/*"
|
||||
- type: directory
|
||||
path: exampleSite/i18n
|
||||
label: i18n
|
||||
create: documents
|
||||
match: "**/*"
|
||||
- type: heading
|
||||
label: Configuration
|
||||
- type: directory
|
||||
path: exampleSite
|
||||
label: Configuration
|
||||
create: all
|
||||
match: "*.toml"
|
||||
new_doc_ext: toml
|
||||
upload_dir: exampleSite/static/images
|
||||
public_path: "/images"
|
||||
front_matter_path: ''
|
||||
use_front_matter_path: false
|
||||
file_template: ":filename:"
|
||||
build:
|
||||
preview_env:
|
||||
- HUGO_ENV=staging
|
||||
- HUGO_VERSION=0.58.2
|
||||
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
|
Reference in New Issue
Block a user