Site updated: 2020-7-4 2:15:49
This commit is contained in:
parent
7556435069
commit
ee31c2671c
606
admin/config.yml
606
admin/config.yml
|
@ -1,303 +1,303 @@
|
||||||
backend:
|
backend:
|
||||||
name: git-gateway
|
name: git-gateway
|
||||||
branch: master
|
branch: master
|
||||||
media_folder: 'static/img/'
|
media_folder: 'static/img/'
|
||||||
public_folder: 'img'
|
public_folder: 'img'
|
||||||
collections:
|
collections:
|
||||||
- name: authors
|
- name: authors
|
||||||
label: Authors
|
label: Authors
|
||||||
label_singular: Author
|
label_singular: Author
|
||||||
folder: 'content/authors'
|
folder: 'content/authors'
|
||||||
path: '{{slug}}/_index'
|
path: '{{slug}}/_index'
|
||||||
create: true # Allow users to create new documents in this collection
|
create: true # Allow users to create new documents in this collection
|
||||||
fields: # The fields each document in this collection have
|
fields: # The fields each document in this collection have
|
||||||
- {label: "Display name (such as your full name)", name: "title", widget: "string"}
|
- {label: "Display name (such as your full name)", name: "title", widget: "string"}
|
||||||
- {label: "Position or tagline (such as Professor of AI)", name: "role", widget: "string", required: false}
|
- {label: "Position or tagline (such as Professor of AI)", name: "role", widget: "string", required: false}
|
||||||
- label: "Avatar (upload an image named `avatar.jpg/png`)"
|
- label: "Avatar (upload an image named `avatar.jpg/png`)"
|
||||||
name: "avatar_filename"
|
name: "avatar_filename"
|
||||||
widget: "image"
|
widget: "image"
|
||||||
default: "avatar"
|
default: "avatar"
|
||||||
required: false
|
required: false
|
||||||
media_library:
|
media_library:
|
||||||
config:
|
config:
|
||||||
multiple: false
|
multiple: false
|
||||||
- {label: "Short biography (shown in author boxes)", name: "bio", widget: "string", required: false}
|
- {label: "Short biography (shown in author boxes)", name: "bio", widget: "string", required: false}
|
||||||
- {label: "Full biography (shown in About widget)", name: "body", widget: "markdown", required: false}
|
- {label: "Full biography (shown in About widget)", name: "body", widget: "markdown", required: false}
|
||||||
- label: "Interests (shown in About widget)"
|
- label: "Interests (shown in About widget)"
|
||||||
name: "interests"
|
name: "interests"
|
||||||
required: false
|
required: false
|
||||||
widget: "list"
|
widget: "list"
|
||||||
- label: Social links
|
- label: Social links
|
||||||
name: social
|
name: social
|
||||||
required: false
|
required: false
|
||||||
widget: list
|
widget: list
|
||||||
fields:
|
fields:
|
||||||
- {label: Link, name: link, widget: string}
|
- {label: Link, name: link, widget: string}
|
||||||
- label: Icon pack
|
- label: Icon pack
|
||||||
name: icon_pack
|
name: icon_pack
|
||||||
widget: select
|
widget: select
|
||||||
multiple: false
|
multiple: false
|
||||||
options:
|
options:
|
||||||
- {label: "None", value: ""}
|
- {label: "None", value: ""}
|
||||||
- {label: "Solid", value: "fas"}
|
- {label: "Solid", value: "fas"}
|
||||||
- {label: "Regular", value: "far"}
|
- {label: "Regular", value: "far"}
|
||||||
- {label: "Brand", value: "fab"}
|
- {label: "Brand", value: "fab"}
|
||||||
- {label: "Academic", value: "ai"}
|
- {label: "Academic", value: "ai"}
|
||||||
- {label: Icon (see https://sourcethemes.com/academic/docs/page-builder/#icons), name: icon, widget: string}
|
- {label: Icon (see https://sourcethemes.com/academic/docs/page-builder/#icons), name: icon, widget: string}
|
||||||
- label: "Organizations you belong to or are affiliated with (shown in About widget)"
|
- label: "Organizations you belong to or are affiliated with (shown in About widget)"
|
||||||
name: "organizations"
|
name: "organizations"
|
||||||
required: false
|
required: false
|
||||||
widget: list
|
widget: list
|
||||||
fields:
|
fields:
|
||||||
- {label: Organization, name: name, widget: string, required: true}
|
- {label: Organization, name: name, widget: string, required: true}
|
||||||
- {label: Link, name: url, widget: string, required: false}
|
- {label: Link, name: url, widget: string, required: false}
|
||||||
- label: "Education"
|
- label: "Education"
|
||||||
name: "education"
|
name: "education"
|
||||||
required: false
|
required: false
|
||||||
widget: object
|
widget: object
|
||||||
fields:
|
fields:
|
||||||
- label: "Courses"
|
- label: "Courses"
|
||||||
name: "courses"
|
name: "courses"
|
||||||
required: false
|
required: false
|
||||||
widget: list
|
widget: list
|
||||||
fields:
|
fields:
|
||||||
- {label: Course, name: course, widget: string, required: true}
|
- {label: Course, name: course, widget: string, required: true}
|
||||||
- {label: Institution, name: institution, widget: string, required: true}
|
- {label: Institution, name: institution, widget: string, required: true}
|
||||||
- {label: Year, name: year, widget: number, valueType: int, required: false}
|
- {label: Year, name: year, widget: number, valueType: int, required: false}
|
||||||
- {label: "Email (to use a Gravatar.com avatar)", name: "email", widget: "string", required: false}
|
- {label: "Email (to use a Gravatar.com avatar)", name: "email", widget: "string", required: false}
|
||||||
- label: "Super user (is this the primary site user?)"
|
- label: "Super user (is this the primary site user?)"
|
||||||
name: "superuser"
|
name: "superuser"
|
||||||
widget: "boolean"
|
widget: "boolean"
|
||||||
default: false
|
default: false
|
||||||
- label: "User groups (only for organization websites)"
|
- label: "User groups (only for organization websites)"
|
||||||
name: "user_groups"
|
name: "user_groups"
|
||||||
required: false
|
required: false
|
||||||
widget: "list"
|
widget: "list"
|
||||||
- name: posts
|
- name: posts
|
||||||
label: Posts
|
label: Posts
|
||||||
label_singular: Post
|
label_singular: Post
|
||||||
folder: 'content/post'
|
folder: 'content/post'
|
||||||
path: '{{slug}}/index'
|
path: '{{slug}}/index'
|
||||||
create: true # Allow users to create new documents in this collection
|
create: true # Allow users to create new documents in this collection
|
||||||
fields: # The fields each document in this collection have
|
fields: # The fields each document in this collection have
|
||||||
- {label: "Title", name: "title", widget: "string"}
|
- {label: "Title", name: "title", widget: "string"}
|
||||||
- {label: "Subtitle", name: "subtitle", widget: "string", required: false}
|
- {label: "Subtitle", name: "subtitle", widget: "string", required: false}
|
||||||
- {label: "Body", name: "body", widget: "markdown"}
|
- {label: "Body", name: "body", widget: "markdown"}
|
||||||
- {label: "Publish this page on", name: "date", widget: "datetime"}
|
- {label: "Publish this page on", name: "date", widget: "datetime"}
|
||||||
- {label: "Summary", name: "summary", widget: "markdown", required: false}
|
- {label: "Summary", name: "summary", widget: "markdown", required: false}
|
||||||
- label: "Draft"
|
- label: "Draft"
|
||||||
name: "draft"
|
name: "draft"
|
||||||
widget: "boolean"
|
widget: "boolean"
|
||||||
default: false
|
default: false
|
||||||
- label: "Featured"
|
- label: "Featured"
|
||||||
name: "featured"
|
name: "featured"
|
||||||
widget: "boolean"
|
widget: "boolean"
|
||||||
default: false
|
default: false
|
||||||
- label: "Authors"
|
- label: "Authors"
|
||||||
name: "authors"
|
name: "authors"
|
||||||
required: false
|
required: false
|
||||||
widget: "list"
|
widget: "list"
|
||||||
- label: "Tags"
|
- label: "Tags"
|
||||||
name: "tags"
|
name: "tags"
|
||||||
required: false
|
required: false
|
||||||
widget: "list"
|
widget: "list"
|
||||||
- label: "Categories"
|
- label: "Categories"
|
||||||
name: "categories"
|
name: "categories"
|
||||||
required: false
|
required: false
|
||||||
widget: "list"
|
widget: "list"
|
||||||
- label: "Projects"
|
- label: "Projects"
|
||||||
name: "projects"
|
name: "projects"
|
||||||
required: false
|
required: false
|
||||||
widget: "list"
|
widget: "list"
|
||||||
- label: "Featured Image"
|
- label: "Featured Image"
|
||||||
name: "image"
|
name: "image"
|
||||||
required: false
|
required: false
|
||||||
widget: object
|
widget: object
|
||||||
fields:
|
fields:
|
||||||
- label: "Upload an image named `featured.jpg/png`"
|
- label: "Upload an image named `featured.jpg/png`"
|
||||||
name: "filename"
|
name: "filename"
|
||||||
widget: "image"
|
widget: "image"
|
||||||
default: "featured"
|
default: "featured"
|
||||||
media_library:
|
media_library:
|
||||||
config:
|
config:
|
||||||
multiple: false
|
multiple: false
|
||||||
- {label: Caption, name: caption, widget: string, required: false}
|
- {label: Caption, name: caption, widget: string, required: false}
|
||||||
- {label: Description for screen readers, name: alt_text, widget: string, required: false}
|
- {label: Description for screen readers, name: alt_text, widget: string, required: false}
|
||||||
- {label: "Where's the focal point in the image? Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight.", name: focal_point, widget: string, required: false, default: "Smart"}
|
- {label: "Where's the focal point in the image? Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight.", name: focal_point, widget: string, required: false, default: "Smart"}
|
||||||
- {label: Thumbnail Only?, name: preview_only, widget: boolean, default: false}
|
- {label: Thumbnail Only?, name: preview_only, widget: boolean, default: false}
|
||||||
- name: projects
|
- name: projects
|
||||||
label: Projects
|
label: Projects
|
||||||
label_singular: Project
|
label_singular: Project
|
||||||
folder: 'content/project'
|
folder: 'content/project'
|
||||||
path: '{{slug}}/index'
|
path: '{{slug}}/index'
|
||||||
create: true # Allow users to create new documents in this collection
|
create: true # Allow users to create new documents in this collection
|
||||||
fields: # The fields each document in this collection have
|
fields: # The fields each document in this collection have
|
||||||
- {label: "Title", name: "title", widget: "string"}
|
- {label: "Title", name: "title", widget: "string"}
|
||||||
- {label: "Subtitle", name: "subtitle", widget: "string", required: false}
|
- {label: "Subtitle", name: "subtitle", widget: "string", required: false}
|
||||||
- {label: "Body", name: "body", widget: "markdown", required: false}
|
- {label: "Body", name: "body", widget: "markdown", required: false}
|
||||||
- {label: "Publish this page on", name: "date", widget: "datetime"}
|
- {label: "Publish this page on", name: "date", widget: "datetime"}
|
||||||
- {label: "Summary", name: "summary", widget: "markdown", required: false}
|
- {label: "Summary", name: "summary", widget: "markdown", required: false}
|
||||||
- label: "Draft"
|
- label: "Draft"
|
||||||
name: "draft"
|
name: "draft"
|
||||||
widget: "boolean"
|
widget: "boolean"
|
||||||
default: false
|
default: false
|
||||||
- label: "Featured"
|
- label: "Featured"
|
||||||
name: "featured"
|
name: "featured"
|
||||||
widget: "boolean"
|
widget: "boolean"
|
||||||
default: false
|
default: false
|
||||||
- label: "Authors"
|
- label: "Authors"
|
||||||
name: "authors"
|
name: "authors"
|
||||||
required: false
|
required: false
|
||||||
widget: "list"
|
widget: "list"
|
||||||
- label: "Tags"
|
- label: "Tags"
|
||||||
name: "tags"
|
name: "tags"
|
||||||
required: false
|
required: false
|
||||||
widget: "list"
|
widget: "list"
|
||||||
- label: "Categories"
|
- label: "Categories"
|
||||||
name: "categories"
|
name: "categories"
|
||||||
required: false
|
required: false
|
||||||
widget: "list"
|
widget: "list"
|
||||||
- {label: "External link (optional - replaces link to project page)", name: "external_link", widget: "string"}
|
- {label: "External link (optional - replaces link to project page)", name: "external_link", widget: "string"}
|
||||||
- label: Links
|
- label: Links
|
||||||
name: links
|
name: links
|
||||||
required: false
|
required: false
|
||||||
widget: list
|
widget: list
|
||||||
fields:
|
fields:
|
||||||
- {label: Link, name: url, widget: string}
|
- {label: Link, name: url, widget: string}
|
||||||
- {label: Link text, name: name, widget: string, required: false}
|
- {label: Link text, name: name, widget: string, required: false}
|
||||||
- label: Icon pack
|
- label: Icon pack
|
||||||
name: icon_pack
|
name: icon_pack
|
||||||
widget: select
|
widget: select
|
||||||
multiple: false
|
multiple: false
|
||||||
required: false
|
required: false
|
||||||
options:
|
options:
|
||||||
- {label: "None", value: ""}
|
- {label: "None", value: ""}
|
||||||
- {label: "Solid", value: "fas"}
|
- {label: "Solid", value: "fas"}
|
||||||
- {label: "Regular", value: "far"}
|
- {label: "Regular", value: "far"}
|
||||||
- {label: "Brand", value: "fab"}
|
- {label: "Brand", value: "fab"}
|
||||||
- {label: "Academic", value: "ai"}
|
- {label: "Academic", value: "ai"}
|
||||||
- {label: "Icon (see https://sourcethemes.com/academic/docs/page-builder/#icons)", name: icon, widget: string, required: false}
|
- {label: "Icon (see https://sourcethemes.com/academic/docs/page-builder/#icons)", name: icon, widget: string, required: false}
|
||||||
- label: "Featured Image"
|
- label: "Featured Image"
|
||||||
name: "image"
|
name: "image"
|
||||||
required: false
|
required: false
|
||||||
widget: object
|
widget: object
|
||||||
fields:
|
fields:
|
||||||
- label: "Upload an image named `featured.jpg/png`"
|
- label: "Upload an image named `featured.jpg/png`"
|
||||||
name: "filename"
|
name: "filename"
|
||||||
widget: "image"
|
widget: "image"
|
||||||
default: "featured"
|
default: "featured"
|
||||||
media_library:
|
media_library:
|
||||||
config:
|
config:
|
||||||
multiple: false
|
multiple: false
|
||||||
- {label: Caption, name: caption, widget: string, required: false}
|
- {label: Caption, name: caption, widget: string, required: false}
|
||||||
- {label: Description for screen readers, name: alt_text, widget: string, required: false}
|
- {label: Description for screen readers, name: alt_text, widget: string, required: false}
|
||||||
- {label: "Where's the focal point in the image? Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight.", name: focal_point, widget: string, required: false, default: "Smart"}
|
- {label: "Where's the focal point in the image? Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight.", name: focal_point, widget: string, required: false, default: "Smart"}
|
||||||
- {label: Thumbnail Only?, name: preview_only, widget: boolean, default: false}
|
- {label: Thumbnail Only?, name: preview_only, widget: boolean, default: false}
|
||||||
- name: talks
|
- name: talks
|
||||||
label: Talks
|
label: Talks
|
||||||
label_singular: Talk
|
label_singular: Talk
|
||||||
folder: 'content/talk'
|
folder: 'content/talk'
|
||||||
path: '{{slug}}/index'
|
path: '{{slug}}/index'
|
||||||
create: true # Allow users to create new documents in this collection
|
create: true # Allow users to create new documents in this collection
|
||||||
fields: # The fields each document in this collection have
|
fields: # The fields each document in this collection have
|
||||||
- {label: "Title", name: "title", widget: "string"}
|
- {label: "Title", name: "title", widget: "string"}
|
||||||
- {label: "Abstract", name: "abstract", widget: "text"}
|
- {label: "Abstract", name: "abstract", widget: "text"}
|
||||||
- {label: "Where", name: "location", widget: "text"}
|
- {label: "Where", name: "location", widget: "text"}
|
||||||
- {label: "From", name: "date", widget: "datetime"}
|
- {label: "From", name: "date", widget: "datetime"}
|
||||||
- {label: "To", name: "date_end", widget: "datetime", default: ""}
|
- {label: "To", name: "date_end", widget: "datetime", default: ""}
|
||||||
- {label: "All day event?", name: "all_day", widget: "boolean", default: false}
|
- {label: "All day event?", name: "all_day", widget: "boolean", default: false}
|
||||||
- label: Links/Tickets
|
- label: Links/Tickets
|
||||||
name: links
|
name: links
|
||||||
required: false
|
required: false
|
||||||
widget: list
|
widget: list
|
||||||
fields:
|
fields:
|
||||||
- {label: Link, name: url, widget: string}
|
- {label: Link, name: url, widget: string}
|
||||||
- {label: Link text, name: name, widget: string, required: false}
|
- {label: Link text, name: name, widget: string, required: false}
|
||||||
- label: Icon pack
|
- label: Icon pack
|
||||||
name: icon_pack
|
name: icon_pack
|
||||||
widget: select
|
widget: select
|
||||||
multiple: false
|
multiple: false
|
||||||
required: false
|
required: false
|
||||||
options:
|
options:
|
||||||
- {label: "None", value: ""}
|
- {label: "None", value: ""}
|
||||||
- {label: "Solid", value: "fas"}
|
- {label: "Solid", value: "fas"}
|
||||||
- {label: "Regular", value: "far"}
|
- {label: "Regular", value: "far"}
|
||||||
- {label: "Brand", value: "fab"}
|
- {label: "Brand", value: "fab"}
|
||||||
- {label: "Academic", value: "ai"}
|
- {label: "Academic", value: "ai"}
|
||||||
- {label: "Icon (see https://sourcethemes.com/academic/docs/page-builder/#icons)", name: icon, widget: string, required: false}
|
- {label: "Icon (see https://sourcethemes.com/academic/docs/page-builder/#icons)", name: icon, widget: string, required: false}
|
||||||
- {label: "Event", name: "event", widget: "string"}
|
- {label: "Event", name: "event", widget: "string"}
|
||||||
- {label: "Event link", name: "event_url", widget: "string"}
|
- {label: "Event link", name: "event_url", widget: "string"}
|
||||||
- {label: "Publish this page on", name: "publishDate", widget: "datetime"}
|
- {label: "Publish this page on", name: "publishDate", widget: "datetime"}
|
||||||
- {label: "Markdown slides (reference a deck in 'content/slides/')", name: "slides", widget: "string", required: false}
|
- {label: "Markdown slides (reference a deck in 'content/slides/')", name: "slides", widget: "string", required: false}
|
||||||
- label: "Draft"
|
- label: "Draft"
|
||||||
name: "draft"
|
name: "draft"
|
||||||
widget: "boolean"
|
widget: "boolean"
|
||||||
default: false
|
default: false
|
||||||
- label: "Featured"
|
- label: "Featured"
|
||||||
name: "featured"
|
name: "featured"
|
||||||
widget: "boolean"
|
widget: "boolean"
|
||||||
default: false
|
default: false
|
||||||
- label: "Authors"
|
- label: "Authors"
|
||||||
name: "authors"
|
name: "authors"
|
||||||
required: false
|
required: false
|
||||||
widget: "list"
|
widget: "list"
|
||||||
- label: "Tags"
|
- label: "Tags"
|
||||||
name: "tags"
|
name: "tags"
|
||||||
required: false
|
required: false
|
||||||
widget: "list"
|
widget: "list"
|
||||||
- label: "Categories"
|
- label: "Categories"
|
||||||
name: "categories"
|
name: "categories"
|
||||||
required: false
|
required: false
|
||||||
widget: "list"
|
widget: "list"
|
||||||
- label: "Projects (reference projects in 'content/project/')"
|
- label: "Projects (reference projects in 'content/project/')"
|
||||||
name: "projects"
|
name: "projects"
|
||||||
required: false
|
required: false
|
||||||
widget: "list"
|
widget: "list"
|
||||||
- label: "Featured Image"
|
- label: "Featured Image"
|
||||||
name: "image"
|
name: "image"
|
||||||
required: false
|
required: false
|
||||||
widget: object
|
widget: object
|
||||||
fields:
|
fields:
|
||||||
- label: "Upload an image named `featured.jpg/png`"
|
- label: "Upload an image named `featured.jpg/png`"
|
||||||
name: "filename"
|
name: "filename"
|
||||||
widget: "image"
|
widget: "image"
|
||||||
default: "featured"
|
default: "featured"
|
||||||
media_library:
|
media_library:
|
||||||
config:
|
config:
|
||||||
multiple: false
|
multiple: false
|
||||||
- {label: Caption, name: caption, widget: string, required: false}
|
- {label: Caption, name: caption, widget: string, required: false}
|
||||||
- {label: Description for screen readers, name: alt_text, widget: string, required: false}
|
- {label: Description for screen readers, name: alt_text, widget: string, required: false}
|
||||||
- {label: "Where's the focal point in the image? Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight.", name: focal_point, widget: string, required: false, default: "Smart"}
|
- {label: "Where's the focal point in the image? Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight.", name: focal_point, widget: string, required: false, default: "Smart"}
|
||||||
- {label: Thumbnail Only?, name: preview_only, widget: boolean, default: false}
|
- {label: Thumbnail Only?, name: preview_only, widget: boolean, default: false}
|
||||||
- {label: "Details", name: "body", widget: "markdown", required: false}
|
- {label: "Details", name: "body", widget: "markdown", required: false}
|
||||||
- name: pages
|
- name: pages
|
||||||
label: "Pages"
|
label: "Pages"
|
||||||
files:
|
files:
|
||||||
- file: "content/privacy.md"
|
- file: "content/privacy.md"
|
||||||
label: "Privacy Policy"
|
label: "Privacy Policy"
|
||||||
name: "privacy"
|
name: "privacy"
|
||||||
fields:
|
fields:
|
||||||
- {label: "Title", name: "title", widget: "string"}
|
- {label: "Title", name: "title", widget: "string"}
|
||||||
- {label: "Publish Date", name: "date", widget: "datetime"}
|
- {label: "Publish Date", name: "date", widget: "datetime"}
|
||||||
- {label: "Subtitle", name: "subtitle", widget: "string", required: false}
|
- {label: "Subtitle", name: "subtitle", widget: "string", required: false}
|
||||||
- {label: "Summary", name: "summary", widget: "markdown", required: false}
|
- {label: "Summary", name: "summary", widget: "markdown", required: false}
|
||||||
- label: "Draft"
|
- label: "Draft"
|
||||||
name: "draft"
|
name: "draft"
|
||||||
required: false
|
required: false
|
||||||
widget: "boolean"
|
widget: "boolean"
|
||||||
default: false
|
default: false
|
||||||
- {label: "Body", name: "body", widget: "markdown"}
|
- {label: "Body", name: "body", widget: "markdown"}
|
||||||
- file: "content/terms.md"
|
- file: "content/terms.md"
|
||||||
label: "Terms"
|
label: "Terms"
|
||||||
name: "terms"
|
name: "terms"
|
||||||
fields:
|
fields:
|
||||||
- {label: "Title", name: "title", widget: "string"}
|
- {label: "Title", name: "title", widget: "string"}
|
||||||
- {label: "Publish Date", name: "date", widget: "datetime"}
|
- {label: "Publish Date", name: "date", widget: "datetime"}
|
||||||
- {label: "Subtitle", name: "subtitle", widget: "string", required: false}
|
- {label: "Subtitle", name: "subtitle", widget: "string", required: false}
|
||||||
- {label: "Summary", name: "summary", widget: "markdown", required: false}
|
- {label: "Summary", name: "summary", widget: "markdown", required: false}
|
||||||
- label: "Draft"
|
- label: "Draft"
|
||||||
name: "draft"
|
name: "draft"
|
||||||
required: false
|
required: false
|
||||||
widget: "boolean"
|
widget: "boolean"
|
||||||
default: false
|
default: false
|
||||||
- {label: "Body", name: "body", widget: "markdown"}
|
- {label: "Body", name: "body", widget: "markdown"}
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en-us">
|
<html lang="en-us">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Content Manager | Academic</title>
|
<title>Content Manager | Academic</title>
|
||||||
<!-- Include Netlify Identity for authentication. -->
|
<!-- Include Netlify Identity for authentication. -->
|
||||||
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
|
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Include the latest Netlify CMS v2.x.x script that builds the admin panel. -->
|
<!-- Include the latest Netlify CMS v2.x.x script that builds the admin panel. -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/netlify-cms@2/dist/netlify-cms.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/netlify-cms@2/dist/netlify-cms.min.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,16 +1,16 @@
|
||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Jiahao Zhang | Academic-DavidZ</title>
|
<title>Jiahao Zhang | Academic-DavidZ</title>
|
||||||
<link>/author/jiahao-zhang/</link>
|
<link>/author/jiahao-zhang/</link>
|
||||||
<atom:link href="/author/jiahao-zhang/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="/author/jiahao-zhang/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<description>Jiahao Zhang</description>
|
<description>Jiahao Zhang</description>
|
||||||
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
||||||
<image>
|
<image>
|
||||||
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
||||||
<title>Jiahao Zhang</title>
|
<title>Jiahao Zhang</title>
|
||||||
<link>/author/jiahao-zhang/</link>
|
<link>/author/jiahao-zhang/</link>
|
||||||
</image>
|
</image>
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
1469
authors/index.html
1469
authors/index.html
File diff suppressed because it is too large
Load Diff
|
@ -1,16 +1,16 @@
|
||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Authors | Academic-DavidZ</title>
|
<title>Authors | Academic-DavidZ</title>
|
||||||
<link>/authors/</link>
|
<link>/authors/</link>
|
||||||
<atom:link href="/authors/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="/authors/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<description>Authors</description>
|
<description>Authors</description>
|
||||||
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
||||||
<image>
|
<image>
|
||||||
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
||||||
<title>Authors</title>
|
<title>Authors</title>
|
||||||
<link>/authors/</link>
|
<link>/authors/</link>
|
||||||
</image>
|
</image>
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,16 +1,16 @@
|
||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Categories | Academic-DavidZ</title>
|
<title>Categories | Academic-DavidZ</title>
|
||||||
<link>/categories/</link>
|
<link>/categories/</link>
|
||||||
<atom:link href="/categories/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<description>Categories</description>
|
<description>Categories</description>
|
||||||
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
||||||
<image>
|
<image>
|
||||||
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
||||||
<title>Categories</title>
|
<title>Categories</title>
|
||||||
<link>/categories/</link>
|
<link>/categories/</link>
|
||||||
</image>
|
</image>
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
File diff suppressed because one or more lines are too long
4411
index.html
4411
index.html
File diff suppressed because it is too large
Load Diff
|
@ -1,18 +1,18 @@
|
||||||
{
|
{
|
||||||
"name": "Academic-DavidZ",
|
"name": "Academic-DavidZ",
|
||||||
"short_name": "Academic-DavidZ",
|
"short_name": "Academic-DavidZ",
|
||||||
"lang": "en-us",
|
"lang": "en-us",
|
||||||
"theme_color": "rgb(251, 191, 183)",
|
"theme_color": "rgb(251, 191, 183)",
|
||||||
"background_color": "rgb(251, 191, 183)",
|
"background_color": "rgb(251, 191, 183)",
|
||||||
"icons": [{
|
"icons": [{
|
||||||
"src": "/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_192x192_fill_lanczos_center_2.png",
|
"src": "/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_192x192_fill_lanczos_center_2.png",
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
}, {
|
}, {
|
||||||
"src": "/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png",
|
"src": "/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
}],
|
}],
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"start_url": "/?utm_source=web_app_manifest"
|
"start_url": "/?utm_source=web_app_manifest"
|
||||||
}
|
}
|
||||||
|
|
144
index.xml
144
index.xml
|
@ -1,72 +1,72 @@
|
||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Academic-DavidZ</title>
|
<title>Academic-DavidZ</title>
|
||||||
<link>/</link>
|
<link>/</link>
|
||||||
<atom:link href="/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<description>Academic-DavidZ</description>
|
<description>Academic-DavidZ</description>
|
||||||
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright><lastBuildDate>Thu, 25 Jun 2020 02:23:04 +0800</lastBuildDate>
|
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright><lastBuildDate>Thu, 25 Jun 2020 02:23:04 +0800</lastBuildDate>
|
||||||
<image>
|
<image>
|
||||||
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
||||||
<title>Academic-DavidZ</title>
|
<title>Academic-DavidZ</title>
|
||||||
<link>/</link>
|
<link>/</link>
|
||||||
</image>
|
</image>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Image Caption Generator</title>
|
<title>Image Caption Generator</title>
|
||||||
<link>/project/image-caption-generator/</link>
|
<link>/project/image-caption-generator/</link>
|
||||||
<pubDate>Thu, 25 Jun 2020 02:23:04 +0800</pubDate>
|
<pubDate>Thu, 25 Jun 2020 02:23:04 +0800</pubDate>
|
||||||
<guid>/project/image-caption-generator/</guid>
|
<guid>/project/image-caption-generator/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Plugin Manager</title>
|
<title>Plugin Manager</title>
|
||||||
<link>/project/plugin-manager/</link>
|
<link>/project/plugin-manager/</link>
|
||||||
<pubDate>Thu, 25 Jun 2020 02:21:29 +0800</pubDate>
|
<pubDate>Thu, 25 Jun 2020 02:21:29 +0800</pubDate>
|
||||||
<guid>/project/plugin-manager/</guid>
|
<guid>/project/plugin-manager/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>COMP2310 Assignment 1(2019)</title>
|
<title>COMP2310 Assignment 1(2019)</title>
|
||||||
<link>/project/comp2310-assignment-1/</link>
|
<link>/project/comp2310-assignment-1/</link>
|
||||||
<pubDate>Thu, 25 Jun 2020 02:16:52 +0800</pubDate>
|
<pubDate>Thu, 25 Jun 2020 02:16:52 +0800</pubDate>
|
||||||
<guid>/project/comp2310-assignment-1/</guid>
|
<guid>/project/comp2310-assignment-1/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>File Collector</title>
|
<title>File Collector</title>
|
||||||
<link>/project/file-collector/</link>
|
<link>/project/file-collector/</link>
|
||||||
<pubDate>Thu, 25 Jun 2020 02:12:47 +0800</pubDate>
|
<pubDate>Thu, 25 Jun 2020 02:12:47 +0800</pubDate>
|
||||||
<guid>/project/file-collector/</guid>
|
<guid>/project/file-collector/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Weihai Construction Consulting System</title>
|
<title>Weihai Construction Consulting System</title>
|
||||||
<link>/project/ccs/</link>
|
<link>/project/ccs/</link>
|
||||||
<pubDate>Thu, 25 Jun 2020 02:07:13 +0800</pubDate>
|
<pubDate>Thu, 25 Jun 2020 02:07:13 +0800</pubDate>
|
||||||
<guid>/project/ccs/</guid>
|
<guid>/project/ccs/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>School Booking System</title>
|
<title>School Booking System</title>
|
||||||
<link>/project/booking-system/</link>
|
<link>/project/booking-system/</link>
|
||||||
<pubDate>Thu, 25 Jun 2020 02:06:13 +0800</pubDate>
|
<pubDate>Thu, 25 Jun 2020 02:06:13 +0800</pubDate>
|
||||||
<guid>/project/booking-system/</guid>
|
<guid>/project/booking-system/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Virtual Judge</title>
|
<title>Virtual Judge</title>
|
||||||
<link>/project/virtual-judge/</link>
|
<link>/project/virtual-judge/</link>
|
||||||
<pubDate>Thu, 25 Jun 2020 01:55:20 +0800</pubDate>
|
<pubDate>Thu, 25 Jun 2020 01:55:20 +0800</pubDate>
|
||||||
<guid>/project/virtual-judge/</guid>
|
<guid>/project/virtual-judge/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
55
js/academic.min.cbb55fd8eafa574bce72dcb94f65cd2c.js
Normal file
55
js/academic.min.cbb55fd8eafa574bce72dcb94f65cd2c.js
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,16 +1,16 @@
|
||||||
// MathJax Configuration
|
// MathJax Configuration
|
||||||
//
|
//
|
||||||
// v2 to v3 upgrade notes:
|
// v2 to v3 upgrade notes:
|
||||||
// - The CommonHTML.linebreaks option is not yet implemented (but may be in a future release)
|
// - The CommonHTML.linebreaks option is not yet implemented (but may be in a future release)
|
||||||
// - The TeX.noUndefined.attributes option is not yet implemented (but may be in a future release)
|
// - The TeX.noUndefined.attributes option is not yet implemented (but may be in a future release)
|
||||||
window.MathJax = {
|
window.MathJax = {
|
||||||
tex: {
|
tex: {
|
||||||
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
||||||
displayMath: [['$$', '$$'], ['\\[', '\\]']],
|
displayMath: [['$$', '$$'], ['\\[', '\\]']],
|
||||||
processEscapes: false,
|
processEscapes: false,
|
||||||
packages: {'[+]': ['noerrors']}
|
packages: {'[+]': ['noerrors']}
|
||||||
},
|
},
|
||||||
loader: {
|
loader: {
|
||||||
load: ['[tex]/noerrors']
|
load: ['[tex]/noerrors']
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
1668
js/vendor/reveal.js/plugin/notes/notes.html
vendored
1668
js/vendor/reveal.js/plugin/notes/notes.html
vendored
File diff suppressed because it is too large
Load Diff
356
js/vendor/reveal.js/plugin/notes/notes.js
vendored
356
js/vendor/reveal.js/plugin/notes/notes.js
vendored
|
@ -1,178 +1,178 @@
|
||||||
/**
|
/**
|
||||||
* Handles opening of and synchronization with the reveal.js
|
* Handles opening of and synchronization with the reveal.js
|
||||||
* notes window.
|
* notes window.
|
||||||
*
|
*
|
||||||
* Handshake process:
|
* Handshake process:
|
||||||
* 1. This window posts 'connect' to notes window
|
* 1. This window posts 'connect' to notes window
|
||||||
* - Includes URL of presentation to show
|
* - Includes URL of presentation to show
|
||||||
* 2. Notes window responds with 'connected' when it is available
|
* 2. Notes window responds with 'connected' when it is available
|
||||||
* 3. This window proceeds to send the current presentation state
|
* 3. This window proceeds to send the current presentation state
|
||||||
* to the notes window
|
* to the notes window
|
||||||
*/
|
*/
|
||||||
var RevealNotes = (function() {
|
var RevealNotes = (function() {
|
||||||
|
|
||||||
var notesPopup = null;
|
var notesPopup = null;
|
||||||
|
|
||||||
function openNotes( notesFilePath ) {
|
function openNotes( notesFilePath ) {
|
||||||
|
|
||||||
if (notesPopup && !notesPopup.closed) {
|
if (notesPopup && !notesPopup.closed) {
|
||||||
notesPopup.focus();
|
notesPopup.focus();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !notesFilePath ) {
|
if( !notesFilePath ) {
|
||||||
var jsFileLocation = document.querySelector('script[src$="notes.js"]').src; // this js file path
|
var jsFileLocation = document.querySelector('script[src$="notes.js"]').src; // this js file path
|
||||||
jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, ''); // the js folder path
|
jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, ''); // the js folder path
|
||||||
notesFilePath = jsFileLocation + 'notes.html';
|
notesFilePath = jsFileLocation + 'notes.html';
|
||||||
}
|
}
|
||||||
|
|
||||||
notesPopup = window.open( notesFilePath, 'reveal.js - Notes', 'width=1100,height=700' );
|
notesPopup = window.open( notesFilePath, 'reveal.js - Notes', 'width=1100,height=700' );
|
||||||
|
|
||||||
if( !notesPopup ) {
|
if( !notesPopup ) {
|
||||||
alert( 'Speaker view popup failed to open. Please make sure popups are allowed and reopen the speaker view.' );
|
alert( 'Speaker view popup failed to open. Please make sure popups are allowed and reopen the speaker view.' );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connect to the notes window through a postmessage handshake.
|
* Connect to the notes window through a postmessage handshake.
|
||||||
* Using postmessage enables us to work in situations where the
|
* Using postmessage enables us to work in situations where the
|
||||||
* origins differ, such as a presentation being opened from the
|
* origins differ, such as a presentation being opened from the
|
||||||
* file system.
|
* file system.
|
||||||
*/
|
*/
|
||||||
function connect() {
|
function connect() {
|
||||||
// Keep trying to connect until we get a 'connected' message back
|
// Keep trying to connect until we get a 'connected' message back
|
||||||
var connectInterval = setInterval( function() {
|
var connectInterval = setInterval( function() {
|
||||||
notesPopup.postMessage( JSON.stringify( {
|
notesPopup.postMessage( JSON.stringify( {
|
||||||
namespace: 'reveal-notes',
|
namespace: 'reveal-notes',
|
||||||
type: 'connect',
|
type: 'connect',
|
||||||
url: window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search,
|
url: window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search,
|
||||||
state: Reveal.getState()
|
state: Reveal.getState()
|
||||||
} ), '*' );
|
} ), '*' );
|
||||||
}, 500 );
|
}, 500 );
|
||||||
|
|
||||||
window.addEventListener( 'message', function( event ) {
|
window.addEventListener( 'message', function( event ) {
|
||||||
var data = JSON.parse( event.data );
|
var data = JSON.parse( event.data );
|
||||||
if( data && data.namespace === 'reveal-notes' && data.type === 'connected' ) {
|
if( data && data.namespace === 'reveal-notes' && data.type === 'connected' ) {
|
||||||
clearInterval( connectInterval );
|
clearInterval( connectInterval );
|
||||||
onConnected();
|
onConnected();
|
||||||
}
|
}
|
||||||
if( data && data.namespace === 'reveal-notes' && data.type === 'call' ) {
|
if( data && data.namespace === 'reveal-notes' && data.type === 'call' ) {
|
||||||
callRevealApi( data.methodName, data.arguments, data.callId );
|
callRevealApi( data.methodName, data.arguments, data.callId );
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Calls the specified Reveal.js method with the provided argument
|
* Calls the specified Reveal.js method with the provided argument
|
||||||
* and then pushes the result to the notes frame.
|
* and then pushes the result to the notes frame.
|
||||||
*/
|
*/
|
||||||
function callRevealApi( methodName, methodArguments, callId ) {
|
function callRevealApi( methodName, methodArguments, callId ) {
|
||||||
|
|
||||||
var result = Reveal[methodName].apply( Reveal, methodArguments );
|
var result = Reveal[methodName].apply( Reveal, methodArguments );
|
||||||
notesPopup.postMessage( JSON.stringify( {
|
notesPopup.postMessage( JSON.stringify( {
|
||||||
namespace: 'reveal-notes',
|
namespace: 'reveal-notes',
|
||||||
type: 'return',
|
type: 'return',
|
||||||
result: result,
|
result: result,
|
||||||
callId: callId
|
callId: callId
|
||||||
} ), '*' );
|
} ), '*' );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Posts the current slide data to the notes window
|
* Posts the current slide data to the notes window
|
||||||
*/
|
*/
|
||||||
function post( event ) {
|
function post( event ) {
|
||||||
|
|
||||||
var slideElement = Reveal.getCurrentSlide(),
|
var slideElement = Reveal.getCurrentSlide(),
|
||||||
notesElement = slideElement.querySelector( 'aside.notes' ),
|
notesElement = slideElement.querySelector( 'aside.notes' ),
|
||||||
fragmentElement = slideElement.querySelector( '.current-fragment' );
|
fragmentElement = slideElement.querySelector( '.current-fragment' );
|
||||||
|
|
||||||
var messageData = {
|
var messageData = {
|
||||||
namespace: 'reveal-notes',
|
namespace: 'reveal-notes',
|
||||||
type: 'state',
|
type: 'state',
|
||||||
notes: '',
|
notes: '',
|
||||||
markdown: false,
|
markdown: false,
|
||||||
whitespace: 'normal',
|
whitespace: 'normal',
|
||||||
state: Reveal.getState()
|
state: Reveal.getState()
|
||||||
};
|
};
|
||||||
|
|
||||||
// Look for notes defined in a slide attribute
|
// Look for notes defined in a slide attribute
|
||||||
if( slideElement.hasAttribute( 'data-notes' ) ) {
|
if( slideElement.hasAttribute( 'data-notes' ) ) {
|
||||||
messageData.notes = slideElement.getAttribute( 'data-notes' );
|
messageData.notes = slideElement.getAttribute( 'data-notes' );
|
||||||
messageData.whitespace = 'pre-wrap';
|
messageData.whitespace = 'pre-wrap';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Look for notes defined in a fragment
|
// Look for notes defined in a fragment
|
||||||
if( fragmentElement ) {
|
if( fragmentElement ) {
|
||||||
var fragmentNotes = fragmentElement.querySelector( 'aside.notes' );
|
var fragmentNotes = fragmentElement.querySelector( 'aside.notes' );
|
||||||
if( fragmentNotes ) {
|
if( fragmentNotes ) {
|
||||||
notesElement = fragmentNotes;
|
notesElement = fragmentNotes;
|
||||||
}
|
}
|
||||||
else if( fragmentElement.hasAttribute( 'data-notes' ) ) {
|
else if( fragmentElement.hasAttribute( 'data-notes' ) ) {
|
||||||
messageData.notes = fragmentElement.getAttribute( 'data-notes' );
|
messageData.notes = fragmentElement.getAttribute( 'data-notes' );
|
||||||
messageData.whitespace = 'pre-wrap';
|
messageData.whitespace = 'pre-wrap';
|
||||||
|
|
||||||
// In case there are slide notes
|
// In case there are slide notes
|
||||||
notesElement = null;
|
notesElement = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Look for notes defined in an aside element
|
// Look for notes defined in an aside element
|
||||||
if( notesElement ) {
|
if( notesElement ) {
|
||||||
messageData.notes = notesElement.innerHTML;
|
messageData.notes = notesElement.innerHTML;
|
||||||
messageData.markdown = typeof notesElement.getAttribute( 'data-markdown' ) === 'string';
|
messageData.markdown = typeof notesElement.getAttribute( 'data-markdown' ) === 'string';
|
||||||
}
|
}
|
||||||
|
|
||||||
notesPopup.postMessage( JSON.stringify( messageData ), '*' );
|
notesPopup.postMessage( JSON.stringify( messageData ), '*' );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called once we have established a connection to the notes
|
* Called once we have established a connection to the notes
|
||||||
* window.
|
* window.
|
||||||
*/
|
*/
|
||||||
function onConnected() {
|
function onConnected() {
|
||||||
|
|
||||||
// Monitor events that trigger a change in state
|
// Monitor events that trigger a change in state
|
||||||
Reveal.addEventListener( 'slidechanged', post );
|
Reveal.addEventListener( 'slidechanged', post );
|
||||||
Reveal.addEventListener( 'fragmentshown', post );
|
Reveal.addEventListener( 'fragmentshown', post );
|
||||||
Reveal.addEventListener( 'fragmenthidden', post );
|
Reveal.addEventListener( 'fragmenthidden', post );
|
||||||
Reveal.addEventListener( 'overviewhidden', post );
|
Reveal.addEventListener( 'overviewhidden', post );
|
||||||
Reveal.addEventListener( 'overviewshown', post );
|
Reveal.addEventListener( 'overviewshown', post );
|
||||||
Reveal.addEventListener( 'paused', post );
|
Reveal.addEventListener( 'paused', post );
|
||||||
Reveal.addEventListener( 'resumed', post );
|
Reveal.addEventListener( 'resumed', post );
|
||||||
|
|
||||||
// Post the initial state
|
// Post the initial state
|
||||||
post();
|
post();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
connect();
|
connect();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
init: function() {
|
init: function() {
|
||||||
|
|
||||||
if( !/receiver/i.test( window.location.search ) ) {
|
if( !/receiver/i.test( window.location.search ) ) {
|
||||||
|
|
||||||
// If the there's a 'notes' query set, open directly
|
// If the there's a 'notes' query set, open directly
|
||||||
if( window.location.search.match( /(\?|\&)notes/gi ) !== null ) {
|
if( window.location.search.match( /(\?|\&)notes/gi ) !== null ) {
|
||||||
openNotes();
|
openNotes();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Open the notes when the 's' key is hit
|
// Open the notes when the 's' key is hit
|
||||||
Reveal.addKeyBinding({keyCode: 83, key: 'S', description: 'Speaker notes view'}, function() {
|
Reveal.addKeyBinding({keyCode: 83, key: 'S', description: 'Speaker notes view'}, function() {
|
||||||
openNotes();
|
openNotes();
|
||||||
} );
|
} );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
open: openNotes
|
open: openNotes
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
||||||
Reveal.registerPlugin( 'notes', RevealNotes );
|
Reveal.registerPlugin( 'notes', RevealNotes );
|
||||||
|
|
1459
post/index.html
1459
post/index.html
File diff suppressed because it is too large
Load Diff
|
@ -1,16 +1,16 @@
|
||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Posts | Academic-DavidZ</title>
|
<title>Posts | Academic-DavidZ</title>
|
||||||
<link>/post/</link>
|
<link>/post/</link>
|
||||||
<atom:link href="/post/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="/post/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<description>Posts</description>
|
<description>Posts</description>
|
||||||
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
||||||
<image>
|
<image>
|
||||||
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
||||||
<title>Posts</title>
|
<title>Posts</title>
|
||||||
<link>/post/</link>
|
<link>/post/</link>
|
||||||
</image>
|
</image>
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
1612
privacy/index.html
1612
privacy/index.html
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1665
project/index.html
1665
project/index.html
File diff suppressed because it is too large
Load Diff
|
@ -1,72 +1,72 @@
|
||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Projects | Academic-DavidZ</title>
|
<title>Projects | Academic-DavidZ</title>
|
||||||
<link>/project/</link>
|
<link>/project/</link>
|
||||||
<atom:link href="/project/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="/project/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<description>Projects</description>
|
<description>Projects</description>
|
||||||
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright><lastBuildDate>Thu, 25 Jun 2020 02:23:04 +0800</lastBuildDate>
|
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright><lastBuildDate>Thu, 25 Jun 2020 02:23:04 +0800</lastBuildDate>
|
||||||
<image>
|
<image>
|
||||||
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
||||||
<title>Projects</title>
|
<title>Projects</title>
|
||||||
<link>/project/</link>
|
<link>/project/</link>
|
||||||
</image>
|
</image>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Image Caption Generator</title>
|
<title>Image Caption Generator</title>
|
||||||
<link>/project/image-caption-generator/</link>
|
<link>/project/image-caption-generator/</link>
|
||||||
<pubDate>Thu, 25 Jun 2020 02:23:04 +0800</pubDate>
|
<pubDate>Thu, 25 Jun 2020 02:23:04 +0800</pubDate>
|
||||||
<guid>/project/image-caption-generator/</guid>
|
<guid>/project/image-caption-generator/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Plugin Manager</title>
|
<title>Plugin Manager</title>
|
||||||
<link>/project/plugin-manager/</link>
|
<link>/project/plugin-manager/</link>
|
||||||
<pubDate>Thu, 25 Jun 2020 02:21:29 +0800</pubDate>
|
<pubDate>Thu, 25 Jun 2020 02:21:29 +0800</pubDate>
|
||||||
<guid>/project/plugin-manager/</guid>
|
<guid>/project/plugin-manager/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>COMP2310 Assignment 1(2019)</title>
|
<title>COMP2310 Assignment 1(2019)</title>
|
||||||
<link>/project/comp2310-assignment-1/</link>
|
<link>/project/comp2310-assignment-1/</link>
|
||||||
<pubDate>Thu, 25 Jun 2020 02:16:52 +0800</pubDate>
|
<pubDate>Thu, 25 Jun 2020 02:16:52 +0800</pubDate>
|
||||||
<guid>/project/comp2310-assignment-1/</guid>
|
<guid>/project/comp2310-assignment-1/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>File Collector</title>
|
<title>File Collector</title>
|
||||||
<link>/project/file-collector/</link>
|
<link>/project/file-collector/</link>
|
||||||
<pubDate>Thu, 25 Jun 2020 02:12:47 +0800</pubDate>
|
<pubDate>Thu, 25 Jun 2020 02:12:47 +0800</pubDate>
|
||||||
<guid>/project/file-collector/</guid>
|
<guid>/project/file-collector/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Weihai Construction Consulting System</title>
|
<title>Weihai Construction Consulting System</title>
|
||||||
<link>/project/ccs/</link>
|
<link>/project/ccs/</link>
|
||||||
<pubDate>Thu, 25 Jun 2020 02:07:13 +0800</pubDate>
|
<pubDate>Thu, 25 Jun 2020 02:07:13 +0800</pubDate>
|
||||||
<guid>/project/ccs/</guid>
|
<guid>/project/ccs/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>School Booking System</title>
|
<title>School Booking System</title>
|
||||||
<link>/project/booking-system/</link>
|
<link>/project/booking-system/</link>
|
||||||
<pubDate>Thu, 25 Jun 2020 02:06:13 +0800</pubDate>
|
<pubDate>Thu, 25 Jun 2020 02:06:13 +0800</pubDate>
|
||||||
<guid>/project/booking-system/</guid>
|
<guid>/project/booking-system/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Virtual Judge</title>
|
<title>Virtual Judge</title>
|
||||||
<link>/project/virtual-judge/</link>
|
<link>/project/virtual-judge/</link>
|
||||||
<pubDate>Thu, 25 Jun 2020 01:55:20 +0800</pubDate>
|
<pubDate>Thu, 25 Jun 2020 01:55:20 +0800</pubDate>
|
||||||
<guid>/project/virtual-judge/</guid>
|
<guid>/project/virtual-judge/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,16 +1,16 @@
|
||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Publications | Academic-DavidZ</title>
|
<title>Publications | Academic-DavidZ</title>
|
||||||
<link>/publication/</link>
|
<link>/publication/</link>
|
||||||
<atom:link href="/publication/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="/publication/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<description>Publications</description>
|
<description>Publications</description>
|
||||||
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
||||||
<image>
|
<image>
|
||||||
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
||||||
<title>Publications</title>
|
<title>Publications</title>
|
||||||
<link>/publication/</link>
|
<link>/publication/</link>
|
||||||
</image>
|
</image>
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,16 +1,16 @@
|
||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Publication_types | Academic-DavidZ</title>
|
<title>Publication_types | Academic-DavidZ</title>
|
||||||
<link>/publication_types/</link>
|
<link>/publication_types/</link>
|
||||||
<atom:link href="/publication_types/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="/publication_types/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<description>Publication_types</description>
|
<description>Publication_types</description>
|
||||||
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
||||||
<image>
|
<image>
|
||||||
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
||||||
<title>Publication_types</title>
|
<title>Publication_types</title>
|
||||||
<link>/publication_types/</link>
|
<link>/publication_types/</link>
|
||||||
</image>
|
</image>
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
1455
tags/index.html
1455
tags/index.html
File diff suppressed because it is too large
Load Diff
|
@ -1,16 +1,16 @@
|
||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Tags | Academic-DavidZ</title>
|
<title>Tags | Academic-DavidZ</title>
|
||||||
<link>/tags/</link>
|
<link>/tags/</link>
|
||||||
<atom:link href="/tags/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="/tags/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<description>Tags</description>
|
<description>Tags</description>
|
||||||
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
||||||
<image>
|
<image>
|
||||||
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
||||||
<title>Tags</title>
|
<title>Tags</title>
|
||||||
<link>/tags/</link>
|
<link>/tags/</link>
|
||||||
</image>
|
</image>
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
1461
talk/index.html
1461
talk/index.html
File diff suppressed because it is too large
Load Diff
|
@ -1,16 +1,16 @@
|
||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Recent & Upcoming Talks | Academic-DavidZ</title>
|
<title>Recent & Upcoming Talks | Academic-DavidZ</title>
|
||||||
<link>/talk/</link>
|
<link>/talk/</link>
|
||||||
<atom:link href="/talk/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="/talk/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<description>Recent & Upcoming Talks</description>
|
<description>Recent & Upcoming Talks</description>
|
||||||
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
<generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>CopyRight © DavidZ</copyright>
|
||||||
<image>
|
<image>
|
||||||
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
<url>/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png</url>
|
||||||
<title>Recent & Upcoming Talks</title>
|
<title>Recent & Upcoming Talks</title>
|
||||||
<link>/talk/</link>
|
<link>/talk/</link>
|
||||||
</image>
|
</image>
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
1612
terms/index.html
1612
terms/index.html
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user