Initial commit

This commit is contained in:
George Cushen 2017-11-23 01:41:58 +00:00
parent 6666b40fb1
commit ed6d2ce461
20 changed files with 629 additions and 2 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
public/
.idea/

3
.gitmodules vendored Normal file
View File

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

View File

View File

@ -1,2 +1,37 @@
# academic-kickstart
Easily create a website using Academic
# Academic Kickstart
**Academic** is a framework to help you create a beautiful website quickly. Perfect for personal, student, or academic websites. [Check out the latest demo](https://themes.gohugo.io/theme/academic/) of what you'll get in less than 10 minutes or [view the documentation](https://sourcethemes.com/academic/docs/).
**Academic Kickstart** provides a minimal template to kickstart your new website by following the simple steps below.
[![Screenshot](https://raw.githubusercontent.com/gcushen/hugo-academic/master/academic.png)](https://github.com/gcushen/hugo-academic/)
Prerequisites:
* [Download and install Git](https://git-scm.com/downloads)
* [Download and install Hugo](https://gohugo.io/getting-started/installing/#quick-install)
Easily create a website using the Academic framework by following these simple steps:
1. Clone (or [Fork](https://github.com/sourcethemes/academic-kickstart#fork-destination-box)) this repository using Git:
git clone https://github.com/sourcethemes/academic-kickstart.git My_Website
2. Apply any updates to Academic (optional):
cd My_Website
bash update_academic.sh
3. View your new website (from within your `My_Website` folder):
hugo server
4. Read the [Quick Start Guide](https://sourcethemes.com/academic/docs/) to learn how to add Markdown content, customize your site, and deploy it.
## License
Copyright 2017 [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)

275
config.toml Normal file
View File

@ -0,0 +1,275 @@
baseurl = "/" # End your URL with a `/` trailing slash, e.g. `https://example.com/`.
title = "Academic"
copyright = "© 2017 Your Name"
theme = "academic"
enableEmoji = true
footnotereturnlinkcontents = "<sup>^</sup>"
ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
preserveTaxonomyNames = true
paginate = 10
# Enable comments by entering your Disqus shortname
disqusShortname = ""
# Enable analytics by entering your Google Analytics tracking ID
googleAnalytics = ""
# Default language to use (if you setup multilingual support)
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
[outputs]
home = [ "HTML", "CSS", "RSS" ]
section = [ "HTML", "RSS" ]
# Configure BlackFriday Markdown rendering.
# See: https://gohugo.io/readfiles/bfconfig/
[blackfriday]
hrefTargetBlank = true # `true` opens external links in a new tab.
fractions = true # `false` disables smart fractions (e.g. 5/12 formatted as a fraction).
smartypants = true # `false` disables all smart punctuation substitutions (e.g. smart quotes, dashes, fractions).
[params]
# Color theme.
# Choose from `default`, `ocean`, `forest`, `coffee`, or `dark`.
color_theme = "default"
# Font style.
# Choose from `default`, `classic`, or `playfair`.
font = "default"
# Your details.
name = "Lena Smith"
role = "Professor of Artificial Intelligence"
# Organizations/Affiliations.
# Separate multiple entries with a comma, using the form: `[ {name="Org1", url=""}, {name="Org2", url=""} ]`.
organizations = [ { name = "Stanford University", url = "" } ]
gravatar = false # Get your avatar from Gravatar.com? (true/false)
avatar = "portrait.jpg" # Specify an avatar image (in `static/img/` folder) or delete value to disable avatar.
email = "test@example.org"
address = "Building 1 Room 1, Stanford University, California, 90210, USA"
office_hours = "Monday 10:00 to 13:00 or email for appointment"
phone = "888 888 88 88"
skype = "echo123"
telegram = ""
# Enable Keybase in Contact widget by entering your keybase.io username.
keybase = ""
# Discussion link (e.g. link to a forum, mailing list, or chat).
# Uncomment line below to use.
# discussion = { name = "Discuss", url = "https://discourse.gohugo.io" }
# Diplay a logo in navigation bar rather than title (optional).
# To enable, place an image in `static/img/` and reference its filename below. To disable, set the value to "".
logo = ""
# Enable/disable map in Contact widget.
# To show your address on a map in the contact widget, you need to enter your latitude, longitude and choose
# a map provider below.
# To use Google Maps, set `map = 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 `map = 2`.
# To use OpenStreetMap on a high traffic site, set `map = 3` and enter your API key that can be obtained here:
# https://www.mapbox.com/studio/account/tokens
# To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
#
# Map provider:
# 0: No map
# 1: Google Maps
# 2: OpenStreetMap (Mapnik)
# 3: OpenStreetMap (Mapbox)
map = 0
map_api_key = ""
latitude = "37.4275"
longitude = "-122.1697"
zoom = 15
# Date and time format (refer to Go's date format: http://fuckinggodateformat.com )
# 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"
# Show estimated reading time for posts?
reading_time = true
# Display comment count? Requires commenting to be enabled.
comment_count = true
# Display section pager for posts?
section_pager = false
# Enable global LaTeX math rendering?
# If false, you can enable it locally on a per page basis.
math = false
# Highlight.js options
# highlight
# Enable global source code highlighting? If false, you can
# override it for a particular page in that page's preamble.
#
# Example: highlight = true
#
# highlight_languages
# Add support for highlighting additional languages. Support for
# languages mentioned here will be included in all pages. You
# can also set this variable for a particular page in that
# page's preamble.
#
# Example: highlight_languages = ["go", "lisp", "ocaml"]
#
# highlight_style
# Choose a different CSS style for highlighting source
# code. Setting this option in a page's preamble has no
# effect.
#
# Example: highlight_style = "github-gist"
#
# For the list of supported languages and styles, see:
# https://cdnjs.com/libraries/highlight.js/
#
# For more info on the highlighting options, see:
# https://sourcethemes.com/academic/post/writing-markdown-latex/#highlighting-options
highlight = true
highlight_languages = []
# highlight_style = "github"
# Enable native social sharing buttons?
sharing = true
# Link custom CSS and JS assets
# (relative to /static/css and /static/js respectively)
custom_css = []
custom_js = []
# Publication types.
# Used to categorize publications.
# The index of the publication type in the list is used as its unique numerical identifier.
# The numeric ID is used in a publication's frontmatter to categorize it.
# The language can be edited below.
# For multi-lingual sites, copy this block to each language section at the end of this file.
publication_types = [
'Uncategorized', # 0
'Conference proceedings', # 1
'Journal', # 2
'Work in progress', # 3
'Technical report', # 4
'Book', # 5
'Book chapter' # 6
]
# Configuration of talk pages.
[params.talks]
# Show talk time?
time = true
# Configuration of publication pages.
[params.publications]
# Date format (refer to Go's date format: http://fuckinggodateformat.com )
# Examples: "Mon, Jan 2, 2006" or "2006-01-02"
date_format = "January, 2006"
# Configuration of project pages.
[params.projects]
# List publications and talks related to the project?
list_children = true
# Publication list format.
# 0 = Simple
# 1 = Detailed
# 2 = APA
# 3 = MLA
publication_format = 3
# Social/Academic Networking
#
# Icon pack "fa" includes the following social network icons:
#
# twitter, weibo, linkedin, github, facebook, pinterest, google-plus,
# youtube, instagram, soundcloud
#
# For email icon, use "fa" icon pack, "envelope" icon, and
# "mailto:your@email.com" as the link.
#
# Full list: https://fortawesome.github.io/Font-Awesome/icons/
#
# Icon pack "ai" includes the following academic network icons:
#
# google-scholar, arxiv, orcid, researchgate, mendeley
#
# Full list: https://jpswalsh.github.io/academicons/
[[params.social]]
icon = "envelope"
icon_pack = "fa"
link = "mailto:test@example.org"
[[params.social]]
icon = "twitter"
icon_pack = "fa"
link = "//twitter.com/GeorgeCushen"
[[params.social]]
icon = "google-scholar"
icon_pack = "ai"
link = "https://scholar.google.co.uk/citations?user=sIwtMXoAAAAJ"
[[params.social]]
icon = "github"
icon_pack = "fa"
link = "//github.com/gcushen"
# 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.
[params.menus]
# Align the main menu to the right of the page? (true/false)
align_right = true
[[menu.main]]
name = "Home"
url = "#about"
weight = 1
[[menu.main]]
name = "Publications"
url = "#publications_selected"
weight = 2
[[menu.main]]
name = "Posts"
url = "#posts"
weight = 3
[[menu.main]]
name = "Projects"
url = "#projects"
weight = 4
[[menu.main]]
name = "Teaching"
url = "#teaching"
weight = 5
[[menu.main]]
name = "Contact"
url = "#contact"
weight = 6
# Taxonomies.
[taxonomies]
tag = "tags"
category = "categories"
publication_type = "publication_types"
# Languages
# Create a [languages.X] block for each language you want, where X is the language ID.
# Configure the English version of the website.
[Languages.en]
languageCode = "en-us"

40
content/home/about.md Normal file
View File

@ -0,0 +1,40 @@
+++
# About/Biography widget.
widget = "about"
active = true
date = "2016-04-20T00:00:00"
# Order that this section will appear in.
weight = 5
# List your academic interests.
[interests]
interests = [
"Artificial Intelligence",
"Computational Linguistics",
"Information Retrieval"
]
# List your qualifications (such as academic degrees).
[[education.courses]]
course = "PhD in Artificial Intelligence"
institution = "Stanford University"
year = 2012
[[education.courses]]
course = "MEng in Artificial Intelligence"
institution = "Massachusetts Institute of Technology"
year = 2009
[[education.courses]]
course = "BSc in Artificial Intelligence"
institution = "Massachusetts Institute of Technology"
year = 2008
+++
# Biography
Lena Smith is a professor of artificial intelligence at the Stanford AI Lab. Her research interests include distributed robotics, mobile computing and programmable matter. She 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.

17
content/home/contact.md Normal file
View File

@ -0,0 +1,17 @@
+++
# Contact widget.
widget = "contact"
active = true
date = "2016-04-20T00:00:00"
title = "Contact"
subtitle = ""
# Order that this section will appear in.
weight = 70
# Automatically link email and phone?
autolink = true
+++

24
content/home/posts.md Normal file
View File

@ -0,0 +1,24 @@
+++
# Recent Posts widget.
# This widget displays recent posts from `content/post/`.
widget = "posts"
active = true
date = "2016-04-20T00:00:00"
title = "Recent Posts"
subtitle = ""
# Order that this section will appear in.
weight = 40
# Filter posts by tag.
# By default, show all recent posts.
# Filtering example: `tags_include = ["hugo", "academic"]`
tags_include = []
tags_exclude = []
# Number of posts to list.
count = 5
+++

40
content/home/projects.md Normal file
View File

@ -0,0 +1,40 @@
+++
# Projects widget.
# This widget displays all projects from `content/project/`.
widget = "projects"
active = true
date = "2016-04-20T00:00:00"
title = "Projects"
subtitle = ""
# Order that this section will appear in.
weight = 50
# View.
# Customize how projects are displayed.
# Legend: 0 = list, 1 = cards.
view = 1
# Filter toolbar.
# Default filter index (e.g. 0 corresponds to the first `[[filter]]` instance below).
filter_default = 0
# Add or remove as many filters (`[[filter]]` instances) as you like.
# Use "*" tag to show all projects or an existing tag prefixed with "." to filter by specific tag.
# To remove toolbar, delete/comment all instances of `[[filter]]` below.
[[filter]]
name = "All"
tag = "*"
[[filter]]
name = "Deep Learning"
tag = ".deep-learning"
[[filter]]
name = "Other"
tag = ".demo"
+++

View File

@ -0,0 +1,38 @@
+++
# Recent Publications widget.
# This widget displays recent publications from `content/publication/`.
widget = "publications"
active = true
date = 2016-04-20
title = "Recent Publications"
subtitle = ""
# Order that this section will appear in.
weight = 20
# Number of publications to list.
count = 10
# List format.
# 0 = Simple
# 1 = Detailed
# 2 = APA
# 3 = MLA
list_format = 3
# Filter by publication type.
# -1: Any
# 0: Uncategorized
# 1: Conference proceedings
# 2: Journal
# 3: Work in progress
# 4: Technical report
# 5: Book
# 6: Book chapter
publication_type = "-1"
# Exclude publications that are shown in the Selected Publications widget?
exclude_selected = false
+++

View File

@ -0,0 +1,33 @@
+++
# Selected Publications widget.
# This widget displays publications from `content/publication/` which have
# `selected = true` in their `+++` front matter.
widget = "publications_selected"
active = true
date = 2016-04-20
title = "Selected Publications"
subtitle = ""
# Order that this section will appear in.
weight = 10
# List format.
# 0 = Simple
# 1 = Detailed
# 2 = APA
# 3 = MLA
list_format = 1
# Filter by publication type.
# -1: Any
# 0: Uncategorized
# 1: Conference proceedings
# 2: Journal
# 3: Work in progress
# 4: Technical report
# 5: Book
# 6: Book chapter
publication_type = "-1"
+++

13
content/home/tags.md Normal file
View File

@ -0,0 +1,13 @@
+++
# Tag Cloud widget.
widget = "tag_cloud"
active = true
date = 2017-09-20
title = "Tags"
subtitle = ""
# Order that this section will appear in.
weight = 65
+++

22
content/home/talks.md Normal file
View File

@ -0,0 +1,22 @@
+++
# Recent and Upcoming Talks widget.
widget = "talks"
active = true
date = "2016-04-20T00:00:00"
title = "Recent & Upcoming Talks"
subtitle = ""
# Order that this section will appear in.
weight = 30
# Number of talks to list.
count = 10
# List format.
# 0 = Simple
# 1 = Detailed
list_format = 0
+++

28
content/home/teaching.md Normal file
View File

@ -0,0 +1,28 @@
+++
# Custom widget.
# An example of using the custom widget to create your own homepage section.
# To create more sections, duplicate this file and edit the values below as desired.
widget = "custom"
active = true
date = "2016-04-20T00:00:00"
# Note: a full width section format can be enabled by commenting out the `title` and `subtitle` with a `#`.
title = "Teaching"
subtitle = ""
# Order that this section will appear in.
weight = 60
+++
This is an example of using the *custom* widget to create your own homepage section.
I am a teaching instructor for the following courses at University X:
- CS101: An intro to computer science
- CS102: An intro to computer science
- CS103: An intro to computer science
- CS104: An intro to computer science
- CS105: An intro to computer science
- CS106: An intro to computer science
- CS107: An intro to computer science

12
content/post/_index.md Normal file
View File

@ -0,0 +1,12 @@
+++
title = "Posts"
date = 2017-01-01
math = false
highlight = false
# Optional featured image (relative to `static/img/` folder).
[header]
image = ""
caption = ""
+++

View File

@ -0,0 +1,18 @@
+++
title = "Publications"
date = "2017-01-01T00:00:00Z"
math = false
highlight = false
# List format.
# 0 = Simple
# 1 = Detailed
# 2 = APA
# 3 = MLA
list_format = 3
# Optional featured image (relative to `static/img/` folder).
[header]
image = ""
caption = ""
+++

16
content/talk/_index.md Normal file
View File

@ -0,0 +1,16 @@
+++
title = "Recent & Upcoming Talks"
date = "2017-01-01T00:00:00Z"
math = false
highlight = false
# List format.
# 0 = Simple
# 1 = Detailed
list_format = 0
# Optional featured image (relative to `static/img/` folder).
[header]
image = ""
caption = ""
+++

BIN
static/img/portrait.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

1
themes/academic Submodule

@ -0,0 +1 @@
Subproject commit 9e14c8a74ed008a57511a7b3425aee693b5b478a

10
update_academic.sh Normal file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Display available updates to Academic.
cd themes/academic
git fetch
git log --pretty=oneline --abbrev-commit --decorate HEAD..origin/master
cd ../../
# Update Academic.
git submodule update --remote --merge