mirror of
https://github.com/tiennm99/ocrot.git
synced 2026-10-11 03:13:45 +00:00
[Add] homepage config
This commit is contained in:
1 parent
c3c5a32d66
commit
10836bab29
3 files changed
+79
-114
No files matched your search
@@ -1,79 +0,0 @@
|
||||
################## Hero area ##################
|
||||
hero_area:
|
||||
enable : true
|
||||
bg_image : "images/header.jpg"
|
||||
overlay : true
|
||||
|
||||
################### Gallery ###################
|
||||
gallery:
|
||||
enable : true
|
||||
title : "Những bức ảnh ấn tượng"
|
||||
images:
|
||||
- "images/slider/slider-img-1.jpg"
|
||||
- "images/slider/slider-img-2.jpg"
|
||||
- "images/slider/slider-img-3.jpg"
|
||||
- "images/slider/slider-img-4.jpg"
|
||||
- "images/slider/slider-img-1.jpg"
|
||||
- "images/slider/slider-img-2.jpg"
|
||||
- "images/slider/slider-img-3.jpg"
|
||||
- "images/slider/slider-img-4.jpg"
|
||||
|
||||
################ About #######################
|
||||
about:
|
||||
enable : true
|
||||
image : "images/cooker-img.png"
|
||||
title : "Đầu bếp số 1 thế giới"
|
||||
description : "Tốt nghiệp đại học của mẹ, bằng xuất sắc, sẵn sàng mang đến cho bạn những món ốc tuyệt nhất"
|
||||
|
||||
################# Blog ######################
|
||||
blog:
|
||||
enable : true
|
||||
title : "Bài viết mới nhất"
|
||||
bg_image : "images/blog/blog-bg.jpg"
|
||||
overlay : true
|
||||
|
||||
|
||||
################# food Menu ################
|
||||
pricing:
|
||||
enable : true
|
||||
title : "Menu"
|
||||
description: "Già trẻ lớn bé, đều thích ốc, từ 10k đến 100k, đều có ốc cho bạn chọn"
|
||||
subtitle : "Cháy hàng tuần này"
|
||||
pricing_item:
|
||||
- title: "Ốc 'cô đơn'"
|
||||
description: "Đi một mình ư? Bầu bạn với anh chủ quán nào!"
|
||||
price : "125.000đ"
|
||||
|
||||
- title: "Ốc 'tình nhân'"
|
||||
description: "Dành cho 2 người, ăn ốc phải có đôi"
|
||||
price : "100.000đ"
|
||||
|
||||
- title: "2 ốc và cái bóng đèn"
|
||||
description: ";)))"
|
||||
price : "20.000đ"
|
||||
|
||||
- title: "Combo ốc 4 (quá lười để nghĩ)"
|
||||
description: "Để trống nhá :D"
|
||||
price : "45.000đ"
|
||||
|
||||
- title: "Combo ốc 5"
|
||||
description: "Combo ốc 5"
|
||||
price : "25.000đ"
|
||||
|
||||
################### Subscription ################
|
||||
subscription:
|
||||
enable : false
|
||||
bg_image : "images/subscribe-bg.jpg"
|
||||
title : "Đăng ký theo dõi chúng tôi"
|
||||
description : "Đăng ký theo dõi chúng tôi"
|
||||
#Mailchimp subscription configaration
|
||||
form_action : "https://themefisher.us9.list-manage.com/subscribe/post?u=f95ece2732a6e9925f2e70a61&id=b1e227529e"
|
||||
formName : "b_f95ece2732a6e9925f2e70a61_b1e227529e"
|
||||
overlay : true
|
||||
|
||||
################ Contact #######################
|
||||
contact:
|
||||
enable : false
|
||||
title: "Đăng ký qua email"
|
||||
subtitle: "Đăng ký qua email"
|
||||
form_action : "#" #contact form works with formspree.io
|
||||
+7
-7
@@ -62,18 +62,18 @@ pricing:
|
||||
|
||||
################### Subscription ################
|
||||
subscription:
|
||||
enable : false
|
||||
enable : true
|
||||
bg_image : "images/subscribe-bg.jpg"
|
||||
title : "Đăng ký theo dõi chúng tôi"
|
||||
description : "Đăng ký theo dõi chúng tôi"
|
||||
#Mailchimp subscription configaration
|
||||
form_action : "https://themefisher.us9.list-manage.com/subscribe/post?u=f95ece2732a6e9925f2e70a61&id=b1e227529e"
|
||||
formName : "b_f95ece2732a6e9925f2e70a61_b1e227529e"
|
||||
form_action : "#"
|
||||
formName : "#"
|
||||
overlay : true
|
||||
|
||||
################ Contact #######################
|
||||
contact:
|
||||
enable : false
|
||||
title: "Đăng ký qua email"
|
||||
subtitle: "Đăng ký qua email"
|
||||
form_action : "#" #contact form works with formspree.io
|
||||
enable : true
|
||||
title: "Liên hệ qua email"
|
||||
subtitle: "Liên hệ qua email"
|
||||
form_action : "https://formsubmit.co/minhtienit99@gmail.com" #contact form works with formspree.io
|
||||
+72
-28
@@ -1,8 +1,9 @@
|
||||
backend:
|
||||
name: git-gateway
|
||||
branch: main
|
||||
# name: git-gateway
|
||||
name: "test-repo"
|
||||
branch: "main"
|
||||
|
||||
publish_mode: editorial_workflow
|
||||
#publish_mode: editorial_workflow
|
||||
|
||||
media_folder: "static/images"
|
||||
public_folder: "images"
|
||||
@@ -15,9 +16,9 @@ collections:
|
||||
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
|
||||
fields:
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Publish Date", name: "date", widget: "datetime" }
|
||||
- { label: "Date", name: "date", widget: "datetime" }
|
||||
- { label: "Image", name: "image", widget: "image", required: false }
|
||||
- { label: "Intro Blurb", name: "description", widget: "text" }
|
||||
- { label: "Description", name: "description", widget: "text" }
|
||||
- { label: "Type", name: "type", widget: "select",options: [ "post" ], default: "post" }
|
||||
- { label: "Body", name: "body", widget: "markdown" }
|
||||
- name: "settings"
|
||||
@@ -30,27 +31,70 @@ collections:
|
||||
label: "Homepage"
|
||||
name: "homepage"
|
||||
fields:
|
||||
- label: About
|
||||
name: about
|
||||
widget: list
|
||||
- label: "Hero Area"
|
||||
name: "hero_area"
|
||||
widget: "object"
|
||||
fields:
|
||||
- label: Enable
|
||||
name: enable
|
||||
widget: boolean
|
||||
default: true
|
||||
- label: Image
|
||||
name: image
|
||||
widget: image
|
||||
- label: Title
|
||||
name: title
|
||||
widget: string
|
||||
- label: Description
|
||||
name: description
|
||||
widget: text
|
||||
- file: "content/test.yml"
|
||||
label: "test"
|
||||
name: "Test"
|
||||
fields:
|
||||
- label: About
|
||||
name: about
|
||||
widget: string
|
||||
- { label: "Enable", name: "enable", widget: "boolean", default: true }
|
||||
- { label: "Background Image", name: "bg_image", widget: "image" }
|
||||
- { label: "Overlay", name: "overlay", widget: "boolean", default: true }
|
||||
- label: "Gallery"
|
||||
name: "gallery"
|
||||
widget: "object"
|
||||
fields:
|
||||
- { label: "Enable", name: "enable", widget: "boolean", default: true }
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- label: "Images"
|
||||
name: "images"
|
||||
widget: "list"
|
||||
field: {label: "Image", name: "image", widget: "image"}
|
||||
- label: "About"
|
||||
name: "about"
|
||||
widget: "object"
|
||||
fields:
|
||||
- { label: "Enable", name: "enable", widget: "boolean", default: true }
|
||||
- { label: "Image", name: "image", widget: "image" }
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Description", name: "description", widget: "text" }
|
||||
- label: "Blog"
|
||||
name: "blog"
|
||||
widget: "object"
|
||||
fields:
|
||||
- { label: "Enable", name: "enable", widget: "boolean", default: true }
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Background Image", name: "bg_image", widget: "image" }
|
||||
- { label: "Overlay", name: "overlay", widget: "boolean", default: true }
|
||||
- label: "Pricing"
|
||||
name: "pricing"
|
||||
widget: "object"
|
||||
fields:
|
||||
- { label: "Enable", name: "enable", widget: "boolean", default: true }
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Description", name: "description", widget: "text" }
|
||||
- { label: "Subtitle", name: "subtitle", widget: "string" }
|
||||
- label: "Pricing Item"
|
||||
name: "pricing_item"
|
||||
widget: "list"
|
||||
field:
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Price", name: "price", widget: "text" }
|
||||
- { label: "Price", name: "price", widget: "string" }
|
||||
- label: "Subscription"
|
||||
name: "subscription"
|
||||
widget: "object"
|
||||
fields:
|
||||
- { label: "Enable", name: "enable", widget: "boolean", default: true }
|
||||
- { label: "Background Image", name: "bg_image", widget: "image" }
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Description", name: "description", widget: "text" }
|
||||
- { label: "Form Action", name: "form_action", widget: "string", default: "#" }
|
||||
- { label: "Form Name", name: "formName", widget: "string", default: "#" }
|
||||
- { label: "Overlay", name: "overlay", widget: "boolean", default: true }
|
||||
- label: "Contact"
|
||||
name: "contact"
|
||||
widget: "object"
|
||||
fields:
|
||||
- { label: "Enable", name: "enable", widget: "boolean", default: true }
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Subtitle", name: "subtitle", widget: "string" }
|
||||
- { label: "Form Action", name: "form_action", widget: "string", default: "#" }
|
||||
Reference in new issue
Block a user