Browse Source

Initial commit

tags/2020.02.01
Break Yang 8 months ago
commit
87b9c689bd
46 changed files with 1824 additions and 0 deletions
  1. +20
    -0
      .editorconfig
  2. +50
    -0
      .forestry/front_matter/templates/blog-post.yml
  3. +71
    -0
      .forestry/front_matter/templates/event.yml
  4. +56
    -0
      .forestry/settings.yml
  5. +6
    -0
      .gitignore
  6. +3
    -0
      .gitmodules
  7. +21
    -0
      LICENSE.md
  8. +46
    -0
      README.md
  9. +16
    -0
      academic.Rproj
  10. +0
    -0
      assets/images/.gitkeep
  11. +7
    -0
      config.toml
  12. +71
    -0
      config/_default/config.toml
  13. +20
    -0
      config/_default/languages.toml
  14. +36
    -0
      config/_default/menus.toml
  15. +268
    -0
      config/_default/params.toml
  16. +75
    -0
      content/authors/admin/_index.md
  17. BIN
      content/authors/admin/avatar.jpg
  18. +14
    -0
      content/home/about.md
  19. +51
    -0
      content/home/accomplishments.md
  20. +20
    -0
      content/home/contact.md
  21. +75
    -0
      content/home/demo.md
  22. +44
    -0
      content/home/experience.md
  23. +64
    -0
      content/home/featured.md
  24. +58
    -0
      content/home/hero.md
  25. +5
    -0
      content/home/index.md
  26. +56
    -0
      content/home/people.md
  27. +67
    -0
      content/home/posts.md
  28. +77
    -0
      content/home/projects.md
  29. +71
    -0
      content/home/publications.md
  30. +35
    -0
      content/home/skills.md
  31. +54
    -0
      content/home/slider.md
  32. +22
    -0
      content/home/tags.md
  33. +69
    -0
      content/home/talks.md
  34. +14
    -0
      content/post/_index.md
  35. +15
    -0
      content/privacy.md
  36. +15
    -0
      content/publication/_index.md
  37. +14
    -0
      content/talk/_index.md
  38. +15
    -0
      content/terms.md
  39. +0
    -0
      data/fonts/.gitkeep
  40. +82
    -0
      data/page_sharer.toml
  41. +0
    -0
      data/themes/.gitkeep
  42. +26
    -0
      netlify.toml
  43. +41
    -0
      scripts/init_kickstart.sh
  44. +0
    -0
      static/img/.gitkeep
  45. +51
    -0
      update_academic.sh
  46. +3
    -0
      view.sh

+ 20
- 0
.editorconfig View File

@@ -0,0 +1,20 @@
# editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.toml]
max_line_length = 100

[*.md]
trim_trailing_whitespace = false

[layouts/shortcodes/*.html]
insert_final_newline = false

+ 50
- 0
.forestry/front_matter/templates/blog-post.yml View File

@@ -0,0 +1,50 @@
---
label: Blog post
hide_body: false
fields:
- type: text
name: title
label: title
- type: text
name: subtitle
label: subtitle
- type: datetime
name: date
label: date
- type: list
name: authors
label: authors
- type: list
name: tags
label: tags
- type: text
name: summary
label: summary
- type: field_group
name: image
label: image
fields:
- type: number
name: placement
label: placement
- type: text
name: caption
label: caption
- type: text
name: focal_point
label: focal_point
description: Image Focal Point (Smart, Center, TopLeft, Top, TopRight, Left, Right,
BottomLeft, Bottom, BottomRight)
- name: projects
type: list
config:
use_select: false
min:
max:
label: projects
description: Associate this content with a project by entering a project folder
name
- name: featured
type: boolean
label: featured
description: You can filter by featured content on your homepage

+ 71
- 0
.forestry/front_matter/templates/event.yml View File

@@ -0,0 +1,71 @@
---
label: Event
hide_body: true
fields:
- type: text
name: title
label: title
- name: subtitle
type: text
config:
required: false
label: subtitle
- type: text
name: event
label: event
description: Name of the event (e.g. Academic Conference)
- type: text
name: event_url
label: Event Link
- type: text
name: location
label: location
- type: datetime
name: publishDate
label: publishDate
description: When to publish this page (choose today)
- type: datetime
name: date
label: date
description: Start time
- type: datetime
name: date_end
label: date_end
description: End time
- type: boolean
name: all_day
label: all_day
- type: list
name: authors
label: Presenters
- type: textarea
name: abstract
label: abstract
- type: text
name: url_slides
label: url_slides
- type: text
name: url_video
label: url_video
- type: text
name: url_code
label: url_code
- type: field_group
name: image
label: image
fields:
- type: number
name: placement
label: placement
- type: text
name: caption
label: caption
- type: text
name: focal_point
label: focal_point
description: Image Focal Point (Smart, Center, TopLeft, Top, TopRight, Left, Right,
BottomLeft, Bottom, BottomRight)
- name: featured
type: boolean
label: featured
description: You can filter by featured content on your homepage

+ 56
- 0
.forestry/settings.yml View File

@@ -0,0 +1,56 @@
---
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
- type: directory
path: content/home
label: Home
create: all
match: "**/*"
- type: directory
path: content/post
label: Blog posts
create: all
match: "**/*"
templates:
- blog-post
- type: directory
path: content/project
label: Projects
create: all
match: "**/*"
- type: directory
path: content/talk
label: Events
create: all
match: "**/*"
templates:
- event
- type: directory
path: content/publication
label: Publications
create: all
match: "**/*"
- type: directory
path: content
label: Pages
create: all
match: "*"
upload_dir: static/img
public_path: "/img"
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

+ 6
- 0
.gitignore View File

@@ -0,0 +1,6 @@
# IDEs
.idea/

# Hugo
resources/
public/

+ 3
- 0
.gitmodules View File

@@ -0,0 +1,3 @@
[submodule "themes/academic"]
path = themes/academic
url = https://github.com/gcushen/hugo-academic.git

+ 21
- 0
LICENSE.md View File

@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2016-present George Cushen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

+ 46
- 0
README.md View File

@@ -0,0 +1,46 @@
<p align="center"><a href="https://sourcethemes.com/academic/" target="_blank" rel="noopener"><img src="https://sourcethemes.com/academic/img/logo_200px.png" alt="Academic logo"></a></p>

# Academic Kickstart: The Template for [Academic Website Builder](https://sourcethemes.com/academic/)

[**Academic**](https://github.com/gcushen/hugo-academic) makes it easy to create a beautiful website for free using Markdown, Jupyter, or RStudio. Customize anything on your site with widgets, themes, and language packs. [Check out the latest demo](https://academic-demo.netlify.com/) of what you'll get in less than 10 minutes, or [view the showcase](https://sourcethemes.com/academic/#expo).

**Academic Kickstart** provides a minimal template to kickstart your new website.

- 👉 [**Get Started**](#install)
- 📚 [View the **documentation**](https://sourcethemes.com/academic/docs/)
- 💬 [Chat with the **Academic community**](https://spectrum.chat/academic) or [**Hugo community**](https://discourse.gohugo.io)
- 🐦 Twitter: [@source_themes](https://twitter.com/source_themes) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithAcademic](https://twitter.com/search?q=%23MadeWithAcademic&src=typd)
- 💡 [Request a **feature** or report a **bug**](https://github.com/gcushen/hugo-academic/issues)
- ⬆️ **Updating?** View the [Update Guide](https://sourcethemes.com/academic/docs/update/) and [Release Notes](https://sourcethemes.com/academic/updates/)
- :heart: **Support development** of Academic:
- ☕️ [**Donate a coffee**](https://paypal.me/cushen)
- 💵 [Become a backer on **Patreon**](https://www.patreon.com/cushen)
- 🖼️ [Decorate your laptop or journal with an Academic **sticker**](https://www.redbubble.com/people/neutreno/works/34387919-academic)
- 👕 [Wear the **T-shirt**](https://academic.threadless.com/)
- :woman_technologist: [**Contribute**](https://sourcethemes.com/academic/docs/contribute/)

[![Screenshot](https://raw.githubusercontent.com/gcushen/hugo-academic/master/academic.png)](https://github.com/gcushen/hugo-academic/)

## Install

You can choose from one of the following four methods to install:

* [**one-click install using your web browser (recommended)**](https://sourcethemes.com/academic/docs/install/#install-with-web-browser)
* [install on your computer using **Git** with the Command Prompt/Terminal app](https://sourcethemes.com/academic/docs/install/#install-with-git)
* [install on your computer by downloading the **ZIP files**](https://sourcethemes.com/academic/docs/install/#install-with-zip)
* [install on your computer with **RStudio**](https://sourcethemes.com/academic/docs/install/#install-with-rstudio)

Then [personalize your new site](https://sourcethemes.com/academic/docs/get-started/).

## Ecosystem

* **[Academic Admin](https://github.com/sourcethemes/academic-admin):** An admin tool to import publications from BibTeX or import assets for an offline site
* **[Academic Scripts](https://github.com/sourcethemes/academic-scripts):** Scripts to help migrate content to new versions of Academic

## License

Copyright 2017-present [George Cushen](https://georgecushen.com).

Released under the [MIT](https://github.com/sourcethemes/academic-kickstart/blob/master/LICENSE.md) license.

[![Analytics](https://ga-beacon.appspot.com/UA-78646709-2/academic-kickstart/readme?pixel)](https://github.com/igrigorik/ga-beacon)

+ 16
- 0
academic.Rproj View File

@@ -0,0 +1,16 @@
Version: 1.0

RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX

AutoAppendNewline: Yes
StripTrailingWhitespace: Yes

+ 0
- 0
assets/images/.gitkeep View File


+ 7
- 0
config.toml View File

@@ -0,0 +1,7 @@
# Academic Website Builder
# https://sourcethemes.com/academic/
#
# The presence of this file is for compatibility with Blogdown and Forestry.
# If you are not using those tools, this file may be deleted.
#
# The actual configuration files are stored in the `config/_default/` folder.

+ 71
- 0
config/_default/config.toml View File

@@ -0,0 +1,71 @@
# Configuration of Academic
# Documentation: https://sourcethemes.com/academic/
#
# This file is formatted using TOML syntax - learn more at https://learnxinyminutes.com/docs/toml/
# Each configuration section is defined by a name in square brackets (e.g. `[outputs]`).

# Title of your site
title = "Academic"

# The URL of your site.
# End your URL with a `/` trailing slash, e.g. `https://example.com/`.
baseurl = "/"

# Enter a copyright notice to display in the site footer.
# To display a copyright symbol, type `&copy;`. For current year, type `{year}`.
copyright = ""

############################
## Advanced options below ##
############################

# Name of Academic theme folder in `themes/`.
theme = "academic"

# Get last modified date for content from Git?
enableGitInfo = false

# Default language to use (if you setup multilingual support)
defaultContentLanguage = "en"
hasCJKLanguage = false # Set `true` for Chinese/Japanese/Korean languages.
defaultContentLanguageInSubdir = false
removePathAccents = true # Workaround for https://github.com/gohugoio/hugo/issues/5687

paginate = 10 # Number of items per page in paginated lists.
enableEmoji = true
footnotereturnlinkcontents = "<sup>^</sup>"
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]

[outputs]
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
section = [ "HTML", "RSS" ]

[mediaTypes."application/manifest+json"]
suffixes = ["webmanifest"]

[outputFormats.WebAppManifest]
mediaType = "application/manifest+json"
rel = "manifest"

[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true # Enable user to embed HTML snippets in Markdown content.
[markup.highlight]
codeFences = false # Disable Hugo's code highlighter as it conflicts with Academic's highligher.
[markup.tableOfContents]
startLevel = 2
endLevel = 3

[imaging]
resampleFilter = "lanczos"
quality = 90
anchor = "smart" # Anchor for cropping. Options include Smart and Center.

# Taxonomies.
[taxonomies]
tag = "tags"
category = "categories"
publication_type = "publication_types"
author = "authors"

+ 20
- 0
config/_default/languages.toml View File

@@ -0,0 +1,20 @@
# Languages
# Create a `[X]` block for each language you want, where X is the language ID.
# Refer to https://sourcethemes.com/academic/docs/language/

# Configure the English version of the site.
[en]
languageCode = "en-us"
# contentDir = "content/en" # Uncomment for multi-lingual sites, and move English content into `en` sub-folder.

# Uncomment the lines below to configure your website in a second language.
#[zh]
# languageCode = "zh-Hans"
# contentDir = "content/zh"
# title = "Chinese website title..."
# [zh.params]
# description = "Site description in Chinese..."
# [[zh.menu.main]]
# name = "Wo"
# url = "#about"
# weight = 1

+ 36
- 0
config/_default/menus.toml View File

@@ -0,0 +1,36 @@
# Navigation Links
# To link a homepage widget, specify the URL as a hash `#` followed by the filename of the
# desired widget in your `content/home/` folder.
# The weight parameter defines the order that the links will appear in.

[[main]]
name = "Home"
url = "#about"
weight = 10

[[main]]
name = "Posts"
url = "#posts"
weight = 20

[[main]]
name = "Projects"
url = "#projects"
weight = 30

[[main]]
name = "Publications"
url = "#featured"
weight = 40

[[main]]
name = "Contact"
url = "#contact"
weight = 60

# Link to a PDF of your resume/CV from the menu.
# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
# [[main]]
# name = "CV"
# url = "files/cv.pdf"
# weight = 70

+ 268
- 0
config/_default/params.toml View File

@@ -0,0 +1,268 @@
# SITE SETUP
# Documentation: https://sourcethemes.com/academic/

############################
## Theme
############################

# Choose a theme.
# Latest themes (may require updating): https://sourcethemes.com/academic/themes/
# Browse built-in themes in `themes/academic/data/themes/`
# Browse user installed themes in `data/themes/`
theme = "minimal"

# Enable users to switch between day and night mode?
day_night = true

# Override the theme's font set (optional).
# Latest font sets (may require updating): https://sourcethemes.com/academic/themes/
# Browse built-in font sets in `themes/academic/data/fonts/`
# Browse user installed font sets in `data/fonts/`
font = ""

# Choose a font size.
# Sizes: XS (extra small), S (small), M (medium), L (large - DEFAULT), XL (extra large)
font_size = "L"

############################
## Basic Info
############################

# Website type
# Improve how search engines understand your site.
# For personal sites, choose "Person".
# For organizations and projects, choose from https://schema.org/Organization#subtypes
# E.g. Person, Organization, LocalBusiness, Project, EducationalOrganization
site_type = "Person"

# Local business type (optional)
# If you entered "LocalBusiness" above, choose the type of business from https://schema.org/LocalBusiness#subtypes
local_business_type = ""

# Organization name (optional)
# Enter an organization or project name. Defaults to the site title from `config.toml`.
org_name = ""

# Description for social sharing and search engines. If undefined, superuser role is used in place.
description = ""

############################
## Site Features
############################

# Enable source code highlighting? true/false
# Documentation: https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options
highlight = true
highlight_languages = ["r"] # Add support for highlighting additional languages
# highlight_style = "github" # For supported styles, see https://cdnjs.com/libraries/highlight.js/

# Enable LaTeX math rendering? true/false
# If false, you can enable math on a per page basis as needed.
math = false

# Enable diagram rendering? true/false
# If false, you can enable diagrams on a per page basis as needed.
diagram = false

# Privacy pack
# Show a cookie consent message to visitors
# Anonymize IP in Google Analytics (if enabled)
privacy_pack = false

# Enable visitors to edit pages?
# `repo` defines the repository URL. `editable` defines which page types can be edited.
edit_page = {repo_url = "https://github.com/gcushen/hugo-academic", content_dir = "", repo_branch = "master", editable = {docs = true, page = false, post = false}}

############################
## Contact details
##
## These details power the Contact widget (if enabled).
## Additionally, for organizations, these details may be used to enrich search engine results.
############################

# Enter contact details (optional). To hide a field, clear it to "".
email = "test@example.org"
phone = "888 888 88 88"

# Address
# For country_code, use the 2-letter ISO code (see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 )
address = {street = "450 Serra Mall", city = "Stanford", region = "CA", postcode = "94305", country = "United States", country_code = "US"}

# Geographic coordinates
# To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
coordinates = {latitude = "37.4275", longitude = "-122.1697"}

# Directions for visitors to locate you.
directions = "Enter Building 1 and take the stairs to Office 200 on Floor 2"

# Office hours
# A list of your office hours. To remove, set to an empty list `[]`.
office_hours = ["Monday 10:00 to 13:00", "Wednesday 09:00 to 10:00"]

# Enter an optional link for booking appointments (e.g. calendly.com).
appointment_url = "https://calendly.com"

# Contact links
# Set to `[]` to disable, or comment out unwanted lines with a hash `#`.
contact_links = [
{icon = "twitter", icon_pack = "fab", name = "DM Me", link = "https://twitter.com/Twitter"},
{icon = "skype", icon_pack = "fab", name = "Skype Me", link = "skype:echo123?call"},
{icon = "keybase", icon_pack = "fab", name = "Chat on Keybase", link = "https://keybase.io/"},
{icon = "comments", icon_pack = "fas", name = "Discuss on Forum", link = "https://discourse.gohugo.io"},
# {icon = "telegram", icon_pack = "fab", name = "Telegram Me", link = "https://telegram.me/@Telegram"},
]

############################
## Social
############################

# Default image for social sharing and search engines. Place image in `static/img/` folder and specify image name here.
sharing_image = ""

# Twitter username (without @). Used when a visitor shares your site on Twitter.
twitter = ""

############################
## Regional Settings
############################

# Date and time format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
# Examples: "Mon, Jan 2, 2006" or "2006-01-02"
date_format = "Jan 2, 2006"
# Examples: "3:04 pm" or "15:04"
time_format = "3:04 PM"

# Address format (choose from the [address_formats] list below or add you own to the list).
address_format = "en-us"

############################
## Advanced
############################

# Main menu alignment (l = left, c = center, r = right) and logo options.
main_menu = {align = "l", show_logo = true}

# Show estimated reading time for posts? (true/false)
reading_time = true

# Display next/previous section pager? (true/false)
section_pager = false
docs_section_pager = true # Display pager in Docs layout (e.g. tutorials)?

# Enable in-built social sharing buttons? (true/false)
sharing = true

# Link authors to their profile page? (true/false)
link_authors = true

# Load JS plugins
# E.g. To load `/assets/js/custom.js`, set `plugins_js = ["custom"]`.
plugins_js = []

# Avatars.
# An avatar is an image that appears next to a user's name.
# An avatar can be uploaded as an image named `avatar` to each user's profile or fetched from Gravatar.com.
[avatar]
# Get user avatars from Gravatar.com? (true/false)
gravatar = false

# Choose a shape for avatar images. Options: circle, square.
shape = "circle"

# Available address formats.
[address_formats]
en-us = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ' ', '']}
en-gb = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ', ', '']}
de = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
fr-fr = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
zh = {order = ['postcode', 'region', 'city', 'street'], delimiters = [' ', ' ', ' ', '']}

# Configuration of publication pages.
[publications]
# Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
# Examples: "Mon, Jan 2, 2006" or "2006-01-02"
date_format = "January 2006"

# Citation style ("apa" or "mla")
citation_style = "apa"

# Configuration of project pages.
[projects]
# Views for associated content.
# 1: List
# 2: Compact
# 3: Card
# 4: Citation (publications only)
post_view = 2
publication_view = 2
talk_view = 2

############################
## Comments
############################
[comments]
# Comment provider:
# 0: Disabled
# 1: Disqus (https://disqus.com)
# 2: Commento (https://commento.io)
engine = 0

# Which page types are commentable?
commentable = {page = true, post = true, docs = true, project = true, publication = true, talk = true}

# Configuration of Disqus.
[comments.disqus]
shortname = "" # Paste the shortname from your Disqus dashboard.
show_count = true # Show comment count in page header? (true/false)

# Configuration of Commento.
[comments.commento]
# If self-hosting Commento, enter its URL here (e.g. "https://commento.?.com"), otherwise leave empty.
url = ""

############################
## Search
############################
[search]
# Search provider:
# 0: No search engine
# 1: Academic (built-in)
# 2: Algolia (https://www.algolia.com)
engine = 1

# Configuration of Algolia search engine.
# Paste the values from your Algolia dashboard.
[search.algolia]
app_id = ""
api_key = ""
index_name = ""
show_logo = false

############################
## Maps
############################
[map]
# To show your address on a map in the Contact widget, enter your latitude and longitude (above)
# and choose a map provider below.
#
# To use Google Maps, set `engine` to 1 and enter your API key that can be obtained here:
# https://developers.google.com/maps/documentation/javascript/get-api-key
# To use OpenStreetMap tiles, set `engine` to 2.
# To use OpenStreetMap on a high traffic site, set `engine` to 3 and enter your API key that can be obtained here:
# https://www.mapbox.com/studio/account/tokens
#
# Map provider:
# 0: No map
# 1: Google Maps
# 2: OpenStreetMap (Mapnik)
# 3: OpenStreetMap (Mapbox)
engine = 2
api_key = ""
zoom = 15

############################
## Marketing
############################
[marketing]
google_analytics = ""
google_tag_manager = ""

+ 75
- 0
content/authors/admin/_index.md View File

@@ -0,0 +1,75 @@
---
# Display name
name: Nelson Bighetti

# Username (this should match the folder name)
authors:
- admin

# Is this the primary user of the site?
superuser: true

# Role/position
role: Professor of Artificial Intelligence

# Organizations/Affiliations
organizations:
- name: Stanford University
url: ""

# Short bio (displayed in user profile at end of posts)
bio: My research interests include distributed robotics, mobile computing and programmable matter.

interests:
- Artificial Intelligence
- Computational Linguistics
- Information Retrieval

education:
courses:
- course: PhD in Artificial Intelligence
institution: Stanford University
year: 2012
- course: MEng in Artificial Intelligence
institution: Massachusetts Institute of Technology
year: 2009
- course: BSc in Artificial Intelligence
institution: Massachusetts Institute of Technology
year: 2008

# Social/Academic Networking
# For available icons, see: https://sourcethemes.com/academic/docs/page-builder/#icons
# For an email link, use "fas" icon pack, "envelope" icon, and a link in the
# form "mailto:your-email@example.com" or "#contact" for contact widget.
social:
- icon: envelope
icon_pack: fas
link: '#contact' # For a direct email link, use "mailto:test@example.org".
- icon: twitter
icon_pack: fab
link: https://twitter.com/GeorgeCushen
- icon: google-scholar
icon_pack: ai
link: https://scholar.google.co.uk/citations?user=sIwtMXoAAAAJ
- icon: github
icon_pack: fab
link: https://github.com/gcushen
# Link to a PDF of your resume/CV from the About widget.
# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
# - icon: cv
# icon_pack: ai
# link: files/cv.pdf

# Enter email to display Gravatar (if Gravatar enabled in Config)
email: ""

# Organizational groups that you belong to (for People widget)
# Set this to `[]` or comment out if you are not using People widget.
user_groups:
- Researchers
- Visitors
---

Nelson Bighetti is a professor of artificial intelligence at the Stanford AI Lab. His research interests include distributed robotics, mobile computing and programmable matter. He leads the Robotic Neurobiology group, which develops self-reconfiguring robots, systems of self-organizing robots, and mobile sensor networks.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed neque elit, tristique placerat feugiat ac, facilisis vitae arcu. Proin eget egestas augue. Praesent ut sem nec arcu pellentesque aliquet. Duis dapibus diam vel metus tempus vulputate.

BIN
content/authors/admin/avatar.jpg View File

Before After
Width: 400  |  Height: 400  |  Size: 13KB

+ 14
- 0
content/home/about.md View File

@@ -0,0 +1,14 @@
+++
# About widget.
widget = "about" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 20 # Order that this section will appear in.

title = "Biography"

# Choose the user profile to display
# This should be the username of a profile in your `content/authors/` folder.
# See https://sourcethemes.com/academic/docs/get-started/#introduce-yourself
author = "admin"
+++

+ 51
- 0
content/home/accomplishments.md View File

@@ -0,0 +1,51 @@
+++
# Accomplishments widget.
widget = "accomplishments" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 50 # Order that this section will appear.

title = "Accomplish&shy;ments"
subtitle = ""

# Date format
# Refer to https://sourcethemes.com/academic/docs/customization/#date-format
date_format = "Jan 2006"

# Accomplishments.
# Add/remove as many `[[item]]` blocks below as you like.
# `title`, `organization` and `date_start` are the required parameters.
# Leave other parameters empty if not required.
# Begin/end multi-line descriptions with 3 quotes `"""`.

[[item]]
organization = "Coursera"
organization_url = "https://www.coursera.org"
title = "Neural Networks and Deep Learning"
url = ""
certificate_url = "https://www.coursera.org"
date_start = "2018-10-01"
date_end = ""
description = ""

[[item]]
organization = "edX"
organization_url = "https://www.edx.org"
title = "Blockchain Fundamentals"
url = "https://www.edx.org/professional-certificate/uc-berkeleyx-blockchain-fundamentals"
certificate_url = "https://www.edx.org"
date_start = "2018-03-01"
date_end = ""
description = "Formulated informed blockchain models, hypotheses, and use cases."
[[item]]
organization = "DataCamp"
organization_url = "https://www.datacamp.com"
title = "Object-Oriented Programming in R: S3 and R6 Course"
url = ""
certificate_url = "https://www.datacamp.com"
date_start = "2017-07-01"
date_end = "2017-12-21"
description = ""

+++

+ 20
- 0
content/home/contact.md View File

@@ -0,0 +1,20 @@
+++
# Contact widget.
widget = "contact" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 130 # Order that this section will appear.

title = "Contact"
subtitle = ""

# Automatically link email and phone?
autolink = true

# Email form provider
# 0: Disable email form
# 1: Netlify (requires that the site is hosted by Netlify)
# 2: formspree.io
email_form = 2
+++


+ 75
- 0
content/home/demo.md View File

@@ -0,0 +1,75 @@
+++
# A Demo section created with the Blank widget.
# Any elements can be added in the body: https://sourcethemes.com/academic/docs/writing-markdown-latex/
# Add more sections by duplicating this file and customizing to your requirements.

widget = "blank" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 15 # Order that this section will appear.

title = "Academic Kickstart"
subtitle = ""

[design]
# Choose how many columns the section has. Valid values: 1 or 2.
columns = "1"

[design.background]
# Apply a background color, gradient, or image.
# Uncomment (by removing `#`) an option to apply it.
# Choose a light or dark text color by setting `text_color_light`.
# Any HTML color name or Hex value is valid.

# Background color.
# color = "navy"
# Background gradient.
gradient_start = "DarkGreen"
gradient_end = "ForestGreen"
# Background image.
# image = "image.jpg" # Name of image in `static/img/`.
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
# image_size = "cover" # Options are `cover` (default), `contain`, or `actual` size.
# image_position = "center" # Options include `left`, `center` (default), or `right`.
# image_parallax = true # Use a fun parallax-like fixed background effect? true/false
# Text color (true=light or false=dark).
text_color_light = true

[design.spacing]
# Customize the section spacing. Order is top, right, bottom, left.
padding = ["20px", "0", "20px", "0"]

[advanced]
# Custom CSS.
css_style = ""
# CSS class.
css_class = ""
+++

Welcome to the **Academic Kickstart** template!

Follow our [Getting Started](https://sourcethemes.com/academic/docs/get-started/) and [Page Builder](https://sourcethemes.com/academic/docs/widgets/) guides to easily personalize the template and then [add your own content](https://sourcethemes.com/academic/docs/managing-content/).

For inspiration, check out [the Markdown files](https://sourcethemes.com/academic/docs/install/#demo-content) which power the [personal demo](https://academic-demo.netlify.com/). The easiest way to publish your new site to the internet is with [Netlify](https://sourcethemes.com/academic/docs/deployment/).

- [View the documentation](https://sourcethemes.com/academic/docs/)
- [Ask a question](http://discuss.gohugo.io/)
- [Request a feature or report a bug](https://github.com/gcushen/hugo-academic/issues)
- Updating? View the [Update Guide](https://sourcethemes.com/academic/docs/update/) and [Release Notes](https://sourcethemes.com/academic/updates/)
- Support development of Academic:
- [Donate a coffee](https://paypal.me/cushen)
- [Become a backer on Patreon](https://www.patreon.com/cushen)
- [Decorate your laptop or journal with an Academic sticker](https://www.redbubble.com/people/neutreno/works/34387919-academic)
- [Wear the T-shirt](https://academic.threadless.com/)

{{% alert note %}}
This homepage section is an example of adding [elements](https://sourcethemes.com/academic/docs/writing-markdown-latex/) to the [*Blank* widget](https://sourcethemes.com/academic/docs/widgets/).

Backgrounds can be applied to any section. Here, the *background* option is set give a *color gradient*.

**To remove this section, delete `content/home/demo.md`.**
{{% /alert %}}

+ 44
- 0
content/home/experience.md View File

@@ -0,0 +1,44 @@
+++
# Experience widget.
widget = "experience" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 40 # Order that this section will appear.

title = "Experience"
subtitle = ""

# Date format for experience
# Refer to https://sourcethemes.com/academic/docs/customization/#date-format
date_format = "Jan 2006"

# Experiences.
# Add/remove as many `[[experience]]` blocks below as you like.
# Required fields are `title`, `company`, and `date_start`.
# Leave `date_end` empty if it's your current employer.
# Begin/end multi-line descriptions with 3 quotes `"""`.
[[experience]]
title = "CEO"
company = "GenCoin"
company_url = ""
location = "California"
date_start = "2017-01-01"
date_end = ""
description = """
Responsibilities include:
* Analysing
* Modelling
* Deploying
"""

[[experience]]
title = "Professor"
company = "University X"
company_url = ""
location = "California"
date_start = "2016-01-01"
date_end = "2016-12-31"
description = """Taught electronic engineering and researched semiconductor physics."""

+++

+ 64
- 0
content/home/featured.md View File

@@ -0,0 +1,64 @@
+++
# A Featured Publications section created with the Featured Content widget.
# This section displays publications from `content/publication/` which have
# `featured = true` in their front matter.

widget = "featured" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 80 # Order that this section will appear.

title = "Featured Publications"
subtitle = ""

[content]
# Page type to display. E.g. post, talk, or publication.
page_type = "publication"
# Choose how much pages you would like to display (0 = all pages)
count = 0

# Page order. Descending (desc) or ascending (asc) date.
order = "desc"

# Filter posts by a taxonomy term.
[content.filters]
tag = ""
category = ""
publication_type = ""
[design]
# Toggle between the various page layout types.
# 1 = List
# 2 = Compact
# 3 = Card
# 4 = Citation (publication only)
view = 3
[design.background]
# Apply a background color, gradient, or image.
# Uncomment (by removing `#`) an option to apply it.
# Choose a light or dark text color by setting `text_color_light`.
# Any HTML color name or Hex value is valid.
# Background color.
# color = "navy"
# Background gradient.
# gradient_start = "DeepSkyBlue"
# gradient_end = "SkyBlue"
# Background image.
# image = "background.jpg" # Name of image in `static/img/`.
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.

# Text color (true=light or false=dark).
# text_color_light = true
[advanced]
# Custom CSS.
css_style = ""
# CSS class.
css_class = ""
+++

+ 58
- 0
content/home/hero.md View File

@@ -0,0 +1,58 @@
+++
# Hero widget.
widget = "hero" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = false # Activate this widget? true/false
weight = 10 # Order that this section will appear.

title = "Academic"

# Hero image (optional). Enter filename of an image in the `static/img/` folder.
hero_media = "hero-academic.png"

[design.background]
# Apply a background color, gradient, or image.
# Uncomment (by removing `#`) an option to apply it.
# Choose a light or dark text color by setting `text_color_light`.
# Any HTML color name or Hex value is valid.

# Background color.
# color = "navy"
# Background gradient.
gradient_start = "#4bb4e3"
gradient_end = "#2b94c3"
# Background image.
# image = "" # Name of image in `static/img/`.
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
# image_size = "cover" # Options are `cover` (default), `contain`, or `actual` size.
# image_position = "center" # Options include `left`, `center` (default), or `right`.
# image_parallax = true # Use a fun parallax-like fixed background effect? true/false
# Text color (true=light or false=dark).
text_color_light = true

# Call to action links (optional).
# Display link(s) by specifying a URL and label below. Icon is optional for `[cta]`.
# Remove a link/note by deleting a cta/note block.
[cta]
url = "https://sourcethemes.com/academic/docs/install/"
label = "Get Started"
icon_pack = "fas"
icon = "download"
[cta_alt]
url = "https://sourcethemes.com/academic/"
label = "View Documentation"

# Note. An optional note to show underneath the links.
[cta_note]
label = '<a class="js-github-release" href="https://sourcethemes.com/academic/updates" data-repo="gcushen/hugo-academic">Latest release<!-- V --></a>'
+++

**The Best Way to Create the Website You Want from Markdown (or Jupyter/RStudio)**

Build **Anything** with Widgets

<span style="text-shadow: none;"><a class="github-button" href="https://github.com/gcushen/hugo-academic" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star this on GitHub">Star</a><script async defer src="https://buttons.github.io/buttons.js"></script></span>

+ 5
- 0
content/home/index.md View File

@@ -0,0 +1,5 @@
+++
# Homepage
type = "widget_page"
headless = true # Homepage is headless, other widget pages are not.
+++

+ 56
- 0
content/home/people.md View File

@@ -0,0 +1,56 @@
+++
# A "Meet the Team" section created with the People widget.
# This section displays people from `content/authors/` which belong to the `user_groups` below.

widget = "people" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = false # Activate this widget? true/false
weight = 68 # Order that this section will appear.

title = "Meet the Team"
subtitle = ""

[content]
# Choose which groups/teams of users to display.
# Edit `user_groups` in each user's profile to add them to one or more of these groups.
user_groups = ["Principal Investigators",
"Researchers",
"Grad Students",
"Administration",
"Visitors",
"Alumni"]

[design]
# Show user's social networking links? (true/false)
show_social = false

# Show user's interests? (true/false)
show_interests = true

[design.background]
# Apply a background color, gradient, or image.
# Uncomment (by removing `#`) an option to apply it.
# Choose a light or dark text color by setting `text_color_light`.
# Any HTML color name or Hex value is valid.
# Background color.
# color = "navy"
# Background gradient.
# gradient_start = "DeepSkyBlue"
# gradient_end = "SkyBlue"
# Background image.
# image = "background.jpg" # Name of image in `static/img/`.
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.

# Text color (true=light or false=dark).
# text_color_light = true
[advanced]
# Custom CSS.
css_style = ""
# CSS class.
css_class = ""
+++

+ 67
- 0
content/home/posts.md View File

@@ -0,0 +1,67 @@
+++
# A Recent Blog Posts section created with the Pages widget.
# This section displays recent blog posts from `content/post/`.

widget = "pages" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 60 # Order that this section will appear.

title = "Recent Posts"
subtitle = ""

[content]
# Page type to display. E.g. post, talk, or publication.
page_type = "post"
# Choose how much pages you would like to display (0 = all pages)
count = 5
# Choose how many pages you would like to offset by
offset = 0

# Page order. Descending (desc) or ascending (asc) date.
order = "desc"

# Filter posts by a taxonomy term.
[content.filters]
tag = ""
category = ""
publication_type = ""
exclude_featured = false
[design]
# Toggle between the various page layout types.
# 1 = List
# 2 = Compact
# 3 = Card
# 4 = Citation (publication only)
view = 2
[design.background]
# Apply a background color, gradient, or image.
# Uncomment (by removing `#`) an option to apply it.
# Choose a light or dark text color by setting `text_color_light`.
# Any HTML color name or Hex value is valid.
# Background color.
# color = "navy"
# Background gradient.
# gradient_start = "DeepSkyBlue"
# gradient_end = "SkyBlue"
# Background image.
# image = "background.jpg" # Name of image in `static/img/`.
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.

# Text color (true=light or false=dark).
# text_color_light = true
[advanced]
# Custom CSS.
css_style = ""
# CSS class.
css_class = ""
+++

+ 77
- 0
content/home/projects.md View File

@@ -0,0 +1,77 @@
+++
# A Projects section created with the Portfolio widget.
widget = "portfolio" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 65 # Order that this section will appear.

title = "Projects"
subtitle = ""

[content]
# Page type to display. E.g. project.
page_type = "project"
# Filter toolbar (optional).
# Add or remove as many filters (`[[content.filter_button]]` instances) as you like.
# To show all items, set `tag` to "*".
# To filter by a specific tag, set `tag` to an existing tag name.
# To remove toolbar, delete/comment all instances of `[[content.filter_button]]` below.
# Default filter index (e.g. 0 corresponds to the first `[[filter_button]]` instance below).
filter_default = 0
# [[content.filter_button]]
# name = "All"
# tag = "*"
# [[content.filter_button]]
# name = "Deep Learning"
# tag = "Deep Learning"
# [[content.filter_button]]
# name = "Other"
# tag = "Demo"

[design]
# Choose how many columns the section has. Valid values: 1 or 2.
columns = "2"

# Toggle between the various page layout types.
# 1 = List
# 2 = Compact
# 3 = Card
# 5 = Showcase
view = 3

# For Showcase view, flip alternate rows?
flip_alt_rows = false

[design.background]
# Apply a background color, gradient, or image.
# Uncomment (by removing `#`) an option to apply it.
# Choose a light or dark text color by setting `text_color_light`.
# Any HTML color name or Hex value is valid.
# Background color.
# color = "navy"
# Background gradient.
# gradient_start = "DeepSkyBlue"
# gradient_end = "SkyBlue"
# Background image.
# image = "background.jpg" # Name of image in `static/img/`.
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.

# Text color (true=light or false=dark).
# text_color_light = true
[advanced]
# Custom CSS.
css_style = ""
# CSS class.
css_class = ""
+++


+ 71
- 0
content/home/publications.md View File

@@ -0,0 +1,71 @@
+++
# A Recent Publications section created with the Pages widget.
# This section displays recent blog posts from `content/publication/`.

widget = "pages" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 90 # Order that this section will appear.

title = "Recent Publications"
subtitle = ""

[content]
# Page type to display. E.g. post, talk, or publication.
page_type = "publication"
# Choose how much pages you would like to display (0 = all pages)
count = 5
# Choose how many pages you would like to offset by
offset = 0

# Page order. Descending (desc) or ascending (asc) date.
order = "desc"

# Filter posts by a taxonomy term.
[content.filters]
tag = ""
category = ""
publication_type = ""
exclude_featured = false
[design]
# Toggle between the various page layout types.
# 1 = List
# 2 = Compact
# 3 = Card
# 4 = Citation (publication only)
view = 2
[design.background]
# Apply a background color, gradient, or image.
# Uncomment (by removing `#`) an option to apply it.
# Choose a light or dark text color by setting `text_color_light`.
# Any HTML color name or Hex value is valid.
# Background color.
# color = "navy"
# Background gradient.
# gradient_start = "DeepSkyBlue"
# gradient_end = "SkyBlue"
# Background image.
# image = "background.jpg" # Name of image in `static/img/`.
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.

# Text color (true=light or false=dark).
# text_color_light = true
[advanced]
# Custom CSS.
css_style = ""
# CSS class.
css_class = ""
+++

{{% alert note %}}
Quickly discover relevant content by [filtering publications]({{< ref "/publication/_index.md" >}}).
{{% /alert %}}

+ 35
- 0
content/home/skills.md View File

@@ -0,0 +1,35 @@
+++
# A Skills section created with the Featurette widget.
widget = "featurette" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 30 # Order that this section will appear.

title = "Skills"
subtitle = ""

# Showcase personal skills or business features.
#
# Add/remove as many `[[feature]]` blocks below as you like.
#
# For available icons, see: https://sourcethemes.com/academic/docs/widgets/#icons

[[feature]]
icon = "r-project"
icon_pack = "fab"
name = "R"
description = "90%"
[[feature]]
icon = "chart-line"
icon_pack = "fas"
name = "Statistics"
description = "100%"
[[feature]]
icon = "camera-retro"
icon_pack = "fas"
name = "Photography"
description = "10%"

+++

+ 54
- 0
content/home/slider.md View File

@@ -0,0 +1,54 @@
+++
# Slider widget.
widget = "slider" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = false # Activate this widget? true/false
weight = 1 # Order that this section will appear.

# Slide interval.
# Use `false` to disable animation or enter a time in ms, e.g. `5000` (5s).
interval = false

# Slide height (optional).
# E.g. `500px` for 500 pixels or `calc(100vh - 70px)` for full screen.
height = ""

# Slides.
# Duplicate an `[[item]]` block to add more slides.
[[item]]
title = "Hello"
content = "I am center aligned :smile:"
align = "center" # Choose `center`, `left`, or `right`.

# Overlay a color or image (optional).
# Deactivate an option by commenting out the line, prefixing it with `#`.
overlay_color = "#666" # An HTML color value.
overlay_img = "headers/bubbles-wide.jpg" # Image path relative to your `static/img/` folder.
overlay_filter = 0.5 # Darken the image. Value in range 0-1.

# Call to action button (optional).
# Activate the button by specifying a URL and button label below.
# Deactivate by commenting out parameters, prefixing lines with `#`.
cta_label = "Get Academic"
cta_url = "https://sourcethemes.com/academic/"
cta_icon_pack = "fas"
cta_icon = "graduation-cap"

[[item]]
title = "Left"
content = "I am left aligned :smile:"
align = "left"

overlay_color = "#555" # An HTML color value.
overlay_img = "" # Image path relative to your `static/img/` folder.
overlay_filter = 0.5 # Darken the image. Value in range 0-1.

[[item]]
title = "Right"
content = "I am right aligned :smile:"
align = "right"

overlay_color = "#333" # An HTML color value.
overlay_img = "" # Image path relative to your `static/img/` folder.
overlay_filter = 0.5 # Darken the image. Value in range 0-1.
+++

+ 22
- 0
content/home/tags.md View File

@@ -0,0 +1,22 @@
+++
# Tag Cloud widget.
widget = "tag_cloud" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 120 # Order that this section will appear.

title = "Popular Topics"
subtitle = ""

[content]
# Choose the taxonomy from `config.toml` to display (e.g. tags, categories)
taxonomy = "tags"
# Choose how many tags you would like to display (0 = all tags)
count = 20

[design]
# Minimum and maximum font sizes (1.0 = 100%).
font_size_min = 0.7
font_size_max = 2.0
+++

+ 69
- 0
content/home/talks.md View File

@@ -0,0 +1,69 @@
+++
# A Recent and Upcoming Talks section created with the Pages widget.
# This section displays recent talks from `content/talk/`.

widget = "pages" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 70 # Order that this section will appear.

title = "Recent & Upcoming Talks"
subtitle = ""

[content]
# Page type to display. E.g. post, talk, or publication.
page_type = "talk"
# Choose how much pages you would like to display (0 = all pages)
count = 5
# Choose how many pages you would like to offset by
offset = 0

# Page order. Descending (desc) or ascending (asc) date.
order = "desc"

# Filter posts by a taxonomy term.
[content.filters]
tag = ""
category = ""
publication_type = ""
exclude_featured = false
exclude_past = false
exclude_future = false
[design]
# Toggle between the various page layout types.
# 1 = List
# 2 = Compact
# 3 = Card
# 4 = Citation (publication only)
view = 2
[design.background]
# Apply a background color, gradient, or image.
# Uncomment (by removing `#`) an option to apply it.
# Choose a light or dark text color by setting `text_color_light`.
# Any HTML color name or Hex value is valid.

# Background color.
# color = "navy"
# Background gradient.
# gradient_start = "DeepSkyBlue"
# gradient_end = "SkyBlue"
# Background image.
# image = "background.jpg" # Name of image in `static/img/`.
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.

# Text color (true=light or false=dark).
# text_color_light = true
[advanced]
# Custom CSS.
css_style = ""
# CSS class.
css_class = ""
+++

+ 14
- 0
content/post/_index.md View File

@@ -0,0 +1,14 @@
---
title: Posts

# View.
# 1 = List
# 2 = Compact
# 3 = Card
view: 2

# Optional header image (relative to `static/img/` folder).
header:
caption: ""
image: ""
---

+ 15
- 0
content/privacy.md View File

@@ -0,0 +1,15 @@
---
title: Privacy Policy
date: "2018-06-28T00:00:00+01:00"
draft: true
share: false
commentable: false
editable: false

# Optional header image (relative to `static/img/` folder).
header:
caption: ""
image: ""
---

Add your privacy policy here and set `draft: false` to publish it. Otherwise, delete this file if you don't need it.

+ 15
- 0
content/publication/_index.md View File

@@ -0,0 +1,15 @@
---
title: Publications

# View.
# 1 = List
# 2 = Compact
# 3 = Card
# 4 = Citation
view: 4

# Optional header image (relative to `static/img/` folder).
header:
caption: ""
image: ""
---

+ 14
- 0
content/talk/_index.md View File

@@ -0,0 +1,14 @@
---
title: Recent & Upcoming Talks

# View.
# 1 = List
# 2 = Compact
# 3 = Card
view: 2

# Optional header image (relative to `static/img/` folder).
header:
caption: ""
image: ""
---

+ 15
- 0
content/terms.md View File

@@ -0,0 +1,15 @@
---
title: Terms
date: "2018-06-28T00:00:00+01:00"
draft: true
share: false
commentable: false
editable: false

# Optional header image (relative to `static/img/` folder).
header:
caption: ""
image: ""
---

Add your terms here and set `draft: false` to publish it. Otherwise, delete this file if you don't need it.

+ 0
- 0
data/fonts/.gitkeep View File


+ 82
- 0
data/page_sharer.toml View File

@@ -0,0 +1,82 @@
# Page Sharer
# Documentation: https://sourcethemes.com/academic/docs/customization/#page-sharer

[[buttons]]
id = "twitter"
url = "https://twitter.com/intent/tweet?url={url}&text={title}"
title = "Twitter"
icon_pack = "fab"
icon = "twitter"
enable = true

[[buttons]]
id = "facebook"
url = "https://www.facebook.com/sharer.php?u={url}&t={title}"
title = "Facebook"
icon_pack = "fab"
icon = "facebook"
enable = true

[[buttons]]
id = "email"
url = "mailto:?subject={title}&body={url}"
title = "Email"
icon_pack = "fas"
icon = "envelope"
enable = true

[[buttons]]
id = "linkedin"
url = "https://www.linkedin.com/shareArticle?url={url}&title={title}"
title = "LinkedIn"
icon_pack = "fab"
icon = "linkedin-in"
enable = true

[[buttons]]
id = "whatsapp"
url = "https://web.whatsapp.com/send?text={title}%20{url}"
title = "WhatsApp"
icon_pack = "fab"
icon = "whatsapp"
enable = true

[[buttons]]
id = "weibo"
url = "https://service.weibo.com/share/share.php?url={url}&title={title}"
title = "Weibo"
icon_pack = "fab"
icon = "weibo"
enable = true

[[buttons]]
id = "reddit"
url = "https://reddit.com/submit?url={url}&title={title}"
title = "Reddit"
icon_pack = "fab"
icon = "reddit-alien"
enable = false

[[buttons]]
id = "pinterest"
url = "https://pinterest.com/pin/create/link/?url={url}&description={title}"
title = "Pinterest"
icon_pack = "fab"
icon = "pinterest"
enable = false

[[buttons]]
id = "xing"
url = "https://www.xing.com/spi/shares/new?url={url}&title={title}"
title = "Xing"
icon_pack = "fab"
icon = "xing"
enable = false

[[buttons]]
id = "tumblr"
url = "https://www.tumblr.com/widgets/share/tool?canonicalUrl={url}&title={title}"
title = "Tumblr"
icon_pack = "fab"
icon = "tumblr"
enable = false

+ 0
- 0
data/themes/.gitkeep View File


+ 26
- 0
netlify.toml View File

@@ -0,0 +1,26 @@
[build]
command = "hugo --gc --minify -b $URL"
publish = "public"

[build.environment]
HUGO_VERSION = "0.63.1"
HUGO_ENABLEGITINFO = "true"

[context.production.environment]
HUGO_ENV = "production"

[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"

[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"

[[headers]]
for = "*.webmanifest"
[headers.values]
Content-Type = "application/manifest+json; charset=UTF-8"

[[headers]]
for = "index.xml"
[headers.values]
Content-Type = "application/rss+xml"

+ 41
- 0
scripts/init_kickstart.sh View File

@@ -0,0 +1,41 @@
#!/usr/bin/env bash

# WARNING: this will reset the project to the Kickstart template!

# Update Academic
cd ..
source update_academic.sh
cd scripts/

#################################################

# Install demo config
rsync -av ../themes/academic/exampleSite/config/ ../config/

# Install demo user
rsync -av ../themes/academic/exampleSite/content/authors/ ../content/authors/

# Install page sharer button customizer
rsync -av ../themes/academic/data/page_sharer.toml ../data/

# Install an example instance of each widget type
rsync -av --exclude gallery/ ../themes/academic/exampleSite/content/home/ ../content/home/

# Install indices
rsync -av ../themes/academic/exampleSite/content/post/_index.md ../content/post/_index.md
rsync -av ../themes/academic/exampleSite/content/publication/_index.md ../content/publication/_index.md
rsync -av ../themes/academic/exampleSite/content/talk/_index.md ../content/talk/_index.md

# Skip static dir - do not import the demo's media library

#################################################

# Post processing

# Deactivate Hero
sed -i '' -e 's/active = true/active = false/' ../content/home/hero.md

# Manual Steps:
# - content/home/project.md: Re-comment out project filters
# - content/home/demo.md: Re-modify content & set gradient background instead of image
# - content/home/hero.md: Clear `hero_media` value & set gradient background instead of image

+ 0
- 0
static/img/.gitkeep View File


+ 51
- 0
update_academic.sh View File

@@ -0,0 +1,51 @@
#!/usr/bin/env bash

# Source Themes Academic: Theme updater
# Checks for available updates and then asks to install any updates.
# https://sourcethemes.com/academic/
#
# Command: bash ./update_academic.sh

# Check for prerequisites.
if [ ! -d .git ]; then
echo "ERROR: This tool is for Git repositories only."
exit 1;
fi

function view_update () {
echo -e "Checking for updates...\n"
cd themes/academic
git fetch
git log --pretty=oneline --abbrev-commit --decorate HEAD..origin/master
cd ../../
}

# Function to update Academic
function do_update () {
# Apply any updates
git submodule update --remote --merge

# - Update Netlify.toml with required Hugo version
if [ -f ./netlify.toml ]; then
# Postfix '.0' to Hugo min_version as sadly it doesn't map to a precise semantic version.
version=$(sed -n 's/^min_version = //p' themes/academic/theme.toml | tr -d '"')
version="${version}.0"
echo "Set Netlify Hugo version to v${version}"
sed -i.bak -e "s/HUGO_VERSION = .*/HUGO_VERSION = \"$version\"/g" ./netlify.toml && rm -f ./netlify.toml.bak
fi

echo
echo "View the release notes at: https://sourcethemes.com/academic/updates"
echo "If there are breaking changes, the config and/or front matter of content" \
"may need upgrading by following the steps in the release notes."
}

# Display currently installed version (although could be between versions if updated to master rather than tag)
version=$(sed -n 's/^version = "//p' themes/academic/data/academic.toml)
echo -e "Source Themes Academic v$version\n"

# Display available updates
view_update

# Apply any updates
do_update

+ 3
- 0
view.sh View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash

hugo --i18n-warnings server

Loading…
Cancel
Save